diff options
author | Robert Hancock <hancockr@shaw.ca> | 2006-11-26 14:20:19 -0600 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-01 22:47:03 -0500 |
commit | 2dec7555e6bf2772749113ea0ad454fcdb8cf861 (patch) | |
tree | 740d37787c4968398f5cc6b18e7a47c7c51d51a6 /init | |
parent | 099156db555aabf54dc80b40abb628ce35d90065 (diff) | |
download | blackbird-op-linux-2dec7555e6bf2772749113ea0ad454fcdb8cf861.tar.gz blackbird-op-linux-2dec7555e6bf2772749113ea0ad454fcdb8cf861.zip |
[PATCH] sata_nv: fix ATAPI in ADMA mode
The attached patch against 2.6.19-rc6-mm1 fixes some problems in sata_nv
with ATAPI devices on controllers running in ADMA mode. Some of the
logic in the nv_adma_bmdma_* functions was inverted causing a bunch of
warnings and caused those functions not to work properly. Also, when an
ATAPI device is connected, we need to use the legacy DMA engine. The
code now disables the PCI configuration register bits for ADMA so that
this works, and ensures that no ATAPI DMA commands go through until this
is done.
Fixes Bugzilla http://bugzilla.kernel.org/show_bug.cgi?id=7538
Signed-off-by: Robert Hancock <hancockr@shaw.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions