net: axienet: Add mii-tool support
authorAndre Przywara <andre.przywara@arm.com>
Tue, 24 Mar 2020 13:23:43 +0000 (13:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2020 23:33:04 +0000 (16:33 -0700)
commit2a9b65ea511cf301150181bef91bb0097dc5bf0b
treef616dedc7e85aad62fc0e50067540d4cff046658
parentc30cb8f0bec69d56e1fbc7fb65bd735c729a69e4
net: axienet: Add mii-tool support

mii-tool is useful for debugging, and all it requires to work is to wire
up the ioctl ops function pointer.
Add this to the axienet driver to enable mii-tool.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c