[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070803.205709.126573435.davem@davemloft.net>
Date: Fri, 03 Aug 2007 20:57:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mchan@...adcom.com
Cc: joachim.deguara@....com, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, michal.k.k.piotrowski@...il.com,
netdev@...r.kernel.org, linux-acpi@...r.kernel.org
Subject: Re: [REGRESSION] tg3 dead after s2ram
From: "Michael Chan" <mchan@...adcom.com>
Date: Thu, 02 Aug 2007 12:10:29 -0700
> [TG3]: Fix suspend/resume problem.
>
> Joachim Deguara <joachim.deguara@....com> reported that tg3 devices
> would not resume properly if the device was shutdown before the system
> was suspended. In such scenario where the netif_running state is 0,
> tg3_suspend() would not save the PCI state and so the memory enable bit
> and bus master enable bit would be lost.
>
> We fix this by always saving and restoring the PCI state in
> tg3_suspend() and tg3_resume() regardless of netif_running() state.
>
> Signed-off-by: Michael Chan <mchan@...adcom.com>
Patch applied.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists