[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <4569F703.8010209@shaw.ca>
Date: Sun, 26 Nov 2006 14:20:19 -0600
From: Robert Hancock <hancockr@...w.ca>
To: linux-kernel <linux-kernel@...r.kernel.org>,
linux-ide@...r.kernel.org
Cc: Jeff Garzik <jeff@...zik.org>, Andrew Morton <akpm@...l.org>,
Nicolas.Mailhot@...oste.net
Subject: [PATCH -mm] 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@...w.ca>
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@...pamshaw.ca
Home Page: http://www.roberthancock.com/
View attachment "sata_nv-fix-atapi-in-adma-mode.patch" of type "text/plain" (15093 bytes)
Powered by blists - more mailing lists