summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/mt7530.c
diff options
context:
space:
mode:
authorHayes Wang <hayeswang@realtek.com>2019-09-02 19:52:28 +0800
committerDavid S. Miller <davem@davemloft.net>2019-09-05 00:26:24 +0200
commit771efeda39360cf8160d548ed4c2b28f5e867488 (patch)
tree5ee8ba401a15da16fb9dd40152786a0b7cf3ab0f /drivers/net/dsa/mt7530.c
parent472e12e7ff9fe5767caa5434a032ac436bce1e52 (diff)
downloadlinux-next-771efeda39360cf8160d548ed4c2b28f5e867488.tar.gz
r8152: modify rtl8152_set_speed function
First, for AUTONEG_DISABLE, we only need to modify MII_BMCR. Second, add advertising parameter for rtl8152_set_speed(). Add RTL_ADVERTISED_xxx for advertising parameter of rtl8152_set_speed(). Then, the advertising settings from ethtool could be saved. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mt7530.c')
0 files changed, 0 insertions, 0 deletions