netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] forcedeth fix: take phy out of reset during power up
@ 2008-09-22 13:55 Ayaz Abdulla
  2008-09-25  2:15 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Ayaz Abdulla @ 2008-09-22 13:55 UTC (permalink / raw)
  To: Jeff Garzik, Manfred Spraul, Andrew Morton, nedev

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

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>


[-- Attachment #2: patch-forcedeth-phyreset-powerup --]
[-- Type: text/plain, Size: 410 bytes --]

--- 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
 };

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] forcedeth fix: take phy out of reset during power up
  2008-09-22 13:55 [PATCH] forcedeth fix: take phy out of reset during power up Ayaz Abdulla
@ 2008-09-25  2:15 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-09-25  2:15 UTC (permalink / raw)
  To: Ayaz Abdulla; +Cc: Manfred Spraul, Andrew Morton, nedev

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-25  2:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22 13:55 [PATCH] forcedeth fix: take phy out of reset during power up Ayaz Abdulla
2008-09-25  2:15 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).