[patches 4/13] pcmcia: id_table for 3c574_cs
Dominik Brodowski
linux at dominikbrodowski.net
Sun Mar 6 10:40:13 EST 2005
Add pcmcia_device_id table.
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
Index: 2.6.11-rc5/drivers/net/pcmcia/3c574_cs.c
===================================================================
--- 2.6.11-rc5.orig/drivers/net/pcmcia/3c574_cs.c 2005-02-26 23:53:16.000000000 +0100
+++ 2.6.11-rc5/drivers/net/pcmcia/3c574_cs.c 2005-02-26 23:53:29.000000000 +0100
@@ -1283,6 +1283,13 @@
return 0;
}
+static struct pcmcia_device_id tc574_ids[] = {
+ PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0574),
+ PCMCIA_MFC_DEVICE_CIS_MANF_CARD(0, 0x0101, 0x0556, "3CCFEM556.cis"),
+ PCMCIA_DEVICE_NULL,
+};
+MODULE_DEVICE_TABLE(pcmcia, tc574_ids);
+
static struct pcmcia_driver tc574_driver = {
.owner = THIS_MODULE,
.drv = {
@@ -1290,6 +1297,7 @@
},
.attach = tc574_attach,
.detach = tc574_detach,
+ .id_table = tc574_ids,
};
static int __init init_tc574(void)
More information about the linux-pcmcia
mailing list