diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-27 19:28:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 21:03:15 -0400 |
commit | 7fb22bb4d044f11a675c6947eac4923b84e0289e (patch) | |
tree | 8f1280976cc2d1487e38816af5b96087664bfb54 /drivers/net/pcmcia | |
parent | 279c936153199e105b96429dec11233ae153667c (diff) |
[PATCH] pcmcia: id_table for com20020_cs.c
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/com20020_cs.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/com20020_cs.c b/drivers/net/pcmcia/com20020_cs.c index 4294e1e3f156..68d58cc58d31 100644 --- a/drivers/net/pcmcia/com20020_cs.c +++ b/drivers/net/pcmcia/com20020_cs.c | |||
@@ -483,7 +483,11 @@ static int com20020_event(event_t event, int priority, | |||
483 | return 0; | 483 | return 0; |
484 | } /* com20020_event */ | 484 | } /* com20020_event */ |
485 | 485 | ||
486 | 486 | static struct pcmcia_device_id com20020_ids[] = { | |
487 | PCMCIA_DEVICE_PROD_ID12("Contemporary Control Systems, Inc.", "PCM20 Arcnet Adapter", 0x59991666, 0x95dfffaf), | ||
488 | PCMCIA_DEVICE_NULL | ||
489 | }; | ||
490 | MODULE_DEVICE_TABLE(pcmcia, com20020_ids); | ||
487 | 491 | ||
488 | static struct pcmcia_driver com20020_cs_driver = { | 492 | static struct pcmcia_driver com20020_cs_driver = { |
489 | .owner = THIS_MODULE, | 493 | .owner = THIS_MODULE, |
@@ -492,6 +496,7 @@ static struct pcmcia_driver com20020_cs_driver = { | |||
492 | }, | 496 | }, |
493 | .attach = com20020_attach, | 497 | .attach = com20020_attach, |
494 | .detach = com20020_detach, | 498 | .detach = com20020_detach, |
499 | .id_table = com20020_ids, | ||
495 | }; | 500 | }; |
496 | 501 | ||
497 | static int __init init_com20020_cs(void) | 502 | static int __init init_com20020_cs(void) |