diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-27 19:28:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 21:03:10 -0400 |
commit | 469bf2b9389c9265ac0920da5b1a5c71fe496213 (patch) | |
tree | 746086442e896e220b24f0494191cc066d49b039 /drivers/net/pcmcia | |
parent | cda4de8e1e51d55f02c64210ddbaca73997f890d (diff) |
[PATCH] pcmcia: id_table for ibmtr_cs
Add pcmcia_device_id table.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/ibmtr_cs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c index f0ff06e20410..cf6d073ea558 100644 --- a/drivers/net/pcmcia/ibmtr_cs.c +++ b/drivers/net/pcmcia/ibmtr_cs.c | |||
@@ -508,6 +508,13 @@ static void ibmtr_hw_setup(struct net_device *dev, u_int mmiobase) | |||
508 | return; | 508 | return; |
509 | } | 509 | } |
510 | 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 | |||
511 | static struct pcmcia_driver ibmtr_cs_driver = { | 518 | static struct pcmcia_driver ibmtr_cs_driver = { |
512 | .owner = THIS_MODULE, | 519 | .owner = THIS_MODULE, |
513 | .drv = { | 520 | .drv = { |
@@ -515,6 +522,7 @@ static struct pcmcia_driver ibmtr_cs_driver = { | |||
515 | }, | 522 | }, |
516 | .attach = ibmtr_attach, | 523 | .attach = ibmtr_attach, |
517 | .detach = ibmtr_detach, | 524 | .detach = ibmtr_detach, |
525 | .id_table = ibmtr_ids, | ||
518 | }; | 526 | }; |
519 | 527 | ||
520 | static int __init init_ibmtr_cs(void) | 528 | static int __init init_ibmtr_cs(void) |