]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] More HPT374 driver merge woes
authorJindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
Mon, 23 Aug 2004 07:07:18 +0000 (00:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 07:07:18 +0000 (00:07 -0700)
There's a misplaced check returning error for
hpt_minimum_revision(dev,8) == TRUE still there, making the previous
fixes useless for the early revision HPT cards.

This fixes it.

drivers/ide/pci/hpt366.c

index 62203fb92ec263dc7080e71d7d16074c97fa09be..ce740ad2e59598738bc425a9d6814ae525df19e6 100644 (file)
@@ -991,11 +991,6 @@ static int __devinit init_hpt37x(struct pci_dev *dev)
        if (pci_get_drvdata(dev)) 
                goto init_hpt37X_done;
        
-       if (hpt_minimum_revision(dev,8))
-       {
-               printk(KERN_ERR "HPT374: Only 33MHz PCI timings are supported.\n");
-               return -EOPNOTSUPP;
-       }
        /*
         * adjust PLL based upon PCI clock, enable it, and wait for
         * stabilization.