diff options
| author | Warner Losh <imp@FreeBSD.org> | 2004-10-14 23:52:21 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2004-10-14 23:52:21 +0000 |
| commit | 5e3b4d5e06e6df9b809f3543419ea2589ea8d692 (patch) | |
| tree | 5a7c6846794b21f857a5f6e2362ce1be7b60df74 /sys/dev | |
| parent | 36b768ef9050ca6cbff7b688d1ceb25bad8d1443 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpica/acpi_pcib_acpi.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_pcib_acpi.c b/sys/dev/acpica/acpi_pcib_acpi.c index 26632e4ddfd4..90371733b31f 100644 --- a/sys/dev/acpica/acpi_pcib_acpi.c +++ b/sys/dev/acpica/acpi_pcib_acpi.c @@ -32,6 +32,7 @@ #include <sys/kernel.h> #include <sys/malloc.h> #include <sys/module.h> +#include <sys/sysctl.h> #include "acpi.h" #include <dev/acpica/acpivar.h> @@ -300,6 +301,9 @@ acpi_pcib_acpi_route_interrupt(device_t pcib, device_t dev, int pin) return (acpi_pcib_route_interrupt(pcib, dev, pin)); } +static int acpi_host_mem_start = 0x80000000; +TUNABLE_INT("hw.acpi.host_mem_start", &acpi_host_mem_start); + struct resource * acpi_pcib_acpi_alloc_resource(device_t dev, device_t child, int type, int *rid, u_long start, u_long end, u_long count, u_int flags) @@ -314,7 +318,7 @@ acpi_pcib_acpi_alloc_resource(device_t dev, device_t child, int type, int *rid, * is liekly OK. */ if (type == SYS_RES_MEMORY && start == 0UL && end == ~0UL) - start = 0xfe000000; + start = acpi_host_mem_start; return (bus_generic_alloc_resource(dev, child, type, rid, start, end, count, flags)); } |
