diff options
Diffstat (limited to 'drivers/net/wireless/netwave_cs.c')
-rw-r--r-- | drivers/net/wireless/netwave_cs.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/net/wireless/netwave_cs.c b/drivers/net/wireless/netwave_cs.c index 382241e7edbb..5f507c49907b 100644 --- a/drivers/net/wireless/netwave_cs.c +++ b/drivers/net/wireless/netwave_cs.c | |||
@@ -62,7 +62,6 @@ | |||
62 | #endif /* WIRELESS_EXT > 12 */ | 62 | #endif /* WIRELESS_EXT > 12 */ |
63 | #endif | 63 | #endif |
64 | 64 | ||
65 | #include <pcmcia/version.h> | ||
66 | #include <pcmcia/cs_types.h> | 65 | #include <pcmcia/cs_types.h> |
67 | #include <pcmcia/cs.h> | 66 | #include <pcmcia/cs.h> |
68 | #include <pcmcia/cistpl.h> | 67 | #include <pcmcia/cistpl.h> |
@@ -491,11 +490,6 @@ static dev_link_t *netwave_attach(void) | |||
491 | link->next = dev_list; | 490 | link->next = dev_list; |
492 | dev_list = link; | 491 | dev_list = link; |
493 | client_reg.dev_info = &dev_info; | 492 | client_reg.dev_info = &dev_info; |
494 | client_reg.EventMask = | ||
495 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
496 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
497 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
498 | client_reg.event_handler = &netwave_event; | ||
499 | client_reg.Version = 0x0210; | 493 | client_reg.Version = 0x0210; |
500 | client_reg.event_callback_args.client_data = link; | 494 | client_reg.event_callback_args.client_data = link; |
501 | ret = pcmcia_register_client(&link->handle, &client_reg); | 495 | ret = pcmcia_register_client(&link->handle, &client_reg); |
@@ -1668,13 +1662,21 @@ static int netwave_close(struct net_device *dev) { | |||
1668 | return 0; | 1662 | return 0; |
1669 | } | 1663 | } |
1670 | 1664 | ||
1665 | static struct pcmcia_device_id netwave_ids[] = { | ||
1666 | PCMCIA_DEVICE_PROD_ID12("Xircom", "CreditCard Netwave", 0x2e3ee845, 0x54e28a28), | ||
1667 | PCMCIA_DEVICE_NULL, | ||
1668 | }; | ||
1669 | MODULE_DEVICE_TABLE(pcmcia, netwave_ids); | ||
1670 | |||
1671 | static struct pcmcia_driver netwave_driver = { | 1671 | static struct pcmcia_driver netwave_driver = { |
1672 | .owner = THIS_MODULE, | 1672 | .owner = THIS_MODULE, |
1673 | .drv = { | 1673 | .drv = { |
1674 | .name = "netwave_cs", | 1674 | .name = "netwave_cs", |
1675 | }, | 1675 | }, |
1676 | .attach = netwave_attach, | 1676 | .attach = netwave_attach, |
1677 | .event = netwave_event, | ||
1677 | .detach = netwave_detach, | 1678 | .detach = netwave_detach, |
1679 | .id_table = netwave_ids, | ||
1678 | }; | 1680 | }; |
1679 | 1681 | ||
1680 | static int __init init_netwave_cs(void) | 1682 | static int __init init_netwave_cs(void) |