diff options
-rw-r--r-- | drivers/block/cciss.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 13d87a031c88..2cc4dda46279 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -66,11 +66,6 @@ MODULE_VERSION("3.6.26"); | |||
66 | MODULE_LICENSE("GPL"); | 66 | MODULE_LICENSE("GPL"); |
67 | 67 | ||
68 | static DEFINE_MUTEX(cciss_mutex); | 68 | static DEFINE_MUTEX(cciss_mutex); |
69 | static int cciss_allow_hpsa; | ||
70 | module_param(cciss_allow_hpsa, int, S_IRUGO|S_IWUSR); | ||
71 | MODULE_PARM_DESC(cciss_allow_hpsa, | ||
72 | "Prevent cciss driver from accessing hardware known to be " | ||
73 | " supported by the hpsa driver"); | ||
74 | 69 | ||
75 | #include "cciss_cmd.h" | 70 | #include "cciss_cmd.h" |
76 | #include "cciss.h" | 71 | #include "cciss.h" |
@@ -98,19 +93,6 @@ static const struct pci_device_id cciss_pci_device_id[] = { | |||
98 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSD, 0x103C, 0x3215}, | 93 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSD, 0x103C, 0x3215}, |
99 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3237}, | 94 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3237}, |
100 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x323D}, | 95 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x323D}, |
101 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3241}, | ||
102 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3243}, | ||
103 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3245}, | ||
104 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3247}, | ||
105 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x3249}, | ||
106 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x324A}, | ||
107 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSE, 0x103C, 0x324B}, | ||
108 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSF, 0x103C, 0x3350}, | ||
109 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSF, 0x103C, 0x3351}, | ||
110 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSF, 0x103C, 0x3352}, | ||
111 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSF, 0x103C, 0x3353}, | ||
112 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSF, 0x103C, 0x3354}, | ||
113 | {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSF, 0x103C, 0x3355}, | ||
114 | {0,} | 96 | {0,} |
115 | }; | 97 | }; |
116 | 98 | ||
@@ -138,24 +120,9 @@ static struct board_type products[] = { | |||
138 | {0x3214103C, "Smart Array E200i", &SA5_access}, | 120 | {0x3214103C, "Smart Array E200i", &SA5_access}, |
139 | {0x3215103C, "Smart Array E200i", &SA5_access}, | 121 | {0x3215103C, "Smart Array E200i", &SA5_access}, |
140 | {0x3237103C, "Smart Array E500", &SA5_access}, | 122 | {0x3237103C, "Smart Array E500", &SA5_access}, |
141 | /* controllers below this line are also supported by the hpsa driver. */ | ||
142 | #define HPSA_BOUNDARY 0x3223103C | ||
143 | {0x3223103C, "Smart Array P800", &SA5_access}, | 123 | {0x3223103C, "Smart Array P800", &SA5_access}, |
144 | {0x3234103C, "Smart Array P400", &SA5_access}, | 124 | {0x3234103C, "Smart Array P400", &SA5_access}, |
145 | {0x323D103C, "Smart Array P700m", &SA5_access}, | 125 | {0x323D103C, "Smart Array P700m", &SA5_access}, |
146 | {0x3241103C, "Smart Array P212", &SA5_access}, | ||
147 | {0x3243103C, "Smart Array P410", &SA5_access}, | ||
148 | {0x3245103C, "Smart Array P410i", &SA5_access}, | ||
149 | {0x3247103C, "Smart Array P411", &SA5_access}, | ||
150 | {0x3249103C, "Smart Array P812", &SA5_access}, | ||
151 | {0x324A103C, "Smart Array P712m", &SA5_access}, | ||
152 | {0x324B103C, "Smart Array P711m", &SA5_access}, | ||
153 | {0x3350103C, "Smart Array", &SA5_access}, | ||
154 | {0x3351103C, "Smart Array", &SA5_access}, | ||
155 | {0x3352103C, "Smart Array", &SA5_access}, | ||
156 | {0x3353103C, "Smart Array", &SA5_access}, | ||
157 | {0x3354103C, "Smart Array", &SA5_access}, | ||
158 | {0x3355103C, "Smart Array", &SA5_access}, | ||
159 | }; | 126 | }; |
160 | 127 | ||
161 | /* How long to wait (in milliseconds) for board to go into simple mode */ | 128 | /* How long to wait (in milliseconds) for board to go into simple mode */ |
@@ -3971,9 +3938,6 @@ static int __devinit cciss_lookup_board_id(struct pci_dev *pdev, u32 *board_id) | |||
3971 | subsystem_vendor_id; | 3938 | subsystem_vendor_id; |
3972 | 3939 | ||
3973 | for (i = 0; i < ARRAY_SIZE(products); i++) { | 3940 | for (i = 0; i < ARRAY_SIZE(products); i++) { |
3974 | /* Stand aside for hpsa driver on request */ | ||
3975 | if (cciss_allow_hpsa && products[i].board_id == HPSA_BOUNDARY) | ||
3976 | return -ENODEV; | ||
3977 | if (*board_id == products[i].board_id) | 3941 | if (*board_id == products[i].board_id) |
3978 | return i; | 3942 | return i; |
3979 | } | 3943 | } |