Re: installing an ISR from user code

2000-10-30 Thread Richard B. Johnson
On Mon, 30 Oct 2000, Tim Waugh wrote: > On Mon, Oct 30, 2000 at 11:06:59AM -0800, [EMAIL PROTECTED] wrote: > > > 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. > > ... which wo

Re: installing an ISR from user code

2000-10-30 Thread Anton Altaparmakov
At 17:23 30/10/2000, Brett Smith wrote: >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

Re: installing an ISR from user code

2000-10-30 Thread Tim Waugh
On Mon, Oct 30, 2000 at 11:06:59AM -0800, [EMAIL PROTECTED] wrote: > 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. ... which won't get run until after the interrupt is processed, b

Re: installing an ISR from user code

2000-10-30 Thread rread
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

installing an ISR from user code

2000-10-30 Thread Brett Smith
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