diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-07-30 15:49:59 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-30 18:17:22 -0400 |
commit | 093853c395df33104ee12c3df4398820d665d107 (patch) | |
tree | 035632e5c3ca12eac6d8a8f9031e4430866d6bcf /drivers/net/wireless/hostap | |
parent | 0cd545d6ba0e0138782eb0ec287d0eb3db529b69 (diff) |
[PATCH] hostap update
pcmcia id_table for hostap_cs.c
Hi Jouni,
Here's a patch for adding a pcmcia id_table to hostap_cs.c as introduced
by the PCMCIA subsystem changes in linux-2.6.13-rc1. The id_table allows
hotplug (along with pcmciautils [1]) to load the driver without the need
for the pcmcia-cs cardmgr daemon.
The id_table was generated from the CVS version of hostap_cs.conf using
a script borrowed from Dominik Brodowski. I have removed any duplicate
entries, but I have only been able to test the functionality of the
patch with a Linksys WPC11v3.
Sincerely,
Brix
[1]: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/wireless/hostap')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_cs.c | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c index 649502488d54..36b80ce137bd 100644 --- a/drivers/net/wireless/hostap/hostap_cs.c +++ b/drivers/net/wireless/hostap/hostap_cs.c | |||
@@ -905,6 +905,57 @@ static int prism2_event(event_t event, int priority, | |||
905 | } | 905 | } |
906 | 906 | ||
907 | 907 | ||
908 | static struct pcmcia_device_id hostap_cs_ids[] = { | ||
909 | PCMCIA_DEVICE_MANF_CARD(0x000b, 0x7100), | ||
910 | PCMCIA_DEVICE_MANF_CARD(0x000b, 0x7300), | ||
911 | PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0777), | ||
912 | PCMCIA_DEVICE_MANF_CARD(0x0126, 0x8000), | ||
913 | PCMCIA_DEVICE_MANF_CARD(0x0138, 0x0002), | ||
914 | PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0002), | ||
915 | PCMCIA_DEVICE_MANF_CARD(0x0250, 0x0002), | ||
916 | PCMCIA_DEVICE_MANF_CARD(0x0274, 0x1612), | ||
917 | PCMCIA_DEVICE_MANF_CARD(0x0274, 0x1613), | ||
918 | PCMCIA_DEVICE_MANF_CARD(0x028a, 0x0002), | ||
919 | PCMCIA_DEVICE_MANF_CARD(0x02aa, 0x0002), | ||
920 | PCMCIA_DEVICE_MANF_CARD(0x02d2, 0x0001), | ||
921 | PCMCIA_DEVICE_MANF_CARD(0x50c2, 0x0001), | ||
922 | PCMCIA_DEVICE_MANF_CARD(0x50c2, 0x7300), | ||
923 | PCMCIA_DEVICE_MANF_CARD(0xc00f, 0x0000), | ||
924 | PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0002), | ||
925 | PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0005), | ||
926 | PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0010), | ||
927 | PCMCIA_MFC_DEVICE_PROD_ID12(0, "SanDisk", "ConnectPlus", | ||
928 | 0x7a954bd9, 0x74be00c6), | ||
929 | PCMCIA_DEVICE_PROD_ID1234( | ||
930 | "Intersil", "PRISM 2_5 PCMCIA ADAPTER", "ISL37300P", | ||
931 | "Eval-RevA", | ||
932 | 0x4b801a17, 0x6345a0bf, 0xc9049a39, 0xc23adc0e), | ||
933 | PCMCIA_DEVICE_PROD_ID123( | ||
934 | "Addtron", "AWP-100 Wireless PCMCIA", "Version 01.02", | ||
935 | 0xe6ec52ce, 0x08649af2, 0x4b74baa0), | ||
936 | PCMCIA_DEVICE_PROD_ID123( | ||
937 | "D", "Link DWL-650 11Mbps WLAN Card", "Version 01.02", | ||
938 | 0x71b18589, 0xb6f1b0ab, 0x4b74baa0), | ||
939 | PCMCIA_DEVICE_PROD_ID123( | ||
940 | "Instant Wireless ", " Network PC CARD", "Version 01.02", | ||
941 | 0x11d901af, 0x6e9bd926, 0x4b74baa0), | ||
942 | PCMCIA_DEVICE_PROD_ID123( | ||
943 | "SMC", "SMC2632W", "Version 01.02", | ||
944 | 0xc4f8b18b, 0x474a1f2a, 0x4b74baa0), | ||
945 | PCMCIA_DEVICE_PROD_ID12("Compaq", "WL200_11Mbps_Wireless_PCI_Card", | ||
946 | 0x54f7c49c, 0x15a75e5b), | ||
947 | PCMCIA_DEVICE_PROD_ID12("INTERSIL", "HFA384x/IEEE", | ||
948 | 0x74c5e40d, 0xdb472a18), | ||
949 | PCMCIA_DEVICE_PROD_ID12("Linksys", "Wireless CompactFlash Card", | ||
950 | 0x0733cc81, 0x0c52f395), | ||
951 | PCMCIA_DEVICE_PROD_ID12( | ||
952 | "ZoomAir 11Mbps High", "Rate wireless Networking", | ||
953 | 0x273fe3db, 0x32a1eaee), | ||
954 | PCMCIA_DEVICE_NULL | ||
955 | }; | ||
956 | MODULE_DEVICE_TABLE(pcmcia, hostap_cs_ids); | ||
957 | |||
958 | |||
908 | static struct pcmcia_driver hostap_driver = { | 959 | static struct pcmcia_driver hostap_driver = { |
909 | .drv = { | 960 | .drv = { |
910 | .name = "hostap_cs", | 961 | .name = "hostap_cs", |
@@ -913,6 +964,7 @@ static struct pcmcia_driver hostap_driver = { | |||
913 | .detach = prism2_detach, | 964 | .detach = prism2_detach, |
914 | .owner = THIS_MODULE, | 965 | .owner = THIS_MODULE, |
915 | .event = prism2_event, | 966 | .event = prism2_event, |
967 | .id_table = hostap_cs_ids, | ||
916 | }; | 968 | }; |
917 | 969 | ||
918 | static int __init init_prism2_pccard(void) | 970 | static int __init init_prism2_pccard(void) |