Skip to contentSkip to conversation

What's up with GT96100 in the MIPS config file?

DISCUSSION Eric S. Raymond 2 participants 2 messages May 23, 2001

lore
Share & tools
lore
#0 lore raw

Near line 55 of drivers/net/Config.in there is code that reads like this:

if [ "$CONFIG_MIPS_GT96100" = "y" ]; then
bool ' MIPS GT96100 Ethernet support' CONFIG_MIPS_GT96100ETH
fi

All very well except that CONFIG_MIPS_GT96100 is never set (or even used) anywhere else. My cross-reference generator shows this:

snark:~/src/linux$ scripts/kxref.py | grep GT96    
CONFIG_MIPS_GT96100: drivers/net/Config.in
CONFIG_MIPS_GT96100ETH: drivers/net/Makefile drivers/net/Config.in drivers/net/gt96100eth.c

The simplest guess is that the guard part is just wrong. Can anybody shed any light on this?

Signature · 5 lines
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

The saddest life is that of a political aspirant under democracy. His
failure is ignominious and his success is disgraceful.
        -- H.L. Mencken
#1 lore raw
Quoted 10 lines · Eric S. Raymond

Near line 55 of drivers/net/Config.in there is code that reads like this:

if [ "$CONFIG_MIPS_GT96100" = "y" ]; then
bool ' MIPS GT96100 Ethernet support' CONFIG_MIPS_GT96100ETH
fi

All very well except that CONFIG_MIPS_GT96100 is never set (or even
...
The simplest guess is that the guard part is just wrong. Can anybody shed any light on this?

The problem seems to be that the MIPS kernel tree isn't fully merged into the official kernel tree. In the MIPS kernel tree arch/mips/config.in includes:

...
if [ "$CONFIG_MIPS_EV96100" = "y" ]; then
define_bool CONFIG_PCI y
define_bool CONFIG_MIPS_GT96100 y
define_bool CONFIG_SWAP_IO_SPACE y
fi
...

cu
Adrian

Signature · 3 lines
A "No" uttered from deepest conviction is better and greater than a
"Yes" merely uttered to please, or what is worse, to avoid trouble.
                -- Mahatma Ghandi