]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[AGPGART] Fix Nforce3 suspend on amd64.
authorDave Jones <davej@redhat.com>
Wed, 9 Aug 2006 22:03:27 +0000 (00:03 +0200)
committerAdrian Bunk <bunk@stusta.de>
Wed, 9 Aug 2006 22:03:27 +0000 (00:03 +0200)
kernel.org bugzilla #6206

Based on patch from Serge Belyshev <belyshev@depni.sinp.msu.ru>

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/char/agp/amd64-agp.c

index 1251b2515bbea9b0aabdbef1fd29a34197cabef8..bb75cd002776e092b69a4cef853d497ec544b767 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();
 }