提交 270b6e94 编写于 作者: D Dominik Brodowski 提交者: Linus Torvalds

[PATCH] pcmcia: id_table for 3c574_cs

Add pcmcia_device_id table.
Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 325aa29f
...@@ -1286,6 +1286,13 @@ static int el3_close(struct net_device *dev) ...@@ -1286,6 +1286,13 @@ static int el3_close(struct net_device *dev)
return 0; 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 = { static struct pcmcia_driver tc574_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.drv = { .drv = {
...@@ -1293,6 +1300,7 @@ static struct pcmcia_driver tc574_driver = { ...@@ -1293,6 +1300,7 @@ static struct pcmcia_driver tc574_driver = {
}, },
.attach = tc574_attach, .attach = tc574_attach,
.detach = tc574_detach, .detach = tc574_detach,
.id_table = tc574_ids,
}; };
static int __init init_tc574(void) static int __init init_tc574(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册