I'm new at this myself, but how about creating a minor number for each
ISR?  When the BH runs, it wakes up the processing waiting on the
device for that ISR.  The user code opens as whatever devices it's
interested in and waits for interrupts using select.


robert

* Brett Smith ([EMAIL PROTECTED]) [001030 09:25]:
> 
> We have written a char driver for our proprietary h/w.  This driver
> handles a
> multitude of interrupts from the h/w in the following fashion:  The ISR
> reads/saves the status register (indication of which int was hit) in
> global, and the marks the BH to run.  The BH uses the global to call one
> of 32 "ISRs" (an array of func ptrs).  I would like to be able to
> install an "ISR" dynamically from user code (the module has already been
> installed).  Is this possible?
> 
> If it is possible, how does the build/link work?
> 
> thanks,
> [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to