commands/miitool: Allow specifying PHY by their full path
Make -s option to be a bit more consistent with how it is used in
other commands by allowing PHY device to be specified by either its
name of full path in /dev. This change also allows us to leverage
autocompletion since it will work as expected for paths in /dev.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent e94b91e commit 9e34d2ee095eef72abda98af486b2c26020a9622
@Andrey Smirnov Andrey Smirnov authored on 4 Dec 2017
Sascha Hauer committed on 6 Dec 2017
Showing 1 changed file
View
commands/miitool.c