Commit Graph

3 Commits

Author SHA1 Message Date
Alexander Couzens 4e8405857a ag71xx_ar7240/export_netdevs: check if the phy is already checked early
Don't create a netdev for phy which are already attached to a netdev.
This replace kernel errors:

(null): PHY already attached
phy attach failed 4 with err -16

With:
Phy on addr 0x4 is already attached. Not creating a phy device for it.
2015-07-20 11:55:17 +02:00
Alexander Couzens 21f5cd2f8a RFC: ag71xx_ar7240 add new switch func export_netdevs
export_netdevs will export a net device for every port. These netdev represent a port
with out traffic.
When such a device is broght down via ifconfig the port is shutdown and
vice versa. Carrier sense is working too and ethtool can be used to
control advertise, autoneg, ...
2015-05-09 11:39:10 +02:00
nbd e345c9a277 create branch for barrier breaker (from trunk r41863)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 23:18:57 +00:00