diff options
author | mjacob <mjacob@FreeBSD.org> | 2002-03-01 23:10:19 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2002-03-01 23:10:19 +0000 |
commit | 61bd368590047d8f4d6d5bf380f9716fa74d810d (patch) | |
tree | 629f84972ad3abd596d87e64b31e5c7e2e23b1a2 /sys/alpha/mcbus/mcpcia.c | |
parent | 1090c48a394abcf2cce634967b761df386323cf1 (diff) | |
download | FreeBSD-src-61bd368590047d8f4d6d5bf380f9716fa74d810d.zip FreeBSD-src-61bd368590047d8f4d6d5bf380f9716fa74d810d.tar.gz |
Fix mcpcia.c so it compiles again.
Diffstat (limited to 'sys/alpha/mcbus/mcpcia.c')
-rw-r--r-- | sys/alpha/mcbus/mcpcia.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/alpha/mcbus/mcpcia.c b/sys/alpha/mcbus/mcpcia.c index 82be484..70be7f1 100644 --- a/sys/alpha/mcbus/mcpcia.c +++ b/sys/alpha/mcbus/mcpcia.c @@ -45,6 +45,7 @@ #include <machine/intrcnt.h> #include <machine/resource.h> #include <machine/sgmap.h> +#include <machine/prom.h> #include <vm/vm.h> #include <vm/vm_page.h> @@ -742,7 +743,7 @@ static device_method_t mcpcia_methods[] = { DEVMETHOD(bus_read_ivar, mcpcia_read_ivar), DEVMETHOD(bus_setup_intr, mcpcia_setup_intr), DEVMETHOD(bus_teardown_intr, mcpcia_teardown_intr), - DEVMETHOD(bus_alloc_resource, pci_alloc_resource), + DEVMETHOD(bus_alloc_resource, alpha_pci_alloc_resource), DEVMETHOD(bus_release_resource, pci_release_resource), DEVMETHOD(bus_activate_resource, pci_activate_resource), DEVMETHOD(bus_deactivate_resource, pci_deactivate_resource), |