OSDN Git Service

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)
commit42fc6a4c613019666f2fd11bc0b542cf2f4dae24
treef9c1e9fc9ffa052182ce42c7802300c9cdf99da9
parent84f29264551eb75cc686c3f748ac70b987b95837
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