Commit 5d402e95 authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: id_table for netwave_cs

Add pcmcia_device_id table.
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 469bf2b9
...@@ -1668,6 +1668,12 @@ static int netwave_close(struct net_device *dev) { ...@@ -1668,6 +1668,12 @@ static int netwave_close(struct net_device *dev) {
return 0; 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 = { static struct pcmcia_driver netwave_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.drv = { .drv = {
...@@ -1675,6 +1681,7 @@ static struct pcmcia_driver netwave_driver = { ...@@ -1675,6 +1681,7 @@ static struct pcmcia_driver netwave_driver = {
}, },
.attach = netwave_attach, .attach = netwave_attach,
.detach = netwave_detach, .detach = netwave_detach,
.id_table = netwave_ids,
}; };
static int __init init_netwave_cs(void) static int __init init_netwave_cs(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment