Skip to content

Commit

Permalink
[PATCH] pcmcia: id_table for netwave_cs
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 469bf2b commit 5d402e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/net/wireless/netwave_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1668,13 +1668,20 @@ static int netwave_close(struct net_device *dev) {
return 0;
}

static struct pcmcia_device_id netwave_ids[] = {
PCMCIA_DEVICE_PROD_ID12("Xircom", "CreditCard Netwave", 0x2e3ee845, 0x54e28a28),
PCMCIA_DEVICE_NULL,
};
MODULE_DEVICE_TABLE(pcmcia, netwave_ids);

static struct pcmcia_driver netwave_driver = {
.owner = THIS_MODULE,
.drv = {
.name = "netwave_cs",
},
.attach = netwave_attach,
.detach = netwave_detach,
.id_table = netwave_ids,
};

static int __init init_netwave_cs(void)
Expand Down

0 comments on commit 5d402e9

Please sign in to comment.