aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2005-06-27 16:28:18 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-27 18:03:08 -0700
commit270b6e94181d838194f621e773b9ab534371e618 (patch)
treef8d61ea3ac491734174642f337268c84d7e7f06e
parent325aa29fe50eabe487efe360426c01eb42825e60 (diff)
downloadkernel_samsung_smdk4412-270b6e94181d838194f621e773b9ab534371e618.tar.gz
kernel_samsung_smdk4412-270b6e94181d838194f621e773b9ab534371e618.tar.bz2
kernel_samsung_smdk4412-270b6e94181d838194f621e773b9ab534371e618.zip
[PATCH] pcmcia: id_table for 3c574_cs
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>
-rw-r--r--drivers/net/pcmcia/3c574_cs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c
index c6e8b25f968..f0fc04bd37c 100644
--- a/drivers/net/pcmcia/3c574_cs.c
+++ b/drivers/net/pcmcia/3c574_cs.c
@@ -1286,6 +1286,13 @@ static int el3_close(struct net_device *dev)
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 = {
@@ -1293,6 +1300,7 @@ static struct pcmcia_driver tc574_driver = {
},
.attach = tc574_attach,
.detach = tc574_detach,
+ .id_table = tc574_ids,
};
static int __init init_tc574(void)