diff options
Diffstat (limited to 'drivers/net/pcmcia/axnet_cs.c')
-rw-r--r-- | drivers/net/pcmcia/axnet_cs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c index 23ce77b1d5b0..8bb4e85689ea 100644 --- a/drivers/net/pcmcia/axnet_cs.c +++ b/drivers/net/pcmcia/axnet_cs.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include <linux/netdevice.h> | 37 | #include <linux/netdevice.h> |
38 | #include "../8390.h" | 38 | #include "../8390.h" |
39 | 39 | ||
40 | #include <pcmcia/version.h> | ||
41 | #include <pcmcia/cs_types.h> | 40 | #include <pcmcia/cs_types.h> |
42 | #include <pcmcia/cs.h> | 41 | #include <pcmcia/cs.h> |
43 | #include <pcmcia/cistpl.h> | 42 | #include <pcmcia/cistpl.h> |
@@ -181,11 +180,6 @@ static dev_link_t *axnet_attach(void) | |||
181 | link->next = dev_list; | 180 | link->next = dev_list; |
182 | dev_list = link; | 181 | dev_list = link; |
183 | client_reg.dev_info = &dev_info; | 182 | 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; | 183 | client_reg.Version = 0x0210; |
190 | client_reg.event_callback_args.client_data = link; | 184 | client_reg.event_callback_args.client_data = link; |
191 | ret = pcmcia_register_client(&link->handle, &client_reg); | 185 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -884,6 +878,7 @@ static struct pcmcia_driver axnet_cs_driver = { | |||
884 | .name = "axnet_cs", | 878 | .name = "axnet_cs", |
885 | }, | 879 | }, |
886 | .attach = axnet_attach, | 880 | .attach = axnet_attach, |
881 | .event = axnet_event, | ||
887 | .detach = axnet_detach, | 882 | .detach = axnet_detach, |
888 | .id_table = axnet_ids, | 883 | .id_table = axnet_ids, |
889 | }; | 884 | }; |