]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
jmicron ATA: reimplement jmicron ATA quirk
authorTejun Heo <htejun@gmail.com>
Mon, 26 Feb 2007 11:16:13 +0000 (20:16 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 2 Mar 2007 01:19:45 +0000 (20:19 -0500)
commit5ee2ae7fb2079c5775d8802cd282140d71632a2d
treee05aa2cb4197c5b6ffc949f44f99a125a4d3c2ed
parent960627b7adf3645e4969b4bfaf03360caabbe76a
jmicron ATA: reimplement jmicron ATA quirk

Reimplement jmicron ATA quirk.

* renamed to quirk_jmicron_ata()
* quirk is invoked only for the affected controllers
* programming is stricter.  e.g. conf5 bit24 is cleared if
  unnecessary.
* code factored for readability
* JMB360 and JMB368 are programmed into proper mode

Verified on JMB360, 363 and 368.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/pci/quirks.c