(2.4.0->2.4.1-pre8) config problem with PCMCIA causing link error

From: Derek Wildstar (dwild@starforce.com)
Date: Wed Jan 17 2001 - 20:57:03 EST


With 2.4.0 thru 2.4.1-pre8 (could possibly be sooner than 2.4.0)

PCMCIA_CONFIG_NETCARD is getting defined with CONFIG_PCMCIA, even when no
PCMCIA net cards are selected:

    458 # PCMCIA network device support
    459 #
    460 CONFIG_NET_PCMCIA=y
    461 # CONFIG_PCMCIA_NETCARD is not set

This causes the nonexistant drivers/net/pcmcia/pcmcia_net.o to try to be
linked. It looks like this is hepenning because CONFIG_NET_PCMCIA is
defined, but then CONFIG_PCMCIA_NETCARD is defined elsewhere.

A patch is attached.

-dwild



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



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:17 EST