summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be.h
diff options
context:
space:
mode:
authorSarveshwar Bandi <sarveshwarb@serverengines.com>2009-12-23 05:42:51 +0100
committerDavid S. Miller <davem@davemloft.net>2009-12-24 05:58:14 +0100
commit16c02145902d8597841a25e8443cfb082898a2d7 (patch)
tree2dcc01a8ed5383c599520f5c11b15f4a40c8e0ca /drivers/net/benet/be.h
parentbe2net: Bug fix to config NIC appropriately before loopback test (diff)
downloadlinux-16c02145902d8597841a25e8443cfb082898a2d7.tar.xz
linux-16c02145902d8597841a25e8443cfb082898a2d7.zip
be2net: Bug fix to return correct values in ethtool get_settings.
Changes to return correct values for transceiver and supported in ethtool get_settings function. Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r--drivers/net/benet/be.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h
index 9e56014d27ed..9fd8e5ecd5d7 100644
--- a/drivers/net/benet/be.h
+++ b/drivers/net/benet/be.h
@@ -275,6 +275,7 @@ struct be_adapter {
u32 tx_fc; /* Tx flow control */
int link_speed;
u8 port_type;
+ u8 transceiver;
};
extern const struct ethtool_ops be_ethtool_ops;