]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: microchip: Improve phy mode message
authorPaul Barker <pbarker@konsulko.com>
Wed, 9 Sep 2020 10:04:15 +0000 (11:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2020 18:26:32 +0000 (11:26 -0700)
commit07ee2d5f51a4921e754633f10f277bee6d375e13
tree7fee4773a3bd781d8488cdcf4e183f07881a51ae
parentf7c8ce86403205b972842906c4ac395f05fcd799
net: dsa: microchip: Improve phy mode message

Always print the selected phy mode for the CPU port when using the
ksz9477 driver. If the phy mode was changed, also print the previous
mode to aid in debugging.

To make the message more clear, prefix it with the port number which it
applies to and improve the language a little.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz9477.c