aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/hpt366.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/hpt366.c b/drivers/ide/hpt366.c
index f94baadbf424..0ceae5cbd89a 100644
--- a/drivers/ide/hpt366.c
+++ b/drivers/ide/hpt366.c
@@ -1012,7 +1012,7 @@ static int init_chipset_hpt366(struct pci_dev *dev)
1012 pci_read_config_dword(dev, 0x40, &itr1); 1012 pci_read_config_dword(dev, 0x40, &itr1);
1013 1013
1014 /* Detect PCI clock by looking at cmd_high_time. */ 1014 /* Detect PCI clock by looking at cmd_high_time. */
1015 switch((itr1 >> 8) & 0x07) { 1015 switch ((itr1 >> 8) & 0x0f) {
1016 case 0x09: 1016 case 0x09:
1017 pci_clk = 40; 1017 pci_clk = 40;
1018 break; 1018 break;