diff options
author | bde <bde@FreeBSD.org> | 2002-02-02 02:05:44 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-02-02 02:05:44 +0000 |
commit | f95902db101fe3590602a3288624a333ca1c4e2e (patch) | |
tree | 395be4fb8bc6ae9920a1217c01b541db9ae0a6fe /sys/dev/cy | |
parent | ca79facdf4005810aaa1b757a00e3a8428d8cfd8 (diff) | |
download | FreeBSD-src-f95902db101fe3590602a3288624a333ca1c4e2e.zip FreeBSD-src-f95902db101fe3590602a3288624a333ca1c4e2e.tar.gz |
Fixed breakage of interrupt setup in previous commit. It used an
uninitialized variable in the !CY_PCI_FASTINTR case (*blush*).
Diffstat (limited to 'sys/dev/cy')
-rw-r--r-- | sys/dev/cy/cy_pci.c | 2 |
1 files changed, 2 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, |