-
Manfred Spraul authored
- support for external phys, both fibre and twisted pair, added: * remove the "phy" parameter from mdio_{read,write}: the function accesses the current phy. * new functions to access external phys: miiport_{read,write} * scan for external phys on _probe. * ethtool support for switching between internal and external phys. * introduce an init_phy_fixup helper: a few settings must be reapplied after reenabling the internal phy. - move register_netdev to the end of _probe. The current position could cause races with hotplug. - do not wait for autonegotiation completed after initialization. - use pci_name() instead of dev->name until register_netdev has initialized dev->name. - read the BMSR register in the link beat interrupt twice: The link status field is latched, without reading twice a link up event will be missed (and only noticed a few seconds later in the media timer) - restart the autonegotiation after modifying the capabilities.
ef5b90b9