diff options
author | jhb <jhb@FreeBSD.org> | 2000-05-10 18:54:28 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-05-10 18:54:28 +0000 |
commit | a1a769d93e6080bab3ab2c67906c3d2586e16aed (patch) | |
tree | 39d188bd68492c613fb72d7deeb3187c6473250e /sys/alpha/pci/cia_pci.c | |
parent | b1c5277216ac06bbdbf908c1fb8d2080a48c793e (diff) | |
download | FreeBSD-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/cia_pci.c')
-rw-r--r-- | sys/alpha/pci/cia_pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/alpha/pci/cia_pci.c b/sys/alpha/pci/cia_pci.c index 32bf645..f9b7268 100644 --- a/sys/alpha/pci/cia_pci.c +++ b/sys/alpha/pci/cia_pci.c @@ -32,6 +32,7 @@ #include <sys/module.h> #include <sys/bus.h> #include <machine/bus.h> +#include <machine/md_var.h> #include <sys/rman.h> #include <pci/pcivar.h> @@ -69,8 +70,8 @@ static device_method_t cia_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 } }; |