Skip to contentSkip to conversation

GT64260 ethernet

DISCUSSION Val Henson 3 participants 4 messages Feb 1, 2002

lore
Share & tools
lore

Val Henson

author
#0 lore raw

We have a board with the Galileo GT64260 chip and we'd like to use the gt64260 ethernet driver. At the moment, its config option is in arch/ppc/config.in and is controlled by the CONFIG_GT64260 option (which is not turned on for our boards, CONFIG_GEMINI is). I'd think that the preferred way to fix this is to put the CONFIG_GT64260_ETH option in drivers/net/config.in. The alternative is to have

if [ "$CONFIG_GT64260" = "y" -o "$CONFIG_GEMINI" = "y" ]; then

-VAL

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 6 lines · Val Henson

We have a board with the Galileo GT64260 chip and we'd like to use the gt64260 ethernet driver. At the moment, its config option is in arch/ppc/config.in and is controlled by the CONFIG_GT64260 option (which is not turned on for our boards, CONFIG_GEMINI is). I'd think that the preferred way to fix this is to put the CONFIG_GT64260_ETH option in drivers/net/config.in. The alternative is to have

I at least prefer to have as many drivers as possible, including arch-specific ones, in drivers/net and listed in drivers/net/Config.in. It makes life a lot easier when evaluating all drivers for a common bug, or common cleanup.

Jeff

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 8 lines · Jeff Garzik
Quoted 6 lines · Val Henson

We have a board with the Galileo GT64260 chip and we'd like to use the gt64260 ethernet driver. At the moment, its config option is in arch/ppc/config.in and is controlled by the CONFIG_GT64260 option (which is not turned on for our boards, CONFIG_GEMINI is). I'd think that the preferred way to fix this is to put the CONFIG_GT64260_ETH option in drivers/net/config.in. The alternative is to have

Quoted 4 lines

I at least prefer to have as many drivers as possible, including arch-specific ones, in drivers/net and listed in drivers/net/Config.in. It makes life a lot easier when evaluating all drivers for a common bug, or common cleanup.

Yes, that make sense. I'll get that moved over.

Mark

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
In reply to Val Henson
Quoted 8 lines · Val Henson

We have a board with the Galileo GT64260 chip and we'd like to use the gt64260 ethernet driver. At the moment, its config option is in arch/ppc/config.in and is controlled by the CONFIG_GT64260 option (which is not turned on for our boards, CONFIG_GEMINI is). I'd think that the preferred way to fix this is to put the CONFIG_GT64260_ETH option in drivers/net/config.in. The alternative is to have

if [ "$CONFIG_GT64260" = "y" -o "$CONFIG_GEMINI" = "y" ]; then

This may not be the best place for it but right now, that stuff is in arch/ppc/config.in. When you turn on CONFIG_GT64260 (presumably as a result of selecting your platform--see CONFIG_EV64260), there will be an additional submenu show up under "Platform support" called "Galileo GT64260 Options". Go in there and select the enet drivers you want and pick a MAC addr if you don't like the default.

I guess that should migrate to the drivers/net Config.in...

The driver worked once but has been broken by the latest checkin (at least for me). I have a version that works for me. I will push it out sometime next week but if you need it now, let me know and I'll email it to you.

Mark

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/