Re: [2.6 patch] PCMCIA=m, HOSTAP_CS=y is not a legal configuration

From: Gabriel C.
Date: Mon Jan 30 2006 - 15:29:15 EST


On Mon, 30 Jan 2006 19:23:17 +0100
Adrian Bunk <bunk@xxxxxxxxx> wrote:

> On Mon, Jan 30, 2006 at 01:38:33PM +0100, Gabriel C. wrote:
>
> > Hello,
>
> Hallo Gabriel,
>
> > I got this compile error with 2.6.16-rc1-mm4 , config attached.
> >
> >
> > LD .tmp_vmlinux1
> >...
> > `sandisk_set_iobase':hostap_cs.c:(.text+0x801ad): undefined
> > reference to
> > `pcmcia_access_configuration_register' :hostap_cs.c:(.text+0x801f3):
> > undefined reference to `pcmcia_access_configuration_register'
> > drivers/built-in.o: In function
> > `prism2_pccard_cor_sreset':hostap_cs.c:(.text+0x80254): undefined
> > reference to
> > `pcmcia_access_configuration_register' :hostap_cs.c:(.text+0x80289):
> > undefined reference to
> > `pcmcia_access_configuration_register' :hostap_cs.c:(.text+0x80325):
> > undefined reference to `pcmcia_access_configuration_register' [more
> > errors]
> >...
>
> thanks for your report, a patch is below.
> > Gabriel
>
> cu
> Adrian
>
>
> <-- snip -->
>
>
> CONFIG_PCMCIA=m, CONFIG_HOSTAP_CS=y doesn't compile.
>
> Reported by "Gabriel C." <crazy@xxxxxxxxxxxxxxx>.
>
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
>
> ---
> linux-2.6.16-rc1-mm4/drivers/net/wireless/hostap/Kconfig.old
> 2006-01-30 19:00:44.000000000 +0100 +++
> linux-2.6.16-rc1-mm4/drivers/net/wireless/hostap/Kconfig
> 2006-01-30 19:01:04.000000000 +0100 @@ -75,7 +75,7 @@ config HOSTAP_CS
> tristate "Host AP driver for Prism2/2.5/3 PC Cards"
> - depends on PCMCIA!=n && HOSTAP
> + depends on PCMCIA && HOSTAP
> ---help---
> Host AP driver's version for Prism2/2.5/3 PC Cards.
>
>

Hi Adrian,

Your patch works fine, thanks :)

Gabriel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/