[PATCH] PCMCIA: make Pretec CF Wifi use hostap_cs by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use two Zaurus palmtops - one run 2.4.18 kernel (it's sl-5500) and second 
run 2.6.16. Both are running under control of OpenZaurus distribution 
(I'm Release Manager of it).

When I use pcmcia-cs then my Pretec WiFi card is handled by hostap driver
and everything is working fine. Recently I switched to pcmciautils and after
card insert orinoco modules are loaded. I prefer to use hostap modules
because they work the same under 2.4 and 2.6 kernels (with orinoco I have to
use 0.13e ones because never ones does not work under 2.4/arm).

This patch adds definition of my card to hostap_cs cardlist. It was tested on
Sharp Zaurus C760 palmtop running 2.6.16 + pcmciautils 010 + udev 084


PS - I'm not subscribed to that list - so please Cc: me on reply.

Signed-off-by: Marcin Juszkiewicz <[email protected]>

--- drivers/net/wireless/hostap/hostap_cs.c.orig
+++ drivers/net/wireless/hostap/hostap_cs.c
@@ -912,6 +912,9 @@ static struct pcmcia_device_id hostap_cs
        PCMCIA_DEVICE_PROD_ID123(
                "SMC", "SMC2632W", "Version 01.02",
                0xc4f8b18b, 0x474a1f2a, 0x4b74baa0),
+       PCMCIA_DEVICE_PROD_ID123(
+               "Pretec", "CompactWLAN Card 802.11b", "2.5",
+               0x1cadd3e5, 0xe697636c, 0x7a5bfcf1),
        PCMCIA_DEVICE_PROD_ID12("BUFFALO", "WLI-CF-S11G",
                                0x2decece3, 0x82067c18),
        PCMCIA_DEVICE_PROD_ID12("Compaq", "WL200_11Mbps_Wireless_PCI_Card",


-- 
JID: hrw-jabber.org
Palmtop: Sharp Zaurus C760
OpenEmbedded/OpenZaurus developer

Vi has two modes: the one in which it beeps, and the one in which it doesn't.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux