forcedeth fix: take phy out of reset during power up

Submitted by Ayaz Abdulla on Sept. 22, 2008, 1:55 p.m.

Details

Message ID 48D7A3D7.2010602@nvidia.com
State Accepted
Delegated to: Jeff Garzik
Headers show

Commit Message

Ayaz Abdulla Sept. 22, 2008, 1:55 p.m.
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>

Comments

Jeff Garzik Sept. 25, 2008, 2:15 a.m.
Ayaz Abdulla wrote:
> 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>

applied


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

--- old/drivers/net/forcedeth.c	2008-09-22 09:46:17.000000000 -0400
+++ new/drivers/net/forcedeth.c	2008-09-22 09:46:20.000000000 -0400
@@ -337,7 +337,7 @@ 
 	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
 };