Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95e8b103 authored by Mike Looijmans's avatar Mike Looijmans Committed by David S. Miller
Browse files

net/phy: micrel: Disable asymmetric pause for KSZ9031



The KSZ9031 appears to suffer from the same hardware bug as described
for the KSZ9021 in commit 32fcafbc
("net/phy: micrel: Disable asymmetric pause for KSZ9021")
you have to unplug the cable and plug it back to get it to work.

Remove the SUPPORTED_Asym_Pause flag for the KSZ9031 to fix this.

Signed-off-by: default avatarMike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9e07a422
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -592,8 +592,7 @@ static struct phy_driver ksphy_driver[] = {
	.phy_id		= PHY_ID_KSZ9031,
	.phy_id_mask	= 0x00fffff0,
	.name		= "Micrel KSZ9031 Gigabit PHY",
	.features	= (PHY_GBIT_FEATURES | SUPPORTED_Pause
				| SUPPORTED_Asym_Pause),
	.features	= (PHY_GBIT_FEATURES | SUPPORTED_Pause),
	.flags		= PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
	.config_init	= ksz9031_config_init,
	.config_aneg	= genphy_config_aneg,