]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: mvneta: Use PHY status standard message
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 31 Oct 2014 15:57:20 +0000 (12:57 -0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Oct 2014 20:11:23 +0000 (16:11 -0400)
commit8caf959e351837b41d5c3a03cff5db38d665f0a9
tree5f223435fdce9b2152a2ca6e1eb182362ca7bacf
parent8ed7dab65888a77bc5df2607c13bf9cc19cf7420
ethernet: mvneta: Use PHY status standard message

Use phy_print_status() to report a change in the PHY status.
The current message is not verbose enough, so this commit improves
it by using the generic status message.

After this change, the kernel reports PHY status down and up events as:

mvneta f1070000.ethernet eth0: Link is Down
mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c