On Jun 3 2007 18:58, Avuton Olrich wrote:
>
[GIT tree c1a13ff57ab1ce52a0aae9984594dbfcfbaf68c0, but happens with 
kernel du jour^W git (Linus's master) too]

> drivers/built-in.o: In function `tc574_probe':
> 3c574_cs.c:(.text+0xcf1d4): undefined reference to `pcmcia_request_io'
> pcnet_cs.c:(.text+0xd1880): undefined reference to `pcmcia_request_io'

Ok I got that reproduced. (And described.)

This looks very much like a Kconfig bug (which Sam Ravnborg
already knows of) I think. See:

        CONFIG_PCMCIA_PCNET depends on CONFIG_NET_PCMCIA
        CONFIG_NET_PCMCIA depends on CONFIG_PCMCIA
        CONFIG_PCMCIA *depends* on CONFIG_PCCARD
        CONFIG_PCMCIA *selects* CONFIG_CRC32

and here, IIRC, is/was the bug, that a config option which has both
depends and selects does not correctly work. CONFIG_PCMCIA_PCNET
should inherit the state of CONFIG_PCMCIA, that is, if PCMCIA
("16-bit PCMCIA support") is M, the pcnet_cs driver automatically
becomes M too (if the bug was not there).


        Jan
-- 

_______________________________________________
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia

Reply via email to