summaryrefslogtreecommitdiffstats
path: root/sys/i386/pci
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-09-17 23:57:53 +0000
committerimp <imp@FreeBSD.org>2005-09-17 23:57:53 +0000
commitd01ccbd79e832c78b4229e46202ca7173c55319c (patch)
treed68e76ad93d6ef7fc93b4003e6e293216a74d30f /sys/i386/pci
parent02556fa478b1eb1a968e3174e45538a09260bc06 (diff)
downloadFreeBSD-src-d01ccbd79e832c78b4229e46202ca7173c55319c.zip
FreeBSD-src-d01ccbd79e832c78b4229e46202ca7173c55319c.tar.gz
Expose legacy_pcib_alloc_resource, and use it in the mptable pci bus
implementation, like other routines in the legacy bus. This should fix problems with resource allocation on MP systems without ACPI enabled.
Diffstat (limited to 'sys/i386/pci')
-rw-r--r--sys/i386/pci/pci_bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c
index afd4bc6..0c9fc3b 100644
--- a/sys/i386/pci/pci_bus.c
+++ b/sys/i386/pci/pci_bus.c
@@ -485,7 +485,7 @@ SYSCTL_ULONG(_hw_pci, OID_AUTO, host_mem_start, CTLFLAG_RDTUN,
"Limit the host bridge memory to being above this address. Must be\n\
set at boot via a tunable.");
-static struct resource *
+struct resource *
legacy_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid,
u_long start, u_long end, u_long count, u_int flags)
{
OpenPOWER on IntegriCloud