]> git.baikalelectronics.ru Git - kernel.git/commit
jmicron: update quirk for JMB361/3/5/6
authorTejun Heo <htejun@gmail.com>
Tue, 23 Oct 2007 06:27:31 +0000 (15:27 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 24 Oct 2007 01:20:02 +0000 (21:20 -0400)
commit091fb527ce0ae50aa1a2114235b3424c32da8cc2
treeca3d801c4723f254c7ae398fc85cc8f1395173e9
parent5c643edbaa1e2b8ab1ca69650343534b72ed9c70
jmicron: update quirk for JMB361/3/5/6

Set bits 0, 4, 5 and 7 of PCI configuration register 0x40 in the
quirk.  This has the following effects and is recommended by the
vendor.

* Force enable of IDE channels (used to be left alone as BIOS
  configured)

* Change initial phase behavior of PIO cycle such that the host pulls
  down the bus instead of tristating it.  Vendor recommends this
  setting.

The above settings are better for the current generation of
controllers and needed for the upcoming next generation.

Tested on JMB363.

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