GT64260 ethernet
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/
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.inand is controlled by theCONFIG_GT64260option (which is not turned on for our boards,CONFIG_GEMINIis). I'd think that the preferred way to fix this is to put theCONFIG_GT64260_ETHoption indrivers/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/
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.inand is controlled by theCONFIG_GT64260option (which is not turned on for our boards,CONFIG_GEMINIis). I'd think that the preferred way to fix this is to put theCONFIG_GT64260_ETHoption indrivers/net/config.in. The alternative is to haveif [ "$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/
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.inand is controlled by theCONFIG_GT64260option (which is not turned on for our boards,CONFIG_GEMINIis). I'd think that the preferred way to fix this is to put theCONFIG_GT64260_ETHoption indrivers/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/netand listed indrivers/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/