diff --git a/sys/dev/cy/cy_pci.c b/sys/dev/cy/cy_pci.c index 0cda3bbf1460..70af94ec9d98 100644 --- a/sys/dev/cy/cy_pci.c +++ b/sys/dev/cy/cy_pci.c @@ -144,6 +144,8 @@ cy_pci_attach(dev) #ifdef CY_PCI_FASTINTR irq_setup = bus_setup_intr(dev, irq_res, INTR_TYPE_TTY | INTR_FAST, (driver_intr_t *)cyintr, (void *)adapter, &irq_cookie); +#else + irq_setup = ENXIO; #endif if (irq_setup != 0) irq_setup = bus_setup_intr(dev, irq_res, INTR_TYPE_TTY, diff --git a/sys/pci/cy_pci.c b/sys/pci/cy_pci.c index 0cda3bbf1460..70af94ec9d98 100644 --- a/sys/pci/cy_pci.c +++ b/sys/pci/cy_pci.c @@ -144,6 +144,8 @@ cy_pci_attach(dev) #ifdef CY_PCI_FASTINTR irq_setup = bus_setup_intr(dev, irq_res, INTR_TYPE_TTY | INTR_FAST, (driver_intr_t *)cyintr, (void *)adapter, &irq_cookie); +#else + irq_setup = ENXIO; #endif if (irq_setup != 0) irq_setup = bus_setup_intr(dev, irq_res, INTR_TYPE_TTY,