]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: at803x: add mdix configuration support for AR9331 and AR8035
authorOleksij Rempel <o.rempel@pengutronix.de>
Sun, 19 Jul 2020 08:05:30 +0000 (10:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:07:16 +0000 (18:07 -0700)
commit4840142bb602c6e88a39cb88c7019e58dfd7d056
treedc6de6388e008121896ee462fbc686c4628bea26
parent16dcf0fe1e140e6fd86776c7139d925ace80f0b5
net: phy: at803x: add mdix configuration support for AR9331 and AR8035

This patch add MDIX configuration ability for AR9331 and AR8035. Theoretically
it should work on other Atheros PHYs, but I was able to test only this
two.

Since I have no certified reference HW able to detect or configure MDIX, this
functionality was confirmed by oscilloscope.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c