diff options
Diffstat (limited to 'drivers/net/pcmcia/ibmtr_cs.c')
-rw-r--r-- | drivers/net/pcmcia/ibmtr_cs.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c index 3107ccfe8f3d..cf6d073ea558 100644 --- a/drivers/net/pcmcia/ibmtr_cs.c +++ b/drivers/net/pcmcia/ibmtr_cs.c | |||
@@ -119,9 +119,6 @@ static void ibmtr_detach(dev_link_t *); | |||
119 | 119 | ||
120 | static dev_link_t *dev_list; | 120 | static dev_link_t *dev_list; |
121 | 121 | ||
122 | extern int ibmtr_probe_card(struct net_device *dev); | ||
123 | extern irqreturn_t tok_interrupt (int irq, void *dev_id, struct pt_regs *regs); | ||
124 | |||
125 | /*====================================================================*/ | 122 | /*====================================================================*/ |
126 | 123 | ||
127 | typedef struct ibmtr_dev_t { | 124 | typedef struct ibmtr_dev_t { |
@@ -511,6 +508,13 @@ static void ibmtr_hw_setup(struct net_device *dev, u_int mmiobase) | |||
511 | return; | 508 | return; |
512 | } | 509 | } |
513 | 510 | ||
511 | static struct pcmcia_device_id ibmtr_ids[] = { | ||
512 | PCMCIA_DEVICE_PROD_ID12("3Com", "TokenLink Velocity PC Card", 0x41240e5b, 0x82c3734e), | ||
513 | PCMCIA_DEVICE_PROD_ID12("IBM", "TOKEN RING", 0xb569a6e5, 0xbf8eed47), | ||
514 | PCMCIA_DEVICE_NULL, | ||
515 | }; | ||
516 | MODULE_DEVICE_TABLE(pcmcia, ibmtr_ids); | ||
517 | |||
514 | static struct pcmcia_driver ibmtr_cs_driver = { | 518 | static struct pcmcia_driver ibmtr_cs_driver = { |
515 | .owner = THIS_MODULE, | 519 | .owner = THIS_MODULE, |
516 | .drv = { | 520 | .drv = { |
@@ -518,6 +522,7 @@ static struct pcmcia_driver ibmtr_cs_driver = { | |||
518 | }, | 522 | }, |
519 | .attach = ibmtr_attach, | 523 | .attach = ibmtr_attach, |
520 | .detach = ibmtr_detach, | 524 | .detach = ibmtr_detach, |
525 | .id_table = ibmtr_ids, | ||
521 | }; | 526 | }; |
522 | 527 | ||
523 | static int __init init_ibmtr_cs(void) | 528 | static int __init init_ibmtr_cs(void) |