linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ide interrupts
@ 2003-05-23 15:36 Trevor Woerner
  2003-05-23 16:09 ` Benjamin Herrenschmidt
  2003-05-23 16:26 ` linas
  0 siblings, 2 replies; 5+ messages in thread
From: Trevor Woerner @ 2003-05-23 15:36 UTC (permalink / raw)
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ide interrupts
  2003-05-23 15:36 ide interrupts Trevor Woerner
@ 2003-05-23 16:09 ` Benjamin Herrenschmidt
  2003-05-25 23:12   ` Trevor Woerner
  2003-05-23 16:26 ` linas
  1 sibling, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2003-05-23 16:09 UTC (permalink / raw)
  To: ppc339; +Cc: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ide interrupts
  2003-05-23 15:36 ide interrupts Trevor Woerner
  2003-05-23 16:09 ` Benjamin Herrenschmidt
@ 2003-05-23 16:26 ` linas
  1 sibling, 0 replies; 5+ messages in thread
From: linas @ 2003-05-23 16:26 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: linuxppc-dev


On Fri, May 23, 2003 at 11:36:51AM -0400, 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?

Why?

> Does the IDE system want to monitor my ATA device's Ready_NotBusy
> interrupt?

Why?

--linas

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ide interrupts
  2003-05-23 16:09 ` Benjamin Herrenschmidt
@ 2003-05-25 23:12   ` Trevor Woerner
  2003-05-26  6:47     ` Geert Uytterhoeven
  0 siblings, 1 reply; 5+ messages in thread
From: Trevor Woerner @ 2003-05-25 23:12 UTC (permalink / raw)
  To: linuxppc-dev


On May 23, 2003 12:09 pm, Benjamin Herrenschmidt wrote:
> 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)

"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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ide interrupts
  2003-05-25 23:12   ` Trevor Woerner
@ 2003-05-26  6:47     ` Geert Uytterhoeven
  0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2003-05-26  6:47 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: Linux/PPC Development


On Sun, 25 May 2003, Trevor Woerner wrote:
> On May 23, 2003 12:09 pm, Benjamin Herrenschmidt wrote:
> > 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)
>
> "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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-05-26  6:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-23 15:36 ide interrupts Trevor Woerner
2003-05-23 16:09 ` Benjamin Herrenschmidt
2003-05-25 23:12   ` Trevor Woerner
2003-05-26  6:47     ` Geert Uytterhoeven
2003-05-23 16:26 ` linas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).