From patchwork Mon Sep 22 13:55:35 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: forcedeth fix: take phy out of reset during power up Date: Mon, 22 Sep 2008 03:55:35 -0000 From: Ayaz Abdulla X-Patchwork-Id: 903 Message-Id: <48D7A3D7.2010602@nvidia.com> To: Jeff Garzik , Manfred Spraul , Andrew Morton , nedev 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 --- 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 };