Skip to contentSkip to conversation

niu: improve ethtool support for gigabit copper cards

PATCH David Miller 1 participant 1 message Feb 19, 2009 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#1 lore raw
In reply to a message not in the archive

From: 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):
- struct niu_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 requested niu_link_config parameters instead of providing default initialization
- link_status_1g(): move parsing of MII registers into new link_status_mii() function (link_status_1g_rgmii() could possibly use this new implementation too)
- introduce simple nway_reset method
- fix incorrect XMAC_CONFIG_MODE selection for 10Mbps case

Quoted 1 line

Looks good, patch applied, thanks.