aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2000-07-04 01:57:37 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2000-07-04 01:57:37 +0000
commitb4db493aec5c3d31f7906c108b20ee51f6672fa2 (patch)
tree19d4a812c85488a822ae3e37ef665b530b79ef62
parent463c9adbf37860ed9de45c82eb23287bd11634af (diff)
Notes
-rw-r--r--sys/alpha/pci/pcibus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/alpha/pci/pcibus.c b/sys/alpha/pci/pcibus.c
index f72e9c034f87..2809ff04efb9 100644
--- a/sys/alpha/pci/pcibus.c
+++ b/sys/alpha/pci/pcibus.c
@@ -206,6 +206,7 @@ alpha_platform_pci_setup_intr(device_t dev, device_t child,
driver_intr_t *intr, void *arg,
void **cookiep)
{
+#if NISA > 0
/*
* XXX - If we aren't the resource manager for this IRQ, assume that
* it is actually handled by the ISA PIC.
@@ -214,6 +215,7 @@ alpha_platform_pci_setup_intr(device_t dev, device_t child,
return isa_setup_intr(dev, child, irq, flags, intr, arg,
cookiep);
else
+#endif
return bus_generic_setup_intr(dev, child, irq, flags, intr,
arg, cookiep);
}
@@ -222,6 +224,7 @@ int
alpha_platform_pci_teardown_intr(device_t dev, device_t child,
struct resource *irq, void *cookie)
{
+#if NISA > 0
/*
* XXX - If we aren't the resource manager for this IRQ, assume that
* it is actually handled by the ISA PIC.
@@ -229,6 +232,7 @@ alpha_platform_pci_teardown_intr(device_t dev, device_t child,
if(irq->r_rm != &irq_rman)
return isa_teardown_intr(dev, child, irq, cookie);
else
+#endif
return bus_generic_teardown_intr(dev, child, irq, cookie);
}