diff options
Diffstat (limited to 'drivers/scsi/mpt3sas/mpt3sas_ctl.h')
-rw-r--r-- | drivers/scsi/mpt3sas/mpt3sas_ctl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h b/drivers/scsi/mpt3sas/mpt3sas_ctl.h index aee99ce67e54..89408356d252 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.h +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.h | |||
@@ -50,10 +50,13 @@ | |||
50 | #include <linux/miscdevice.h> | 50 | #include <linux/miscdevice.h> |
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | 53 | #ifndef MPT2SAS_MINOR | |
54 | #define MPT2SAS_MINOR (MPT_MINOR + 1) | ||
55 | #endif | ||
54 | #ifndef MPT3SAS_MINOR | 56 | #ifndef MPT3SAS_MINOR |
55 | #define MPT3SAS_MINOR (MPT_MINOR + 2) | 57 | #define MPT3SAS_MINOR (MPT_MINOR + 2) |
56 | #endif | 58 | #endif |
59 | #define MPT2SAS_DEV_NAME "mpt2ctl" | ||
57 | #define MPT3SAS_DEV_NAME "mpt3ctl" | 60 | #define MPT3SAS_DEV_NAME "mpt3ctl" |
58 | #define MPT3_MAGIC_NUMBER 'L' | 61 | #define MPT3_MAGIC_NUMBER 'L' |
59 | #define MPT3_IOCTL_DEFAULT_TIMEOUT (10) /* in seconds */ | 62 | #define MPT3_IOCTL_DEFAULT_TIMEOUT (10) /* in seconds */ |
@@ -138,6 +141,7 @@ struct mpt3_ioctl_pci_info { | |||
138 | #define MPT2_IOCTL_INTERFACE_FC_IP (0x02) | 141 | #define MPT2_IOCTL_INTERFACE_FC_IP (0x02) |
139 | #define MPT2_IOCTL_INTERFACE_SAS (0x03) | 142 | #define MPT2_IOCTL_INTERFACE_SAS (0x03) |
140 | #define MPT2_IOCTL_INTERFACE_SAS2 (0x04) | 143 | #define MPT2_IOCTL_INTERFACE_SAS2 (0x04) |
144 | #define MPT2_IOCTL_INTERFACE_SAS2_SSS6200 (0x05) | ||
141 | #define MPT3_IOCTL_INTERFACE_SAS3 (0x06) | 145 | #define MPT3_IOCTL_INTERFACE_SAS3 (0x06) |
142 | #define MPT2_IOCTL_VERSION_LENGTH (32) | 146 | #define MPT2_IOCTL_VERSION_LENGTH (32) |
143 | 147 | ||