[patches 10/13] pcmcia: id_table for bluecard_cs.c

Dominik Brodowski linux at dominikbrodowski.net
Sun Mar 6 10:40:58 EST 2005


Add pcmcia_device_id table.

Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
Signed-off-by: Marcel Holtmann <marcel at holtmann.org>

Index: 2.6.11-rc4/drivers/bluetooth/bluecard_cs.c
===================================================================
--- 2.6.11-rc4.orig/drivers/bluetooth/bluecard_cs.c	2005-02-13 15:40:37.000000000 +0100
+++ 2.6.11-rc4/drivers/bluetooth/bluecard_cs.c	2005-02-16 22:59:26.000000000 +0100
@@ -1085,6 +1085,14 @@
 	return 0;
 }
 
+static struct pcmcia_device_id bluecard_ids[] = {
+	PCMCIA_DEVICE_PROD_ID12("BlueCard", "LSE041", 0xbaf16fbf, 0x657cc15e),
+	PCMCIA_DEVICE_PROD_ID12("BTCFCARD", "LSE139", 0xe3987764, 0x2524b59c),
+	PCMCIA_DEVICE_PROD_ID12("WSS", "LSE039", 0x0a0736ec, 0x24e6dfab),
+	PCMCIA_DEVICE_NULL
+};
+MODULE_DEVICE_TABLE(pcmcia, bluecard_ids);
+
 static struct pcmcia_driver bluecard_driver = {
 	.owner		= THIS_MODULE,
 	.drv		= {
@@ -1092,6 +1100,7 @@
 	},
 	.attach		= bluecard_attach,
 	.detach		= bluecard_detach,
+	.id_table	= bluecard_ids,
 };
 
 static int __init init_bluecard_cs(void)



More information about the linux-pcmcia mailing list