niu: improve ethtool support for gigabit copper cards
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
David Miller
maintainerFrom: Constantin Baranov <[email protected]>
Date: Tue, 17 Feb 2009 10:38:52 +0400
Quoted 14 lines
Introduced support for link speed and duplex setting (ethtool -s), link advertising parameters and autonegotiation (ethtool -r):
- structniu_link_config: split advertising and autoneg fields into active and target values (similar to speed and duplex fields)
-mii_init_common(): rewrite function to actually apply requestedniu_link_configparameters instead of providing default initialization
-link_status_1g(): move parsing of MII registers into newlink_status_mii()function (link_status_1g_rgmii()could possibly use this new implementation too)
- introduce simplenway_resetmethod
- fix incorrectXMAC_CONFIG_MODEselection for 10Mbps case
Quoted 1 line
Signed-off-by Constantin Baranov <[email protected]>
Looks good, patch applied, thanks.