[PATCH 2.6.24 3/3]S2io: Updating transceiver information in ethtool function
From: Sreenivasa Honnur <hidden>
Date: 2007-08-22 07:47:13
- Update transceiver information in ethtool function Signed-off-by: Sreenivasa Honnur <redacted> Signed-off-by: Ramkrishna Vepa <redacted> --- diff -urpN patch2/drivers/net/s2io.c patch3/drivers/net/s2io.c
--- patch2/drivers/net/s2io.c 2007-08-18 07:19:21.000000000 +0530
+++ patch3/drivers/net/s2io.c 2007-08-18 07:20:27.000000000 +0530@@ -84,7 +84,7 @@ #include "s2io.h" #include "s2io-regs.h" -#define DRV_VERSION "2.0.26.4" +#define DRV_VERSION "2.0.26.5" /* S2io Driver name & version. */ static char s2io_driver_name[] = "Neterion";
@@ -5459,7 +5459,9 @@ static int s2io_ethtool_gset(struct net_ info->supported = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE); info->advertising = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE); info->port = PORT_FIBRE; - /* info->transceiver?? TODO */ + + /* info->transceiver */ + info->transceiver = XCVR_EXTERNAL; if (netif_carrier_ok(sp->dev)) { info->speed = 10000;