lkml.org 
[lkml]   [2006]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: disabling dma/new ide interface 2.6.18-rc4-mm1
From
Date
Ar Llu, 2006-08-21 am 15:27 +0100, ysgrifennodd Bahadir Balban:
> Hi,
>
> I am trying to implement a basic ide driver based on ata_generic.c.
> Its a pio-only device.
>
> How do I disable dma on the new interface? Changing ata_port_info fields?

ata_generic.c assumes the BIOS set up the timings and the device follows
PCI SFF. In those cases it already correctly handles PIO only
controllers.

If you are trying to write a driver for a non PCI motherboard device (Eg
on an embedded board) then drivers/ata/pata_qdi.c may be a better
example to follow as it sets up all the device ports by hand as a
platform device.

If you want PIO only then don't provide mwdma or udma mode masks in the
ata_port_info.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-21 18:07    [W:0.061 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site