tg3: Fix bit definition for the nvram Auto Power Down setting
authorNithin Sujir <nsujir@broadcom.com>
Fri, 6 Dec 2013 17:53:18 +0000 (09:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Dec 2013 20:10:53 +0000 (15:10 -0500)
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>
drivers/net/ethernet/broadcom/tg3.h

index e128f37282d7bd685797a46455930d5c9ac82dbd..e4da9d7834ce330ca895bbd2391776255f03bd4f 100644 (file)
 
 #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