diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/cy/cy_pci.c | 2 | ||||
-rw-r--r-- | sys/pci/cy_pci.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/cy/cy_pci.c b/sys/dev/cy/cy_pci.c index 0cda3bb..70af94e 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 0cda3bb..70af94e 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, |