diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-27 19:28:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 21:03:08 -0400 |
commit | 270b6e94181d838194f621e773b9ab534371e618 (patch) | |
tree | f8d61ea3ac491734174642f337268c84d7e7f06e /drivers/net | |
parent | 325aa29fe50eabe487efe360426c01eb42825e60 (diff) |
[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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/pcmcia/3c574_cs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c index c6e8b25f9685..f0fc04bd37c4 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) | |||
1286 | return 0; | 1286 | return 0; |
1287 | } | 1287 | } |
1288 | 1288 | ||
1289 | static struct pcmcia_device_id tc574_ids[] = { | ||
1290 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0574), | ||
1291 | PCMCIA_MFC_DEVICE_CIS_MANF_CARD(0, 0x0101, 0x0556, "3CCFEM556.cis"), | ||
1292 | PCMCIA_DEVICE_NULL, | ||
1293 | }; | ||
1294 | MODULE_DEVICE_TABLE(pcmcia, tc574_ids); | ||
1295 | |||
1289 | static struct pcmcia_driver tc574_driver = { | 1296 | static struct pcmcia_driver tc574_driver = { |
1290 | .owner = THIS_MODULE, | 1297 | .owner = THIS_MODULE, |
1291 | .drv = { | 1298 | .drv = { |
@@ -1293,6 +1300,7 @@ static struct pcmcia_driver tc574_driver = { | |||
1293 | }, | 1300 | }, |
1294 | .attach = tc574_attach, | 1301 | .attach = tc574_attach, |
1295 | .detach = tc574_detach, | 1302 | .detach = tc574_detach, |
1303 | .id_table = tc574_ids, | ||
1296 | }; | 1304 | }; |
1297 | 1305 | ||
1298 | static int __init init_tc574(void) | 1306 | static int __init init_tc574(void) |