diff options
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/3c574_cs.c | 6 | ||||
-rw-r--r-- | drivers/net/pcmcia/3c589_cs.c | 6 | ||||
-rw-r--r-- | drivers/net/pcmcia/axnet_cs.c | 6 | ||||
-rw-r--r-- | drivers/net/pcmcia/com20020_cs.c | 6 | ||||
-rw-r--r-- | drivers/net/pcmcia/fmvj18x_cs.c | 6 | ||||
-rw-r--r-- | drivers/net/pcmcia/ibmtr_cs.c | 6 | ||||
-rw-r--r-- | drivers/net/pcmcia/nmclan_cs.c | 6 | ||||
-rw-r--r-- | drivers/net/pcmcia/pcnet_cs.c | 6 | ||||
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 5 | ||||
-rw-r--r-- | drivers/net/pcmcia/xirc2ps_cs.c | 6 |
10 files changed, 10 insertions, 49 deletions
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c index f0fc04bd37c4..c942964a49d2 100644 --- a/drivers/net/pcmcia/3c574_cs.c +++ b/drivers/net/pcmcia/3c574_cs.c | |||
@@ -312,11 +312,6 @@ static dev_link_t *tc574_attach(void) | |||
312 | link->next = dev_list; | 312 | link->next = dev_list; |
313 | dev_list = link; | 313 | dev_list = link; |
314 | client_reg.dev_info = &dev_info; | 314 | client_reg.dev_info = &dev_info; |
315 | client_reg.EventMask = | ||
316 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
317 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
318 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
319 | client_reg.event_handler = &tc574_event; | ||
320 | client_reg.Version = 0x0210; | 315 | client_reg.Version = 0x0210; |
321 | client_reg.event_callback_args.client_data = link; | 316 | client_reg.event_callback_args.client_data = link; |
322 | ret = pcmcia_register_client(&link->handle, &client_reg); | 317 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -1299,6 +1294,7 @@ static struct pcmcia_driver tc574_driver = { | |||
1299 | .name = "3c574_cs", | 1294 | .name = "3c574_cs", |
1300 | }, | 1295 | }, |
1301 | .attach = tc574_attach, | 1296 | .attach = tc574_attach, |
1297 | .event = tc574_event, | ||
1302 | .detach = tc574_detach, | 1298 | .detach = tc574_detach, |
1303 | .id_table = tc574_ids, | 1299 | .id_table = tc574_ids, |
1304 | }; | 1300 | }; |
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c index 8fa1b5f0fb68..810864c6d1ea 100644 --- a/drivers/net/pcmcia/3c589_cs.c +++ b/drivers/net/pcmcia/3c589_cs.c | |||
@@ -226,11 +226,6 @@ static dev_link_t *tc589_attach(void) | |||
226 | link->next = dev_list; | 226 | link->next = dev_list; |
227 | dev_list = link; | 227 | dev_list = link; |
228 | client_reg.dev_info = &dev_info; | 228 | client_reg.dev_info = &dev_info; |
229 | client_reg.EventMask = | ||
230 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
231 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
232 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
233 | client_reg.event_handler = &tc589_event; | ||
234 | client_reg.Version = 0x0210; | 229 | client_reg.Version = 0x0210; |
235 | client_reg.event_callback_args.client_data = link; | 230 | client_reg.event_callback_args.client_data = link; |
236 | ret = pcmcia_register_client(&link->handle, &client_reg); | 231 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -1074,6 +1069,7 @@ static struct pcmcia_driver tc589_driver = { | |||
1074 | .name = "3c589_cs", | 1069 | .name = "3c589_cs", |
1075 | }, | 1070 | }, |
1076 | .attach = tc589_attach, | 1071 | .attach = tc589_attach, |
1072 | .event = tc589_event, | ||
1077 | .detach = tc589_detach, | 1073 | .detach = tc589_detach, |
1078 | .id_table = tc589_ids, | 1074 | .id_table = tc589_ids, |
1079 | }; | 1075 | }; |
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c index 23ce77b1d5b0..3d01079598c8 100644 --- a/drivers/net/pcmcia/axnet_cs.c +++ b/drivers/net/pcmcia/axnet_cs.c | |||
@@ -181,11 +181,6 @@ static dev_link_t *axnet_attach(void) | |||
181 | link->next = dev_list; | 181 | link->next = dev_list; |
182 | dev_list = link; | 182 | dev_list = link; |
183 | client_reg.dev_info = &dev_info; | 183 | client_reg.dev_info = &dev_info; |
184 | client_reg.EventMask = | ||
185 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
186 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
187 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
188 | client_reg.event_handler = &axnet_event; | ||
189 | client_reg.Version = 0x0210; | 184 | client_reg.Version = 0x0210; |
190 | client_reg.event_callback_args.client_data = link; | 185 | client_reg.event_callback_args.client_data = link; |
191 | ret = pcmcia_register_client(&link->handle, &client_reg); | 186 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -884,6 +879,7 @@ static struct pcmcia_driver axnet_cs_driver = { | |||
884 | .name = "axnet_cs", | 879 | .name = "axnet_cs", |
885 | }, | 880 | }, |
886 | .attach = axnet_attach, | 881 | .attach = axnet_attach, |
882 | .event = axnet_event, | ||
887 | .detach = axnet_detach, | 883 | .detach = axnet_detach, |
888 | .id_table = axnet_ids, | 884 | .id_table = axnet_ids, |
889 | }; | 885 | }; |
diff --git a/drivers/net/pcmcia/com20020_cs.c b/drivers/net/pcmcia/com20020_cs.c index 68d58cc58d31..b5119607d5af 100644 --- a/drivers/net/pcmcia/com20020_cs.c +++ b/drivers/net/pcmcia/com20020_cs.c | |||
@@ -200,11 +200,6 @@ static dev_link_t *com20020_attach(void) | |||
200 | link->next = dev_list; | 200 | link->next = dev_list; |
201 | dev_list = link; | 201 | dev_list = link; |
202 | client_reg.dev_info = &dev_info; | 202 | client_reg.dev_info = &dev_info; |
203 | client_reg.EventMask = | ||
204 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
205 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
206 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
207 | client_reg.event_handler = &com20020_event; | ||
208 | client_reg.Version = 0x0210; | 203 | client_reg.Version = 0x0210; |
209 | client_reg.event_callback_args.client_data = link; | 204 | client_reg.event_callback_args.client_data = link; |
210 | ret = pcmcia_register_client(&link->handle, &client_reg); | 205 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -495,6 +490,7 @@ static struct pcmcia_driver com20020_cs_driver = { | |||
495 | .name = "com20020_cs", | 490 | .name = "com20020_cs", |
496 | }, | 491 | }, |
497 | .attach = com20020_attach, | 492 | .attach = com20020_attach, |
493 | .event = com20020_event, | ||
498 | .detach = com20020_detach, | 494 | .detach = com20020_detach, |
499 | .id_table = com20020_ids, | 495 | .id_table = com20020_ids, |
500 | }; | 496 | }; |
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c index 917adbbf0b5b..c7d9bb1da417 100644 --- a/drivers/net/pcmcia/fmvj18x_cs.c +++ b/drivers/net/pcmcia/fmvj18x_cs.c | |||
@@ -288,11 +288,6 @@ static dev_link_t *fmvj18x_attach(void) | |||
288 | link->next = dev_list; | 288 | link->next = dev_list; |
289 | dev_list = link; | 289 | dev_list = link; |
290 | client_reg.dev_info = &dev_info; | 290 | client_reg.dev_info = &dev_info; |
291 | client_reg.EventMask = | ||
292 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
293 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
294 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
295 | client_reg.event_handler = &fmvj18x_event; | ||
296 | client_reg.Version = 0x0210; | 291 | client_reg.Version = 0x0210; |
297 | client_reg.event_callback_args.client_data = link; | 292 | client_reg.event_callback_args.client_data = link; |
298 | ret = pcmcia_register_client(&link->handle, &client_reg); | 293 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -797,6 +792,7 @@ static struct pcmcia_driver fmvj18x_cs_driver = { | |||
797 | .name = "fmvj18x_cs", | 792 | .name = "fmvj18x_cs", |
798 | }, | 793 | }, |
799 | .attach = fmvj18x_attach, | 794 | .attach = fmvj18x_attach, |
795 | .event = fmvj18x_event, | ||
800 | .detach = fmvj18x_detach, | 796 | .detach = fmvj18x_detach, |
801 | .id_table = fmvj18x_ids, | 797 | .id_table = fmvj18x_ids, |
802 | }; | 798 | }; |
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c index cf6d073ea558..39cec4a1e4b3 100644 --- a/drivers/net/pcmcia/ibmtr_cs.c +++ b/drivers/net/pcmcia/ibmtr_cs.c | |||
@@ -190,11 +190,6 @@ static dev_link_t *ibmtr_attach(void) | |||
190 | link->next = dev_list; | 190 | link->next = dev_list; |
191 | dev_list = link; | 191 | dev_list = link; |
192 | client_reg.dev_info = &dev_info; | 192 | client_reg.dev_info = &dev_info; |
193 | client_reg.EventMask = | ||
194 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
195 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
196 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
197 | client_reg.event_handler = &ibmtr_event; | ||
198 | client_reg.Version = 0x0210; | 193 | client_reg.Version = 0x0210; |
199 | client_reg.event_callback_args.client_data = link; | 194 | client_reg.event_callback_args.client_data = link; |
200 | ret = pcmcia_register_client(&link->handle, &client_reg); | 195 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -521,6 +516,7 @@ static struct pcmcia_driver ibmtr_cs_driver = { | |||
521 | .name = "ibmtr_cs", | 516 | .name = "ibmtr_cs", |
522 | }, | 517 | }, |
523 | .attach = ibmtr_attach, | 518 | .attach = ibmtr_attach, |
519 | .event = ibmtr_event, | ||
524 | .detach = ibmtr_detach, | 520 | .detach = ibmtr_detach, |
525 | .id_table = ibmtr_ids, | 521 | .id_table = ibmtr_ids, |
526 | }; | 522 | }; |
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c index b86e7253fbfc..49124dc26b35 100644 --- a/drivers/net/pcmcia/nmclan_cs.c +++ b/drivers/net/pcmcia/nmclan_cs.c | |||
@@ -502,11 +502,6 @@ static dev_link_t *nmclan_attach(void) | |||
502 | link->next = dev_list; | 502 | link->next = dev_list; |
503 | dev_list = link; | 503 | dev_list = link; |
504 | client_reg.dev_info = &dev_info; | 504 | client_reg.dev_info = &dev_info; |
505 | client_reg.EventMask = | ||
506 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
507 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
508 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
509 | client_reg.event_handler = &nmclan_event; | ||
510 | client_reg.Version = 0x0210; | 505 | client_reg.Version = 0x0210; |
511 | client_reg.event_callback_args.client_data = link; | 506 | client_reg.event_callback_args.client_data = link; |
512 | ret = pcmcia_register_client(&link->handle, &client_reg); | 507 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -1688,6 +1683,7 @@ static struct pcmcia_driver nmclan_cs_driver = { | |||
1688 | .name = "nmclan_cs", | 1683 | .name = "nmclan_cs", |
1689 | }, | 1684 | }, |
1690 | .attach = nmclan_attach, | 1685 | .attach = nmclan_attach, |
1686 | .event = nmclan_event, | ||
1691 | .detach = nmclan_detach, | 1687 | .detach = nmclan_detach, |
1692 | .id_table = nmclan_ids, | 1688 | .id_table = nmclan_ids, |
1693 | }; | 1689 | }; |
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index 855a45d062b1..b22b354af5c0 100644 --- a/drivers/net/pcmcia/pcnet_cs.c +++ b/drivers/net/pcmcia/pcnet_cs.c | |||
@@ -276,11 +276,6 @@ static dev_link_t *pcnet_attach(void) | |||
276 | link->next = dev_list; | 276 | link->next = dev_list; |
277 | dev_list = link; | 277 | dev_list = link; |
278 | client_reg.dev_info = &dev_info; | 278 | client_reg.dev_info = &dev_info; |
279 | client_reg.EventMask = | ||
280 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
281 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
282 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
283 | client_reg.event_handler = &pcnet_event; | ||
284 | client_reg.Version = 0x0210; | 279 | client_reg.Version = 0x0210; |
285 | client_reg.event_callback_args.client_data = link; | 280 | client_reg.event_callback_args.client_data = link; |
286 | ret = pcmcia_register_client(&link->handle, &client_reg); | 281 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -1844,6 +1839,7 @@ static struct pcmcia_driver pcnet_driver = { | |||
1844 | .name = "pcnet_cs", | 1839 | .name = "pcnet_cs", |
1845 | }, | 1840 | }, |
1846 | .attach = pcnet_attach, | 1841 | .attach = pcnet_attach, |
1842 | .event = pcnet_event, | ||
1847 | .detach = pcnet_detach, | 1843 | .detach = pcnet_detach, |
1848 | .owner = THIS_MODULE, | 1844 | .owner = THIS_MODULE, |
1849 | .id_table = pcnet_ids, | 1845 | .id_table = pcnet_ids, |
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index bc01c88c6709..6b5471dfb554 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -370,10 +370,6 @@ static dev_link_t *smc91c92_attach(void) | |||
370 | link->next = dev_list; | 370 | link->next = dev_list; |
371 | dev_list = link; | 371 | dev_list = link; |
372 | client_reg.dev_info = &dev_info; | 372 | client_reg.dev_info = &dev_info; |
373 | client_reg.EventMask = CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
374 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
375 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
376 | client_reg.event_handler = &smc91c92_event; | ||
377 | client_reg.Version = 0x0210; | 373 | client_reg.Version = 0x0210; |
378 | client_reg.event_callback_args.client_data = link; | 374 | client_reg.event_callback_args.client_data = link; |
379 | ret = pcmcia_register_client(&link->handle, &client_reg); | 375 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -2365,6 +2361,7 @@ static struct pcmcia_driver smc91c92_cs_driver = { | |||
2365 | .name = "smc91c92_cs", | 2361 | .name = "smc91c92_cs", |
2366 | }, | 2362 | }, |
2367 | .attach = smc91c92_attach, | 2363 | .attach = smc91c92_attach, |
2364 | .event = smc91c92_event, | ||
2368 | .detach = smc91c92_detach, | 2365 | .detach = smc91c92_detach, |
2369 | .id_table = smc91c92_ids, | 2366 | .id_table = smc91c92_ids, |
2370 | }; | 2367 | }; |
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c index 0cd225e1595c..03d4c0c6b3fd 100644 --- a/drivers/net/pcmcia/xirc2ps_cs.c +++ b/drivers/net/pcmcia/xirc2ps_cs.c | |||
@@ -619,11 +619,6 @@ xirc2ps_attach(void) | |||
619 | link->next = dev_list; | 619 | link->next = dev_list; |
620 | dev_list = link; | 620 | dev_list = link; |
621 | client_reg.dev_info = &dev_info; | 621 | client_reg.dev_info = &dev_info; |
622 | client_reg.EventMask = | ||
623 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
624 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
625 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
626 | client_reg.event_handler = &xirc2ps_event; | ||
627 | client_reg.Version = 0x0210; | 622 | client_reg.Version = 0x0210; |
628 | client_reg.event_callback_args.client_data = link; | 623 | client_reg.event_callback_args.client_data = link; |
629 | if ((err = pcmcia_register_client(&link->handle, &client_reg))) { | 624 | if ((err = pcmcia_register_client(&link->handle, &client_reg))) { |
@@ -2016,6 +2011,7 @@ static struct pcmcia_driver xirc2ps_cs_driver = { | |||
2016 | .name = "xirc2ps_cs", | 2011 | .name = "xirc2ps_cs", |
2017 | }, | 2012 | }, |
2018 | .attach = xirc2ps_attach, | 2013 | .attach = xirc2ps_attach, |
2014 | .event = xirc2ps_event, | ||
2019 | .detach = xirc2ps_detach, | 2015 | .detach = xirc2ps_detach, |
2020 | .id_table = xirc2ps_ids, | 2016 | .id_table = xirc2ps_ids, |
2021 | }; | 2017 | }; |