lkml.org 
[lkml]   [1997]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectInterrupt sharing.
Date
From
I have two network cards in my Linux box - a Realtek 8029 and a 3Com 3c509. 
The former has support in the kernel, and the latter is available as a module.
If I tell them both to use the same interrupt, the first card will work fine
until I ifconfig the second, at which point it takes over the IRQ and never
gives it back. Is this the correct behaviour? Should they be able to share the
interrupts? If not, should not the 3c509 driver at least restore the IRQ
handler to it's original state when it finishes, so the other card can
continue working?

Also, the 3c509 driver attempts to release the IRQ twice - once when
ifconfig'ed down and again when the module is removed. Is this a hangover from
the time when it used to hog the IRQ all the time it was installed?

With regard to sharing of interrupts, will the kernel handle more than one
serial port on the same IRQ simultaneously (i.e. COM1/3, COM2/4) ?
---- ------------------------------------------------ ----
David Woodhouse, WWW: http://dwmw2.robinson.cam.ac.uk
Robinson College, Email: dwmw2@cam.ac.uk
Cambridge, Tel: +44 (0) 976 658355
CB3 9AN, (n)talk: dwmw2@dwmw2.robinson.cam.ac.uk
England. PGP KEY: finger pgp@dwmw2.robinson.cam.ac.uk
---- ------------------------------------------------ ----



\
 
 \ /
  Last update: 2005-03-22 13:38    [W:2.029 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site