]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: microchip: prepare PHY for proper advertisement
authorTristram Ha <Tristram.Ha@microchip.com>
Sat, 23 Feb 2019 00:36:47 +0000 (16:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 01:49:59 +0000 (17:49 -0800)
commit2dbd222ad95fbbd42535e6b2cadae7085429556f
treef9c1e9fc9ffa052182ce42c7802300c9cdf99da9
parentf331d14d644abd933732b5cf2b6b89044acc0132
net: dsa: microchip: prepare PHY for proper advertisement

Prepare PHY for proper advertisement as sometimes the PHY in the switch
has its own problems even though it may share the PHY id from regular PHY
but the fixes in the PHY driver do not apply.

Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz9477.c
drivers/net/dsa/microchip/ksz_common.c
drivers/net/dsa/microchip/ksz_priv.h