]> err.no Git - linux-2.6/commit
pata_hpt{37x|3x2n}: fix clock reporting (take 2)
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 10 Aug 2007 17:02:15 +0000 (21:02 +0400)
committerJeff Garzik <jeff@garzik.org>
Wed, 15 Aug 2007 08:19:07 +0000 (04:19 -0400)
commit80b8987c8feaf07a070f7cdcd55db024e9e200ec
tree8b279f1c71ed954b9a3d32036b6a1078899f14fc
parentd44a65f7bb0dae0bcc78de336b55a75b30ec2d2a
pata_hpt{37x|3x2n}: fix clock reporting (take 2)

Fix several inconsistencies in these drivers WRT reporting the clocks:

- when using DPLL mode, 'pata_hpt37x' driver reported the DPLL frequency as the
  PCI clock -- make it properly report both clocks and add the same ability to
  the 'pata_hpt3x2n' driver;

- both drivers sometimes use "pata_hpt3*:" and sometimes "hpt3*:" in the
  messages -- make them use only the former one;

- the message about failed DPLL stablizatios deserves KERN_ERR and a bang. :-)

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_hpt37x.c
drivers/ata/pata_hpt3x2n.c