1 From: Tejun Heo <tj@kernel.org>
2 Subject: pata_hpt366: fix clock detection
5 pata_hpt366 had its clock detection wrong and detected 25Mhz as 40Mhz
6 and vice-versa. Fix it.
8 Signed-off-by: Tejun Heo <tj@kernel.org>
9 Signed-off-by: Tejun Heo <teheo@suse.de>
11 drivers/ata/pata_hpt366.c | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
14 Index: work/drivers/ata/pata_hpt366.c
15 ===================================================================
16 --- work.orig/drivers/ata/pata_hpt366.c
17 +++ work/drivers/ata/pata_hpt366.c
18 @@ -382,10 +382,10 @@ static int hpt36x_init_one(struct pci_de
19 /* PCI clocking determines the ATA timing values to use */
20 /* info_hpt366 is safe against re-entry so we can scribble on it */
21 switch((reg1 & 0x700) >> 8) {