[PATCH 2/2] Avoid binding hostap_cs to Orinoco cards

Jerry mrcool at terraworld.net
Tue Feb 28 07:58:33 EST 2006


----- Original Message ----- 
From: "Pavel Roskin" <proski at gnu.org>
To: <hostap at shmoo.com>; <linux-pcmcia at lists.infradead.org>
Sent: Tuesday, February 28, 2006 12:18 AM
Subject: [PATCH 2/2] Avoid binding hostap_cs to Orinoco cards


> Don't just use cards with PCMCIA ID 0x0156, 0x0002.  Make sure that the
> vendor string is "Intersil" or "INTERSIL"
>
> Signed-off-by: Pavel Roskin <proski at gnu.org>
> ---
>
> drivers/net/wireless/hostap/hostap_cs.c |    5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/hostap/hostap_cs.c 
> b/drivers/net/wireless/hostap/hostap_cs.c
> index 8bc0b52..f8f4503 100644
> --- a/drivers/net/wireless/hostap/hostap_cs.c
> +++ b/drivers/net/wireless/hostap/hostap_cs.c
> @@ -877,7 +877,6 @@ static struct pcmcia_device_id hostap_cs
>  PCMCIA_DEVICE_MANF_CARD(0x0101, 0x0777),
>  PCMCIA_DEVICE_MANF_CARD(0x0126, 0x8000),
>  PCMCIA_DEVICE_MANF_CARD(0x0138, 0x0002),
> - PCMCIA_DEVICE_MANF_CARD(0x0156, 0x0002),
>  PCMCIA_DEVICE_MANF_CARD(0x0250, 0x0002),
>  PCMCIA_DEVICE_MANF_CARD(0x026f, 0x030b),
>  PCMCIA_DEVICE_MANF_CARD(0x0274, 0x1612),
> @@ -891,6 +890,10 @@ static struct pcmcia_device_id hostap_cs
>  PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0002),
>  PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0005),
>  PCMCIA_DEVICE_MANF_CARD(0xd601, 0x0010),
> + PCMCIA_DEVICE_MANF_CARD_PROD_ID1(0x0156, 0x0002, "INTERSIL",
> + 0x74c5e40d),
> + PCMCIA_DEVICE_MANF_CARD_PROD_ID1(0x0156, 0x0002, "Intersil",
> + 0x4b801a17),
>  PCMCIA_MFC_DEVICE_PROD_ID12(0, "SanDisk", "ConnectPlus",
>      0x7a954bd9, 0x74be00c6),
>  PCMCIA_DEVICE_PROD_ID1234(
>
>
> _______________________________________________
> Linux PCMCIA reimplementation list
> http://lists.infradead.org/mailman/listinfo/linux-pcmcia
>
Hello!

So, is it a valid assumption that the configurations files to bind drivers 
to a specific card are compiled in and therefore cannot be changed without 
recompilation??

If this IS NOT the case, then WHERE are the conf files (in the recent 
kernels 2.6.13 >)??

Could someone verify these assumptions, or at least tell me to go to hell?

Thanks for everyone's time and help.

Jerryf 




More information about the linux-pcmcia mailing list