summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorNithin Sujir <nsujir@broadcom.com>2013-12-06 09:53:18 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-06 15:10:53 -0500
commitefe8f0eaaed3c5ebc19cc34ddf012dfdf6f3747d (patch)
treeb3be86a02e00c7d32d4ea42150d5e20cdb594af2 /drivers
parent7c786065b12344ada19e11fa1043555dfeda478a (diff)
downloadkernel-common-efe8f0eaaed3c5ebc19cc34ddf012dfdf6f3747d.tar.gz
kernel-common-efe8f0eaaed3c5ebc19cc34ddf012dfdf6f3747d.tar.bz2
kernel-common-efe8f0eaaed3c5ebc19cc34ddf012dfdf6f3747d.zip
tg3: Fix bit definition for the nvram Auto Power Down setting
The APD bit is 14 and not bit 10. Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/broadcom/tg3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h
index e128f37282d7..e4da9d7834ce 100644
--- a/drivers/net/ethernet/broadcom/tg3.h
+++ b/drivers/net/ethernet/broadcom/tg3.h
@@ -2204,7 +2204,7 @@
#define NIC_SRAM_DATA_CFG_2 0x00000d38
-#define NIC_SRAM_DATA_CFG_2_APD_EN 0x00000400
+#define NIC_SRAM_DATA_CFG_2_APD_EN 0x00004000
#define SHASTA_EXT_LED_MODE_MASK 0x00018000
#define SHASTA_EXT_LED_LEGACY 0x00000000
#define SHASTA_EXT_LED_SHARED 0x00008000