diff options
Diffstat (limited to 'drivers/net/pcmcia/pcnet_cs.c')
-rw-r--r-- | drivers/net/pcmcia/pcnet_cs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index 855a45d062b..b22b354af5c 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, |