rocker: implement get settings mode command
authorJiri Pirko <jiri@mellanox.com>
Tue, 16 Feb 2016 14:14:43 +0000 (15:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 04:08:34 +0000 (23:08 -0500)
commite1ba3dee77c450fe3cea00a334f30174f5cc0aa1
treed5e7c5418484596eb7b1c453613b4b5b9b2757c4
parentde1521923c0f2ee9c6328ad6b3e46e662d88a3cd
rocker: implement get settings mode command

Introduce a helper to ask HW for the port mode (world).

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker_main.c