summaryrefslogtreecommitdiffstats
path: root/sys/alpha/pci/tsunami_pci.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-05-10 18:54:28 +0000
committerjhb <jhb@FreeBSD.org>2000-05-10 18:54:28 +0000
commita1a769d93e6080bab3ab2c67906c3d2586e16aed (patch)
tree39d188bd68492c613fb72d7deeb3187c6473250e /sys/alpha/pci/tsunami_pci.c
parentb1c5277216ac06bbdbf908c1fb8d2080a48c793e (diff)
downloadFreeBSD-src-a1a769d93e6080bab3ab2c67906c3d2586e16aed.zip
FreeBSD-src-a1a769d93e6080bab3ab2c67906c3d2586e16aed.tar.gz
Handle PCI devices that actually use an ISA IRQ for the cia and tsunami
chipsets. An example of this is the USB controller on these chipsets. With this, I can now use USB devices on the test Alpha I am borrowing at the moment. Reviewed by: dfr, obrien
Diffstat (limited to 'sys/alpha/pci/tsunami_pci.c')
-rw-r--r--sys/alpha/pci/tsunami_pci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/alpha/pci/tsunami_pci.c b/sys/alpha/pci/tsunami_pci.c
index 5372420..17d7be2 100644
--- a/sys/alpha/pci/tsunami_pci.c
+++ b/sys/alpha/pci/tsunami_pci.c
@@ -33,6 +33,7 @@
#include <sys/malloc.h>
#include <sys/bus.h>
#include <machine/bus.h>
+#include <machine/md_var.h>
#include <sys/rman.h>
#include <pci/pcivar.h>
#include <alpha/pci/tsunamireg.h>
@@ -156,8 +157,8 @@ static device_method_t tsunami_pcib_methods[] = {
DEVMETHOD(bus_release_resource, bus_generic_release_resource),
DEVMETHOD(bus_activate_resource, bus_generic_activate_resource),
DEVMETHOD(bus_deactivate_resource, bus_generic_deactivate_resource),
- DEVMETHOD(bus_setup_intr, bus_generic_setup_intr),
- DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
+ DEVMETHOD(bus_setup_intr, alpha_platform_pci_setup_intr),
+ DEVMETHOD(bus_teardown_intr, alpha_platform_pci_teardown_intr),
{ 0, 0 }
};
OpenPOWER on IntegriCloud