Skip to contentSkip to conversation

440gx_enet.c patch for use with netconsole

U-Boot-Users Travis Sawyer 2 participants 2 messages Aug 5, 2004 – Sep 29, 2004

lore
Share & tools
lore
#0 lore raw

This patch fixes the 440gx_enet driver for use with netconsole, as well as a ZMII/RMII bridge fix.

The maintainer of the 405gp_enet driver may want to back port the 'netconsole' fix as well.

These changes were tested on the IBM 440GX reference board (ocotea).

CHANGELOG entry:

* Patches by Travis Sawyer, 5 Aug 2004:
- Remove incorrect bridge settings for eth group 6
- Add call to setup bridge in ppc_440x_eth_initialize
- Fix ppc_440x_eth_init to reset the phy only if its the first time through, otherwise, just check the phy for the autonegotiated speed/duplex. This allows the use of netconsole
- only print the speed/duplex the first time the phy is reset.

Wolfgang: NetConsole is very much appreciated!

-travis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 440gx_enet.c.nc.patch
Type: text/x-patch
Size: 1793 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040805/de051eb7/attachment.bin

#1 lore raw
Quoted 8 lines · In message <[email protected]> you wrote:

* Patches by Travis Sawyer, 5 Aug 2004:
- Remove incorrect bridge settings for eth group 6
- Add call to setup bridge in ppc_440x_eth_initialize
- Fix ppc_440x_eth_init to reset the phy only if its the first time through, otherwise, just check the phy for the autonegotiated speed/duplex. This allows the use of netconsole
- only print the speed/duplex the first time the phy is reset.

Added, thanks!

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
I read part of it all the way through.