Skip to content

Commit 68dac3e

Browse files
AtsushiNemotodavem330
authored andcommitted
net: phy: micrel: use genphy_read_status for KSZ9131
KSZ9131 will not work with some switches due to workaround for KSZ9031 introduced in commit d2fd719 ("net/phy: micrel: Add workaround for bad autoneg"). Use genphy_read_status instead of dedicated ksz9031_read_status. Fixes: bff5b4b ("net: phy: micrel: add Microchip KSZ9131 initial driver") Signed-off-by: Atsushi Nemoto <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 82f3527 commit 68dac3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/phy/micrel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ static struct phy_driver ksphy_driver[] = {
12041204
.driver_data = &ksz9021_type,
12051205
.probe = kszphy_probe,
12061206
.config_init = ksz9131_config_init,
1207-
.read_status = ksz9031_read_status,
1207+
.read_status = genphy_read_status,
12081208
.ack_interrupt = kszphy_ack_interrupt,
12091209
.config_intr = kszphy_config_intr,
12101210
.get_sset_count = kszphy_get_sset_count,

0 commit comments

Comments
 (0)