Reset Wake-on-LAN/power management registers on chip reset. This gets my VIA Rhine II (PCI rev id 0x71) working. Without this patch the card is not initialized properly and the MII init fails.
The source for this extra init behavior is gPXE's via-rhine.c and Linux 2.6.24's via-rhine.c. Both do basically the same thing with the power management registers when setting up the card.
|