Skip to contentSkip to conversation

warning in ethtool ixgb

PATCH New Stephen Hemminger 1 participant 1 message Jun 9, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 warning in ethtool ixgb

Looks like ethtool now knows about 10G devices in 2.5.70 bk-latest, so ixgb genrates a warning. This should fix that:

drivers/net/ixgb/ixgb_ethtool.c +0 -3
diff -Nru a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c
@@ -50,9 +50,6 @@
 	return (IXGB_EEPROM_SIZE << 1);
 }
 
-#define SUPPORTED_10000baseT_Full (1 << 11)
-#define SPEED_10000 10000
-
 static void
 ixgb_ethtool_gset(struct ixgb_adapter *adapter, struct ethtool_cmd *ecmd)
 {