public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* parport - interrupt sharing possible?
@ 2004-07-12  3:51 Ryan Underwood
  2004-07-12 14:03 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Underwood @ 2004-07-12  3:51 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]


Hi,

Does anyone know if the generic parport interrupt handler is okay (or not)
for sharing interrupts?  The reason I ask is that I have a PCI parallel
card with two ports on it.  Without a IRQ sharing capability, it is not
possible for both of them to operate in interrupt-driven mode.  I tested
a quick hack to enable IRQ sharing:
http://home.icequake.net/~nemesis/parport.diff

and it seems to work okay with both ports in use.  I'm hoping someone
more knowledgeable on the parallel port subject (Tim Waugh?) can shed
some light on whether this is acceptable or not.  The interrupt handler
eventually ends up in parport_ieee1284_interrupt which really doesn't do
much besides wake up sleepers.

Thanks!

PS: Heh, the power just went out and back on as I wrote this.  Giving thanks
for having multiple UPS units around!

-- 
Ryan Underwood, <nemesis@icequake.net>

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2004-07-12 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-12  3:51 parport - interrupt sharing possible? Ryan Underwood
2004-07-12 14:03 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox