1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-18 12:31:11 +00:00
Russell King 389a338999 net: phy: read MMD ID from all present MMDs
Expand the device_ids[] array to allow all MMD IDs to be read rather
than just the first 8 MMDs, but only read the ID if the MDIO_STAT2
register reports that a device really is present here for these new
devices to maintain compatibility with our current behaviour.  Note
that only a limited number of devices have MDIO_STAT2.

88X3310 PHY vendor MMDs do are marked as present in the
devices_in_package, but do not contain IEE 802.3 compatible register
sets in their lower space.  This avoids reading incorrect values as MMD
identifiers.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-19 20:17:15 -07:00
..
2020-06-04 19:56:20 -07:00
2020-06-04 20:11:25 -07:00
2020-06-05 14:05:57 -07:00
2020-06-05 14:05:57 -07:00
2020-06-03 09:21:52 +02:00
2020-06-05 15:11:50 -07:00
2020-06-11 12:22:41 -07:00
2020-06-02 19:59:25 -07:00
2020-06-02 15:04:15 -07:00
2020-06-14 09:47:25 -07:00
2020-06-02 15:37:03 -07:00
2020-06-09 09:39:13 -07:00
2020-05-28 07:59:45 -07:00
2020-05-28 18:07:11 +02:00
2020-06-08 11:42:23 -07:00
2020-06-07 10:59:32 -07:00
2020-06-02 15:15:46 +01:00
2020-05-28 10:31:09 +02:00
2020-06-10 13:42:09 -07:00
2020-06-10 19:14:18 -07:00
2020-06-09 15:40:50 -07:00
2020-06-08 12:05:31 -07:00
2020-06-07 10:53:36 -07:00
2020-06-13 10:21:00 -07:00
2020-06-03 13:06:42 -07:00
2020-05-28 11:11:45 -07:00
2020-05-29 14:52:53 +02:00