Skip to content

Commit

Permalink
[PATCH] pcmcia: id_table for com20020_cs.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dominik Brodowski authored and Linus Torvalds committed Jun 28, 2005
1 parent 279c936 commit 7fb22bb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion drivers/net/pcmcia/com20020_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,11 @@ static int com20020_event(event_t event, int priority,
return 0;
} /* com20020_event */


static struct pcmcia_device_id com20020_ids[] = {
PCMCIA_DEVICE_PROD_ID12("Contemporary Control Systems, Inc.", "PCM20 Arcnet Adapter", 0x59991666, 0x95dfffaf),
PCMCIA_DEVICE_NULL
};
MODULE_DEVICE_TABLE(pcmcia, com20020_ids);

static struct pcmcia_driver com20020_cs_driver = {
.owner = THIS_MODULE,
Expand All @@ -492,6 +496,7 @@ static struct pcmcia_driver com20020_cs_driver = {
},
.attach = com20020_attach,
.detach = com20020_detach,
.id_table = com20020_ids,
};

static int __init init_com20020_cs(void)
Expand Down

0 comments on commit 7fb22bb

Please sign in to comment.