be2net: Changes to update ethtool get_settings function to return appropriate values.
authorSarveshwar Bandi <sarveshwarb@serverengines.com>
Wed, 28 Oct 2009 11:15:20 +0000 (04:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 11:15:20 +0000 (04:15 -0700)
commit0388f251a33ea60937564ad1f27cf77243409f06
tree1e70648214ae726e4741f2a8bbe848912ae0e0bf
parent7e15b0c9991dfe0bf05a2f8fab9154bb7827622e
be2net: Changes to update ethtool get_settings function to return appropriate values.

Update ethtool get_settings function to:
- get current link speed settings from controller
- get port transceiver type from controller
- fill appropriate values for supported, phy_address

Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c
drivers/net/benet/be_cmds.h
drivers/net/benet/be_ethtool.c
drivers/net/benet/be_main.c