pata_hpt366: fix clock detection
authorTejun Heo <tj@kernel.org>
Mon, 8 Dec 2008 09:48:42 +0000 (18:48 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 9 Dec 2008 05:43:40 +0000 (00:43 -0500)
commit2456eb819be7aa2cac73359c2855dfa30e46d75a
treea8049a0bb63aef39de440b66ba6e0f8c51b2b34d
parentf7a8db89c1f42e504bb12d2ae399cd96f755a7db
pata_hpt366: fix clock detection

pata_hpt366 had its clock detection wrong and detected 25Mhz as 40Mhz
and vice-versa.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_hpt366.c