diff options
Diffstat (limited to 'drivers/net/pcmcia/3c589_cs.c')
-rw-r--r-- | drivers/net/pcmcia/3c589_cs.c | 6 |
1 files changed, 1 insertions, 5 deletions
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 | }; |