summaryrefslogtreecommitdiffstats
path: root/include/linux/ipv6.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2013-12-07 00:53:55 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-09 20:59:25 -0500
commit5824d2d16d39a9c57aa3bacf955fbd0c2134061f (patch)
tree0138f904b7d3f7c93cfbdab929d9d7605a80e3a4 /include/linux/ipv6.h
parent2c722fe1c821a100ca87fcc36e90a9bceb497c7c (diff)
downloadtalos-op-linux-5824d2d16d39a9c57aa3bacf955fbd0c2134061f.tar.gz
talos-op-linux-5824d2d16d39a9c57aa3bacf955fbd0c2134061f.zip
bgmac: connect to PHY and make use of PHY device
We were already registering MDIO bus, but we were not connecting bgmac to the PHY. Add proper call and implement adjust link function to switch MAC into requested state. At the same time it's possible to drop our internal PHY management. This is a "standard" PHY, so the "Generic PHY" driver works perfectly fine with this. Don't duplicate the code. Finally make use of phy_ethtool_[gs]set functions instead implementing them from scratch. This change was successfully tested on BCM5357. I was able to autonegotiate 1000Mb/s full duplex, as well as force any of the 10/100/1000 half/full modes. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ipv6.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud