forcedeth fix: take phy out of reset during power up
authorAyaz Abdulla <aabdulla@nvidia.com>
Mon, 22 Sep 2008 13:55:35 +0000 (09:55 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 25 Sep 2008 02:11:42 +0000 (22:11 -0400)
This patch will add the phy reset bit into the power up mask which is
used during power up. Certain BIOSes will place the phy in reset and
therefore the driver must take the phy out of reset when it loads.

Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/forcedeth.c

index 0b6ecef9a849d6ea2238fcf807e6601d73ab8aca..35e582d3fd2a7588d1b1814bcd00707e0e3e1f29 100644 (file)
@@ -337,7 +337,7 @@ enum {
        NvRegMSIXIrqStatus = 0x3f0,
 
        NvRegPowerState2 = 0x600,
-#define NVREG_POWERSTATE2_POWERUP_MASK         0x0F11
+#define NVREG_POWERSTATE2_POWERUP_MASK         0x0F15
 #define NVREG_POWERSTATE2_POWERUP_REV_A3       0x0001
 #define NVREG_POWERSTATE2_PHY_RESET            0x0004
 };