]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sfc: Correct address of gPXE boot configuration in EEPROM
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 4 Nov 2008 20:32:45 +0000 (20:32 +0000)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 6 Nov 2008 05:49:50 +0000 (00:49 -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
 
 /**************************************************************************
  *