]> err.no Git - linux-2.6/commitdiff
[AGPGART] Fix Nforce3 suspend on amd64.
authorDave Jones <davej@redhat.com>
Sun, 21 May 2006 21:11:42 +0000 (17:11 -0400)
committerDave Jones <davej@redhat.com>
Sun, 21 May 2006 21:11:42 +0000 (17:11 -0400)
kernel.org bugzilla #6206

Based on patch from Serge Belyshev <belyshev@depni.sinp.msu.ru>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/amd64-agp.c

index 36517d4d1ad9da6fdd80dd2f1180a7269abd7437..ac3c33a2e37d7b7ed7d1b3da0c7428f0e448dec8 100644 (file)
@@ -617,6 +617,9 @@ static int agp_amd64_resume(struct pci_dev *pdev)
        pci_set_power_state(pdev, PCI_D0);
        pci_restore_state(pdev);
 
+       if (pdev->vendor == PCI_VENDOR_ID_NVIDIA)
+               nforce3_agp_init(pdev);
+
        return amd_8151_configure();
 }