Hopefully, there will be a register on the card that will have a bit
such as "IRQ pending". You should be able to disable all interrupts
and poll this register until "IRQ pending" is true. However, you
shouldn't turn off interrupts for too long, since there are generally
other interrupts that need processing.
I would guess that whoever wrote the specs for this card never wrote
a driver for a real operating system. After you have the thing
working with interrupts off, I would try it with interrupts on, just
for kicks. It will probably work, at least most of the time.
And remember: no non-terminating loops in kernel mode. (I've been
careless too many times.)
dave...
<ds@stm.lbl.gov>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu