diff options
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 6e5bda56b8f8..0e0ba614259a 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include <linux/skbuff.h> | 46 | #include <linux/skbuff.h> |
47 | #include <linux/ethtool.h> | 47 | #include <linux/ethtool.h> |
48 | 48 | ||
49 | #include <pcmcia/version.h> | ||
50 | #include <pcmcia/cs_types.h> | 49 | #include <pcmcia/cs_types.h> |
51 | #include <pcmcia/cs.h> | 50 | #include <pcmcia/cs.h> |
52 | #include <pcmcia/cistpl.h> | 51 | #include <pcmcia/cistpl.h> |
@@ -393,11 +392,6 @@ static dev_link_t *ray_attach(void) | |||
393 | link->next = dev_list; | 392 | link->next = dev_list; |
394 | dev_list = link; | 393 | dev_list = link; |
395 | client_reg.dev_info = &dev_info; | 394 | client_reg.dev_info = &dev_info; |
396 | client_reg.EventMask = | ||
397 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
398 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
399 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
400 | client_reg.event_handler = &ray_event; | ||
401 | client_reg.Version = 0x0210; | 395 | client_reg.Version = 0x0210; |
402 | client_reg.event_callback_args.client_data = link; | 396 | client_reg.event_callback_args.client_data = link; |
403 | 397 | ||
@@ -2904,13 +2898,21 @@ static int write_int(struct file *file, const char __user *buffer, unsigned long | |||
2904 | } | 2898 | } |
2905 | #endif | 2899 | #endif |
2906 | 2900 | ||
2901 | static struct pcmcia_device_id ray_ids[] = { | ||
2902 | PCMCIA_DEVICE_MANF_CARD(0x01a6, 0x0000), | ||
2903 | PCMCIA_DEVICE_NULL, | ||
2904 | }; | ||
2905 | MODULE_DEVICE_TABLE(pcmcia, ray_ids); | ||
2906 | |||
2907 | static struct pcmcia_driver ray_driver = { | 2907 | static struct pcmcia_driver ray_driver = { |
2908 | .owner = THIS_MODULE, | 2908 | .owner = THIS_MODULE, |
2909 | .drv = { | 2909 | .drv = { |
2910 | .name = "ray_cs", | 2910 | .name = "ray_cs", |
2911 | }, | 2911 | }, |
2912 | .attach = ray_attach, | 2912 | .attach = ray_attach, |
2913 | .event = ray_event, | ||
2913 | .detach = ray_detach, | 2914 | .detach = ray_detach, |
2915 | .id_table = ray_ids, | ||
2914 | }; | 2916 | }; |
2915 | 2917 | ||
2916 | static int __init init_ray_cs(void) | 2918 | static int __init init_ray_cs(void) |