diff options
author | Ayaz Abdulla <aabdulla@nvidia.com> | 2008-09-22 09:55:35 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-24 22:11:42 -0400 |
commit | 1545e205db6e797861d644e3459339109f7573ff (patch) | |
tree | 3fa22d9a8fce3ac488dfa2243b18bba0d9b439e9 | |
parent | 6c2a9efadec464f848b18216e41783d3c01c7d10 (diff) |
forcedeth fix: take phy out of reset during power up
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>
-rw-r--r-- | drivers/net/forcedeth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index 0b6ecef9a849..35e582d3fd2a 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c | |||
@@ -337,7 +337,7 @@ enum { | |||
337 | NvRegMSIXIrqStatus = 0x3f0, | 337 | NvRegMSIXIrqStatus = 0x3f0, |
338 | 338 | ||
339 | NvRegPowerState2 = 0x600, | 339 | NvRegPowerState2 = 0x600, |
340 | #define NVREG_POWERSTATE2_POWERUP_MASK 0x0F11 | 340 | #define NVREG_POWERSTATE2_POWERUP_MASK 0x0F15 |
341 | #define NVREG_POWERSTATE2_POWERUP_REV_A3 0x0001 | 341 | #define NVREG_POWERSTATE2_POWERUP_REV_A3 0x0001 |
342 | #define NVREG_POWERSTATE2_PHY_RESET 0x0004 | 342 | #define NVREG_POWERSTATE2_PHY_RESET 0x0004 |
343 | }; | 343 | }; |