Re: seems to be impossible to disable CONFIG_SERIAL [2.6.7]

From: Russell King
Date: Fri Sep 10 2004 - 06:12:02 EST


On Fri, Sep 10, 2004 at 12:08:19PM +0100, Luke Kenneth Casson Leighton wrote:
> hi,
>
> has anyone noticed that it's impossible (without hacking) to remove
> CONFIG_SERIAL?
>
> remove the entries or set all SERIAL config entries to "n"...
> hit make...
> CONFIG_SERIAL_8250 gets set to "m", CONFIG_SERIAL gets set to "y"!
>
> seeerrrriiialllll muuuusssstttt dieeeeeee kill kill kill.

No idea - you've given very little information to go on. I doubt
you're building an x86 kernel... Mind giving some clues and maybe
a copy of your .config file?

I regularly moan about overuse of the Kconfig "select" statement
and at a guess you've just been bitten by this. Feel free to moan
like merry hell about it.

> there are 64 serial devices created.

Why are you seeing 64 serial devices created? You should only see
about 16 or so in most sane configurations.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
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/