CVSROOT:        /cvs
Module name:    src
Changes by:     mgloc...@cvs.openbsd.org        2009/07/12 12:24:23

Modified files:
        sys/dev/ic     : malo.c 

Log message:
In a error case in malo_init (e.g. can't load the firmware),
always call malo_stop which removes the previously registered
interrupt handler from the cardbus interrupt handler chain.
Otherwise, since malo_init gets called twice in a error case,
our interrupt handler got registered twice and on the next
device detach, just the last registered interrupt handler got
removed, which leaves one left.  That caused a kernel page fault
trap as soon our "zombie" interrupt handler got called.

Fix a typo while here.

Reply via email to