Re: Lucent & Prism interrupts?
"M. Warner Losh" <[email protected]> Sun, 15 Sep 2002 14:54:11 -0600 (MDT)
| Newsgroups | gmane.network.wireless.bsd.general |
|---|---|
| Message-ID | <[email protected]> |
In message: <[email protected]> David Young <[email protected]> writes: : When my driver for Lucent/Prism receives an interrupt, if I read the : event status register, I handle only a few of the events indicated in : the register, I acknowledge the events I handle, and then I exit, will : I receive a second hardware interrupt right away, because I left some : events unacknowledged? : : Does it depend in any way whether I disable and re-enable interrupts at : the top and bottom of my interrupt handler? : : I guess another way of asking this is, "Are interrupts from Lucent and : Prism adapters edge- or level-triggered?" I think that it is likely that you'd get another interrupt, but not certain. For PCI cards, the answer almost certainly is yes. For pccard in an ISA adapter the ansewr is maybe, but likely yes (any write to the interrupt status register causes an Edge when you have any bits set). You are, of course, better off clearing all the bits in your ISR. Warner -- *bsd wireless list, a bawug thing <http://www.bawug.org/> [un]subscribe: http://lists.bawug.org/mailman/listinfo/bsd-wireless/