summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorConstantin Baranov2009-02-19 02:53:20 +0100
committerDavid S. Miller2009-02-19 02:53:20 +0100
commit38bb045d493cc166920834087acd934dedc1b5d5 (patch)
tree361c59343742e3743d40a09129a90d73581bdcb4 /net/core
parentniu: fix PHY template choice for 10G copper (diff)
downloadkernel-qcow2-linux-38bb045d493cc166920834087acd934dedc1b5d5.tar.gz
kernel-qcow2-linux-38bb045d493cc166920834087acd934dedc1b5d5.tar.xz
kernel-qcow2-linux-38bb045d493cc166920834087acd934dedc1b5d5.zip
niu: improve ethtool support for gigabit copper cards
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 Signed-off-by: Constantin Baranov <baranov@mercdev.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions