git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ata: hpt366: fix incorrect mask when checking at cmd_high_time
[sfrench/cifs-2.6.git]
/
drivers
/
ata
/
pata_hpt366.c
diff --git
a/drivers/ata/pata_hpt366.c
b/drivers/ata/pata_hpt366.c
index e5fb7525a5df4595c0ba8f969ee4e74d6639f6a7..a219a503c22959d3e020d90205fbe74df7fbd33f 100644
(file)
--- a/
drivers/ata/pata_hpt366.c
+++ b/
drivers/ata/pata_hpt366.c
@@
-368,7
+368,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 & 0x
7
00) >> 8) {
+ switch ((reg1 & 0x
f
00) >> 8) {
case 9:
hpriv = &hpt366_40;
break;