aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2001-06-25 04:13:54 +0000
committerWarner Losh <imp@FreeBSD.org>2001-06-25 04:13:54 +0000
commit9ae6dc2e120147032408fb909981b7f2ea3e6267 (patch)
tree58cc23d5dc5ce8804a41880e3c58f43dd6f16b4a /sys
parent004c9c5da2723f154106e8955ce5d05250f8e94e (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/pccard/pcic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 89c14cd1cd22..3176ce6a96da 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -692,9 +692,13 @@ int
pcic_setup_intr(device_t dev, device_t child, struct resource *irq,
int flags, driver_intr_t *intr, void *arg, void **cookiep)
{
+ struct pcic_softc *sc = device_get_softc(dev);
struct pccard_devinfo *devi = device_get_ivars(child);
int err;
+ if (sc->csc_route == pci_parallel && (flags & INTR_FAST))
+ return (EINVAL);
+
if (((1 << rman_get_start(irq)) & PCIC_INT_MASK_ALLOWED) == 0) {
device_printf(dev, "Hardware does not support irq %ld.\n",
rman_get_start(irq));