On Sat, 8 Jul 2006, David Lloyd wrote:
I have a gentoo 2.6.16 kernel (which includes the changes to support
pata+sata in promise_sata), and I applied alan's pata patch over it.
Initial results are great, except for one problem: the sata_promise
controller acts as if it is no longer DMA-capable, reporting the
following on detection:
sata_promise PATA port found
ata1: SATA max PIO4 cmd 0xF8804200 ctl 0xF8804238 bmdma 0x0 irq 16
ata2: SATA max PIO4 cmd 0xF8804280 ctl 0xF88042B8 bmdma 0x0 irq 16
ata3: PATA max PIO4 cmd 0xF8804300 ctl 0xF8804338 bmdma 0x0 irq 16
Ok, figured out where the PIO thing was coming from at least. On
(roughly) line 4703 there's a chunk of code like this:
/* Tidy up if we have no bus master base
Not sure this is the right spot to do it */
if (ap->ioaddr.bmdma_addr == 0) {
ap->udma_mask = 0;
ap->mwdma_mask = 0;
}
This bit of code ate my DMA. I commented out the udma_mask one and
everything works great.
- DML
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html