]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sfc: Correct address of gPXE boot configuration in EEPROM
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 3 Nov 2008 23:08:04 +0000 (23:08 +0000)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 7 Nov 2008 08:33:45 +0000 (03:33 -0500)
Due to a hardware bug, the originally assigned range cannot reliably
be used for boot configuration and must not be modifiable through
ethtool.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/ethtool.c

index fa98af58223efe309a8e9e756571fa3f8c147cbb..cd0d0873d9782a358e1c835c6a51967071a780d5 100644 (file)
@@ -174,8 +174,8 @@ static struct efx_ethtool_stat efx_ethtool_stats[] = {
 
 /* EEPROM range with gPXE configuration */
 #define EFX_ETHTOOL_EEPROM_MAGIC 0xEFAB
-#define EFX_ETHTOOL_EEPROM_MIN 0x100U
-#define EFX_ETHTOOL_EEPROM_MAX 0x400U
+#define EFX_ETHTOOL_EEPROM_MIN 0x800U
+#define EFX_ETHTOOL_EEPROM_MAX 0x1800U
 
 /**************************************************************************
  *