This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / i386 / pci / fixup.c
index d436e00..ac6acb3 100644 (file)
@@ -91,6 +91,15 @@ static void __devinit  pci_fixup_ide_trash(struct pci_dev *d)
 {
        int i;
 
+       /*
+        * Runs the fixup only for the first IDE controller
+        * (Shai Fultheim - shai@ftcon.com)
+        */
+       static int called = 0;
+       if (called)
+               return;
+       called = 1;
+
        /*
         * There exist PCI IDE controllers which have utter garbage
         * in first four base registers. Ignore that.