]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[libata] sata_mv: minor bug fixes, enhancements, and cleanups (prep for new EH)
authorJeff Garzik <jeff@garzik.org>
Thu, 12 Jul 2007 18:30:19 +0000 (14:30 -0400)
committerJeff Garzik <jeff@garzik.org>
Thu, 12 Jul 2007 18:30:19 +0000 (14:30 -0400)
commit4537deb5e90b717a725b3d74b58b4bb1d28443d0
tree7bb086d58f52e5271903cd934ae13f82e74b7aae
parentc5d3e45a2200a0905dc45b72714726b7aac3aaf1
[libata] sata_mv: minor bug fixes, enhancements, and cleanups (prep for new EH)

* Continue replacing "CONSTANT & var" tests with "var & CONSTANT"
* Don't clear EDMA_CFG_NCQ_GO_ON_ERR on Gen-IIE, where that bit does
  not exist
* Set I/O Id field in descriptor, where present.  Appears to work
  fine on all versions, even though queueing is still disabled.
* call pci_set_mwi(), to (a) make sure cacheline size is set properly,
  and (b) enable MWI transactions
* Remove never-used handling of coalescing interrupt bits (these events
  are always masked)

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_mv.c