It is spelled INTR_FAST in current and INTR_TYPE_FAST in stable, so try to
make allowances.
This commit is contained in:
parent
9d0ea05213
commit
29edba568b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80470
@ -708,7 +708,11 @@ pcic_setup_intr(device_t dev, device_t child, struct resource *irq,
|
||||
struct pccard_devinfo *devi = device_get_ivars(child);
|
||||
int err;
|
||||
|
||||
#if __FreeBSD_version >= 500000
|
||||
if (sc->csc_route == pci_parallel && (flags & INTR_FAST))
|
||||
#else
|
||||
if (sc->csc_route == pci_parallel && (flags & INTR_TYPE_FAST))
|
||||
#endif
|
||||
return (EINVAL);
|
||||
|
||||
if (((1 << rman_get_start(irq)) & PCIC_INT_MASK_ALLOWED) == 0) {
|
||||
@ -852,4 +856,3 @@ pcic_do_stat_delta(struct pcic_slot *sp)
|
||||
else
|
||||
pccard_event(sp->slt, card_inserted);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user