diff options
author | Sivakumar Subramani <Sivakumar.Subramani@neterion.com> | 2007-09-14 07:43:16 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:51:48 -0400 |
commit | 1a7eb72b68c1c6a00a237bc242885222ab74536f (patch) | |
tree | 001d3ca9b0229cacc991ec7908e35b57e780c5c9 /drivers | |
parent | 2fd37688455857b7b92bc2b1379a4c48aa9af147 (diff) |
S2io: Updating transceiver information in ethtool function
- Update transceiver information in ethtool function
Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/s2io.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index 01e4b1c26a36..203cc1e87de0 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -84,7 +84,7 @@ | |||
84 | #include "s2io.h" | 84 | #include "s2io.h" |
85 | #include "s2io-regs.h" | 85 | #include "s2io-regs.h" |
86 | 86 | ||
87 | #define DRV_VERSION "2.0.26.4" | 87 | #define DRV_VERSION "2.0.26.5" |
88 | 88 | ||
89 | /* S2io Driver name & version. */ | 89 | /* S2io Driver name & version. */ |
90 | static char s2io_driver_name[] = "Neterion"; | 90 | static char s2io_driver_name[] = "Neterion"; |
@@ -4976,7 +4976,9 @@ static int s2io_ethtool_gset(struct net_device *dev, struct ethtool_cmd *info) | |||
4976 | info->supported = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE); | 4976 | info->supported = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE); |
4977 | info->advertising = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE); | 4977 | info->advertising = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE); |
4978 | info->port = PORT_FIBRE; | 4978 | info->port = PORT_FIBRE; |
4979 | /* info->transceiver?? TODO */ | 4979 | |
4980 | /* info->transceiver */ | ||
4981 | info->transceiver = XCVR_EXTERNAL; | ||
4980 | 4982 | ||
4981 | if (netif_carrier_ok(sp->dev)) { | 4983 | if (netif_carrier_ok(sp->dev)) { |
4982 | info->speed = 10000; | 4984 | info->speed = 10000; |