Update comment about fast interrupts to be closer to reality

This commit is contained in:
Warner Losh 2004-07-22 07:44:10 +00:00
parent f8b82da4a7
commit 284b024b2b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132530

View file

@ -893,6 +893,10 @@ cbb_setup_intr(device_t dev, device_t child, struct resource *irq,
* things since those interrupts are PCI and shared. Since we use
* the PCI interrupt for the status change interrupts, it can't be
* free for use by the driver. Fast interrupts must not be shared.
* Well, this is no longer strictly true. You can have multiple
* FAST ISRs, but can't mix fast and slow, so we have to assume
* least common denominator until the base system supports mixing
* and matching better.
*/
if ((flags & INTR_FAST) != 0)
return (EINVAL);