IDE driver in polling mode

Michael michaelzwrk at gmail.com
Wed Apr 11 18:39:58 EST 2007


Doesn't libata have to do with SCSI devices? I'm afraid it wouldn't
work with CF, which is P-ATA compatible.

Wouldn't it work just to call ide_intr() explicitly from some polling
function, as Mark suggested?

Michael

On 4/10/07, Alan Cox <alan at lxorguk.ukuu.org.uk> wrote:
> > The only real restriction in libata is in ata_device_add(), which
> > unconditionally registers an irq handler.  Make a few changes there, add
> > a few flags, and the existing polling code will kick in.
>
> Obvious thing to do would be to do this if the IRQ number passed in is 0
> rather than aborting as we do now. In theory ISAPnP devices may be
> IRQless too.
>
> Alan
>



More information about the Linuxppc-embedded mailing list