48 #ifndef SCSIHOST_H_INCLUDED
49 #define SCSIHOST_H_INCLUDED
56 #define MPT_SCANDV_GOOD (0x00000000)
57 #define MPT_SCANDV_DID_RESET (0x00000001)
58 #define MPT_SCANDV_SENSE (0x00000002)
59 #define MPT_SCANDV_SOME_ERROR (0x00000004)
60 #define MPT_SCANDV_SELECTION_TIMEOUT (0x00000008)
61 #define MPT_SCANDV_ISSUE_SENSE (0x00000010)
62 #define MPT_SCANDV_FALLBACK (0x00000020)
63 #define MPT_SCANDV_BUSY (0x00000040)
65 #define MPT_SCANDV_MAX_RETRIES (10)
67 #define MPT_ICFLAG_BUF_CAP 0x01
68 #define MPT_ICFLAG_ECHO 0x02
69 #define MPT_ICFLAG_EBOS 0x04
70 #define MPT_ICFLAG_PHYS_DISK 0x08
71 #define MPT_ICFLAG_TAGGED_CMD 0x10
72 #define MPT_ICFLAG_DID_RESET 0x20
73 #define MPT_ICFLAG_RESERVED 0x40
75 #define MPT_SCSI_CMD_PER_DEV_HIGH 64
76 #define MPT_SCSI_CMD_PER_DEV_LOW 32
78 #define MPT_SCSI_CMD_PER_LUN 7
80 #define MPT_SCSI_MAX_SECTORS 8192
85 #define MPTSCSIH_DOMAIN_VALIDATION 1
86 #define MPTSCSIH_MAX_WIDTH 1
87 #define MPTSCSIH_MIN_SYNC 0x08
88 #define MPTSCSIH_SAF_TE 0
89 #define MPTSCSIH_PT_CLEAR 0
112 extern int mptscsih_resume(
struct pci_dev *pdev);
118 u8 id,
int lun,
int ctx2abort,
ulong timeout);