]> 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)
commit9abfa544c4c8d4ebc0c8250b48dd308e54fa67d7
treef9c1e9fc9ffa052182ce42c7802300c9cdf99da9
parent2a149f3490328924ba5cf008dbacc7610d36d54e
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