Skip to content

Commit

Permalink
forcedeth fix: take phy out of reset during power up
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ayaz Abdulla authored and Jeff Garzik committed Sep 25, 2008
1 parent 6c2a9ef commit 1545e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/forcedeth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit 1545e20

Please sign in to comment.