]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ata/pata_hpt366.c
[PATCH] pata_hpt366: fix typo
[linux-2.6-omap-h63xx.git] / drivers / ata / pata_hpt366.c
index cf656ecbe5073359b3c02b5faaeee9313f476740..8c757438f350329e47e045b88a930587e9267520 100644 (file)
@@ -429,7 +429,7 @@ static int hpt36x_init_one(struct pci_dev *dev, const struct pci_device_id *id)
 
        /* PCI clocking determines the ATA timing values to use */
        /* info_hpt366 is safe against re-entry so we can scribble on it */
-       switch(reg1 & 0x700) {
+       switch((reg1 & 0x700) >> 8) {
                case 5:
                        info_hpt366.private_data = &hpt366_40;
                        break;