There seems to be a lot of code in the IDE subsystem relating to
interrupts. Is there a way to set a device in polled (i.e.
non-interrupt) mode? Maybe some way to run the tasklet/bh periodically?
Does the IDE system want to monitor my ATA device's Ready_NotBusy
interrupt?
Trevor
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On Fri, 2003-05-23 at 17:36, Trevor Woerner wrote:
There seems to be a lot of code in the IDE subsystem relating to
interrupts. Is there a way to set a device in polled (i.e.
non-interrupt) mode? Maybe some way to run the tasklet/bh periodically?
Does the IDE system want to monitor my ATA device's Ready_NotBusy
interrupt?
No, linux IDE layer can't do that in a sane way, you are asking for
a _lot_ of trouble... (especially if doing DMA)
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On May 23, 2003 12:09 pm, Benjamin Herrenschmidt wrote:
On Fri, 2003-05-23 at 17:36, Trevor Woerner wrote:
quoted
There seems to be a lot of code in the IDE subsystem relating to
interrupts. Is there a way to set a device in polled (i.e.
non-interrupt) mode? Maybe some way to run the tasklet/bh
periodically?
Does the IDE system want to monitor my ATA device's Ready_NotBusy
interrupt?
No, linux IDE layer can't do that in a sane way, you are asking for
a _lot_ of trouble... (especially if doing DMA)
"No" there isn't a way to set the device into polled mode, or "No" it
doesn't monitor the Ready_NotBusy interrupt?
Trevor
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On Sun, 25 May 2003, Trevor Woerner wrote:
On May 23, 2003 12:09 pm, Benjamin Herrenschmidt wrote:
quoted
On Fri, 2003-05-23 at 17:36, Trevor Woerner wrote:
quoted
There seems to be a lot of code in the IDE subsystem relating to
interrupts. Is there a way to set a device in polled (i.e.
non-interrupt) mode? Maybe some way to run the tasklet/bh
periodically?
Does the IDE system want to monitor my ATA device's Ready_NotBusy
interrupt?
No, linux IDE layer can't do that in a sane way, you are asking for
a _lot_ of trouble... (especially if doing DMA)
"No" there isn't a way to set the device into polled mode, or "No" it
doesn't monitor the Ready_NotBusy interrupt?
Can't you use the Ready_NotBusy interrupt as IDE interrupt?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/