提交 5d402e95 编写于 作者: D Dominik Brodowski 提交者: Linus Torvalds

[PATCH] pcmcia: id_table for netwave_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>
上级 469bf2b9
......@@ -1668,6 +1668,12 @@ static int netwave_close(struct net_device *dev) {
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 = {
.owner = THIS_MODULE,
.drv = {
......@@ -1675,6 +1681,7 @@ static struct pcmcia_driver netwave_driver = {
},
.attach = netwave_attach,
.detach = netwave_detach,
.id_table = netwave_ids,
};
static int __init init_netwave_cs(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册