miitool: Add code to register a PHY
This commit changes the behaviour of the 'miitool'. Now in order to show
PHY's link information 'miitool' should be invoked as such:

miitool -s [PHY]

Also, implment code to allow to register a dummy PHY device in order to
be able to perform raw MDIO bus access.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 993a28a commit ae2fb9b9184f9b9b70caf01ecbd0dcc64d7c1cc0
@Andrey Smirnov Andrey Smirnov authored on 31 Jan 2016
Sascha Hauer committed on 4 Feb 2016
Showing 3 changed files
View
commands/miitool.c
View
drivers/net/phy/phy.c
View
include/linux/phy.h