summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-11-03 23:08:04 +0000
committerJeff Garzik <jgarzik@redhat.com>2008-11-07 03:33:45 -0500
commitcd17fa7b8f1dd24b23c464ebcb14e7c058e15097 (patch)
treec9cdd73f5a4147c00c05f723c56a977d81b20976 /drivers/net/sfc
parent08809b25cf64a7d8deb336b779e527e88830eac9 (diff)
downloadop-kernel-dev-cd17fa7b8f1dd24b23c464ebcb14e7c058e15097.zip
op-kernel-dev-cd17fa7b8f1dd24b23c464ebcb14e7c058e15097.tar.gz
sfc: Correct address of gPXE boot configuration in EEPROM
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>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r--drivers/net/sfc/ethtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c
index fa98af5..cd0d087 100644
--- a/drivers/net/sfc/ethtool.c
+++ b/drivers/net/sfc/ethtool.c
@@ -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
/**************************************************************************
*
OpenPOWER on IntegriCloud