diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/pcmcia/aha152x_stub.c | 6 | ||||
-rw-r--r-- | drivers/scsi/pcmcia/fdomain_stub.c | 6 | ||||
-rw-r--r-- | drivers/scsi/pcmcia/nsp_cs.c | 16 | ||||
-rw-r--r-- | drivers/scsi/pcmcia/qlogic_stub.c | 3 | ||||
-rw-r--r-- | drivers/scsi/pcmcia/sym53c500_cs.c | 5 |
5 files changed, 10 insertions, 26 deletions
diff --git a/drivers/scsi/pcmcia/aha152x_stub.c b/drivers/scsi/pcmcia/aha152x_stub.c index f1f6bf596dc9..3dc6957bad10 100644 --- a/drivers/scsi/pcmcia/aha152x_stub.c +++ b/drivers/scsi/pcmcia/aha152x_stub.c | |||
@@ -134,11 +134,6 @@ static dev_link_t *aha152x_attach(void) | |||
134 | link->next = dev_list; | 134 | link->next = dev_list; |
135 | dev_list = link; | 135 | dev_list = link; |
136 | client_reg.dev_info = &dev_info; | 136 | client_reg.dev_info = &dev_info; |
137 | client_reg.event_handler = &aha152x_event; | ||
138 | client_reg.EventMask = | ||
139 | CS_EVENT_RESET_REQUEST | CS_EVENT_CARD_RESET | | ||
140 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
141 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
142 | client_reg.Version = 0x0210; | 137 | client_reg.Version = 0x0210; |
143 | client_reg.event_callback_args.client_data = link; | 138 | client_reg.event_callback_args.client_data = link; |
144 | ret = pcmcia_register_client(&link->handle, &client_reg); | 139 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -334,6 +329,7 @@ static struct pcmcia_driver aha152x_cs_driver = { | |||
334 | .name = "aha152x_cs", | 329 | .name = "aha152x_cs", |
335 | }, | 330 | }, |
336 | .attach = aha152x_attach, | 331 | .attach = aha152x_attach, |
332 | .event = aha152x_event, | ||
337 | .detach = aha152x_detach, | 333 | .detach = aha152x_detach, |
338 | .id_table = aha152x_ids, | 334 | .id_table = aha152x_ids, |
339 | }; | 335 | }; |
diff --git a/drivers/scsi/pcmcia/fdomain_stub.c b/drivers/scsi/pcmcia/fdomain_stub.c index 853e6ee9b71a..d2281eba790d 100644 --- a/drivers/scsi/pcmcia/fdomain_stub.c +++ b/drivers/scsi/pcmcia/fdomain_stub.c | |||
@@ -120,11 +120,6 @@ static dev_link_t *fdomain_attach(void) | |||
120 | link->next = dev_list; | 120 | link->next = dev_list; |
121 | dev_list = link; | 121 | dev_list = link; |
122 | client_reg.dev_info = &dev_info; | 122 | client_reg.dev_info = &dev_info; |
123 | client_reg.event_handler = &fdomain_event; | ||
124 | client_reg.EventMask = | ||
125 | CS_EVENT_RESET_REQUEST | CS_EVENT_CARD_RESET | | ||
126 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
127 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
128 | client_reg.Version = 0x0210; | 123 | client_reg.Version = 0x0210; |
129 | client_reg.event_callback_args.client_data = link; | 124 | client_reg.event_callback_args.client_data = link; |
130 | ret = pcmcia_register_client(&link->handle, &client_reg); | 125 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -314,6 +309,7 @@ static struct pcmcia_driver fdomain_cs_driver = { | |||
314 | .name = "fdomain_cs", | 309 | .name = "fdomain_cs", |
315 | }, | 310 | }, |
316 | .attach = fdomain_attach, | 311 | .attach = fdomain_attach, |
312 | .event = fdomain_event, | ||
317 | .detach = fdomain_detach, | 313 | .detach = fdomain_detach, |
318 | .id_table = fdomain_ids, | 314 | .id_table = fdomain_ids, |
319 | }; | 315 | }; |
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c index 91b3f28e7a19..c8755adfd917 100644 --- a/drivers/scsi/pcmcia/nsp_cs.c +++ b/drivers/scsi/pcmcia/nsp_cs.c | |||
@@ -1642,11 +1642,6 @@ static dev_link_t *nsp_cs_attach(void) | |||
1642 | link->next = dev_list; | 1642 | link->next = dev_list; |
1643 | dev_list = link; | 1643 | dev_list = link; |
1644 | client_reg.dev_info = &dev_info; | 1644 | client_reg.dev_info = &dev_info; |
1645 | client_reg.EventMask = | ||
1646 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
1647 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
1648 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME ; | ||
1649 | client_reg.event_handler = &nsp_cs_event; | ||
1650 | client_reg.Version = 0x0210; | 1645 | client_reg.Version = 0x0210; |
1651 | client_reg.event_callback_args.client_data = link; | 1646 | client_reg.event_callback_args.client_data = link; |
1652 | ret = pcmcia_register_client(&link->handle, &client_reg); | 1647 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -2138,12 +2133,13 @@ static struct pcmcia_device_id nsp_cs_ids[] = { | |||
2138 | MODULE_DEVICE_TABLE(pcmcia, nsp_cs_ids); | 2133 | MODULE_DEVICE_TABLE(pcmcia, nsp_cs_ids); |
2139 | 2134 | ||
2140 | static struct pcmcia_driver nsp_driver = { | 2135 | static struct pcmcia_driver nsp_driver = { |
2141 | .owner = THIS_MODULE, | 2136 | .owner = THIS_MODULE, |
2142 | .drv = { | 2137 | .drv = { |
2143 | .name = "nsp_cs", | 2138 | .name = "nsp_cs", |
2144 | }, | 2139 | }, |
2145 | .attach = nsp_cs_attach, | 2140 | .attach = nsp_cs_attach, |
2146 | .detach = nsp_cs_detach, | 2141 | .event = nsp_cs_event, |
2142 | .detach = nsp_cs_detach, | ||
2147 | .id_table = nsp_cs_ids, | 2143 | .id_table = nsp_cs_ids, |
2148 | }; | 2144 | }; |
2149 | #endif | 2145 | #endif |
diff --git a/drivers/scsi/pcmcia/qlogic_stub.c b/drivers/scsi/pcmcia/qlogic_stub.c index 0dcf41102abf..e6e496180d11 100644 --- a/drivers/scsi/pcmcia/qlogic_stub.c +++ b/drivers/scsi/pcmcia/qlogic_stub.c | |||
@@ -194,8 +194,6 @@ static dev_link_t *qlogic_attach(void) | |||
194 | link->next = dev_list; | 194 | link->next = dev_list; |
195 | dev_list = link; | 195 | dev_list = link; |
196 | client_reg.dev_info = &dev_info; | 196 | client_reg.dev_info = &dev_info; |
197 | client_reg.event_handler = &qlogic_event; | ||
198 | client_reg.EventMask = CS_EVENT_RESET_REQUEST | CS_EVENT_CARD_RESET | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
199 | client_reg.Version = 0x0210; | 197 | client_reg.Version = 0x0210; |
200 | client_reg.event_callback_args.client_data = link; | 198 | client_reg.event_callback_args.client_data = link; |
201 | ret = pcmcia_register_client(&link->handle, &client_reg); | 199 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -423,6 +421,7 @@ static struct pcmcia_driver qlogic_cs_driver = { | |||
423 | .name = "qlogic_cs", | 421 | .name = "qlogic_cs", |
424 | }, | 422 | }, |
425 | .attach = qlogic_attach, | 423 | .attach = qlogic_attach, |
424 | .event = qlogic_event, | ||
426 | .detach = qlogic_detach, | 425 | .detach = qlogic_detach, |
427 | .id_table = qlogic_ids, | 426 | .id_table = qlogic_ids, |
428 | }; | 427 | }; |
diff --git a/drivers/scsi/pcmcia/sym53c500_cs.c b/drivers/scsi/pcmcia/sym53c500_cs.c index 7d4b16b6797d..b4b3a1a8a0c7 100644 --- a/drivers/scsi/pcmcia/sym53c500_cs.c +++ b/drivers/scsi/pcmcia/sym53c500_cs.c | |||
@@ -979,10 +979,6 @@ SYM53C500_attach(void) | |||
979 | link->next = dev_list; | 979 | link->next = dev_list; |
980 | dev_list = link; | 980 | dev_list = link; |
981 | client_reg.dev_info = &dev_info; | 981 | client_reg.dev_info = &dev_info; |
982 | client_reg.event_handler = &SYM53C500_event; | ||
983 | client_reg.EventMask = CS_EVENT_RESET_REQUEST | CS_EVENT_CARD_RESET | | ||
984 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
985 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
986 | client_reg.Version = 0x0210; | 982 | client_reg.Version = 0x0210; |
987 | client_reg.event_callback_args.client_data = link; | 983 | client_reg.event_callback_args.client_data = link; |
988 | ret = pcmcia_register_client(&link->handle, &client_reg); | 984 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -1013,6 +1009,7 @@ static struct pcmcia_driver sym53c500_cs_driver = { | |||
1013 | .name = "sym53c500_cs", | 1009 | .name = "sym53c500_cs", |
1014 | }, | 1010 | }, |
1015 | .attach = SYM53C500_attach, | 1011 | .attach = SYM53C500_attach, |
1012 | .event = SYM53C500_event, | ||
1016 | .detach = SYM53C500_detach, | 1013 | .detach = SYM53C500_detach, |
1017 | .id_table = sym53c500_ids, | 1014 | .id_table = sym53c500_ids, |
1018 | }; | 1015 | }; |