* disabling dma/new ide interface 2.6.18-rc4-mm1
@ 2006-08-21 14:27 Bahadir Balban
2006-08-21 16:24 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Bahadir Balban @ 2006-08-21 14:27 UTC (permalink / raw)
To: linux-kernel
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?
Thanks,
Bahadir
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: disabling dma/new ide interface 2.6.18-rc4-mm1
2006-08-21 14:27 disabling dma/new ide interface 2.6.18-rc4-mm1 Bahadir Balban
@ 2006-08-21 16:24 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2006-08-21 16:24 UTC (permalink / raw)
To: Bahadir Balban; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-21 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-21 14:27 disabling dma/new ide interface 2.6.18-rc4-mm1 Bahadir Balban
2006-08-21 16:24 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®