[haiku-development] Re: bug 2084

  • From: Clemens Zeidler <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 17 Feb 2009 22:49:28 +0100


http://dev.haiku-os.org/changeset/26492
So, did both ethernet and usb work before that change, or did they not work but not hang either?
on boot it hangs with a stick. Plug it in during runtime works fine (net and usb) in 26491.


Did you do this is intr_handler in bus.c or in the fxp-specific handler?

Forgive my ignorance, but could you point me to where the interrupt handlers are registered?

see
http://haiku.it.su.se:8180/source/xref/src/libs/compat/freebsd_network/bus.c

intr_wrapper (line 229) is the haiku interrupt handler. Here just return not handled...
In bus_setup_intr (line 292) the interrupt is installed.
The intr_handler (line 256) is a thread function which dispatch the interrupt to the driver. (Why it must be done in a seperate thread?)

Regards,
        Clemens



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Other related posts: