]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'phy-icplus-next'
authorDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 21:53:26 +0000 (13:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 21:53:26 +0000 (13:53 -0800)
commite1c6e16aebb2b6d40791fc10fd88fe8d586a6f4b
tree2ec3fb2666687bb4e029df31fa8fe32884b54cc9
parente4cf461b55153c610f0a44684c922b3ac24a4693
parent1d66e52f4326cb33820fbca71fb7c295ff7026d3
Merge branch 'phy-icplus-next'

Michael Walle says:

====================
net: phy: icplus: cleanups and new features

Cleanup the PHY drivers for IPplus devices and add PHY counters and MDIX
support for the IP101A/G.

Patch 5 adds a model detection based on the behavior of the PHY.
Unfortunately, the IP101A shares the PHY ID with the IP101G. But the latter
provides more features. Try to detect the newer model by accessing the page
selection register. If it is writeable, it is assumed, that it is a IP101G.

With this detection in place, we can now access registers >= 16 in a
correct way on the IP101G; that is by first selecting the correct page.
This might previouly worked, because no one ever set another active page
before booting linux.

The last two patches add the new features.
===================

Signed-off-by: David S. Miller <davem@davemloft.net>