Commit:     436f137975507b0baab0859a253c3c9332c22f62
Parent:     e2e01bfef8399c8f39c9fdf4a5576039069e760c
Author:     Michael Chan <[EMAIL PROTECTED]>
AuthorDate: Tue Feb 13 12:16:45 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Feb 13 12:16:45 2007 -0800

    [TG3]: Save MSI state before suspend.
    This fixes the following problem:
    The MSI state needs to be saved during suspend.  PCI state saved
    during tg3_init_one() does not contain valid MSI state because
    MSI hasn't been enabled.
    Signed-off-by: Michael Chan <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 drivers/net/tg3.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index e136bae..0b5b8e7 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -12016,6 +12016,9 @@ static int tg3_suspend(struct pci_dev *pdev, 
pm_message_t state)
        tp->tg3_flags &= ~TG3_FLAG_INIT_COMPLETE;
+       /* Save MSI address and data for resume.  */
+       pci_save_state(pdev);
        err = tg3_set_power_state(tp, pci_choose_state(pdev, state));
        if (err) {
                tg3_full_lock(tp, 0);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to