IDE driver in polling mode

Michael michaelzwrk at gmail.com
Wed Apr 11 01:31:32 EST 2007


Thanks, looks like a good plan...

On 4/10/07, Mark Lord <liml at rtr.ca> wrote:
> > Michael wrote:
> >
> >> I'd like to know whether it is possible to use IDE driver (ide-disk)
> >> in polling mode, instead of using IRQ.
>
> This should be doable, with a small amount of hacking.
> Mostly, you just need to use add_timer() to set up a polling
> function that simply calls ide_intr() and then does add_timer()
> again for the next poll.
>
> For your purposes, it could be as simple as five lines of C.
>
> Cheers
>



More information about the Linuxppc-embedded mailing list