summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_pcib_acpi.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-10-31 15:50:33 +0000
committerdes <des@FreeBSD.org>2004-10-31 15:50:33 +0000
commit22d75b597a9940a02c015527c38646782f9ee3a1 (patch)
tree28e07b26ade58685bdf19420484440063653d800 /sys/dev/acpica/acpi_pcib_acpi.c
parent871722fc592554929f8b11fe1281250ed4096621 (diff)
downloadFreeBSD-src-22d75b597a9940a02c015527c38646782f9ee3a1.zip
FreeBSD-src-22d75b597a9940a02c015527c38646782f9ee3a1.tar.gz
Add TUNABLE_LONG and TUNABLE_ULONG, and use the latter for the
hw.pci.host_mem_start tunable. Add comments to TUNABLE_INT and TUNABLE_QUAD recommending against their use. MFC after: 3 weeks
Diffstat (limited to 'sys/dev/acpica/acpi_pcib_acpi.c')
-rw-r--r--sys/dev/acpica/acpi_pcib_acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_pcib_acpi.c b/sys/dev/acpica/acpi_pcib_acpi.c
index 3ba2aab..95b6d2a 100644
--- a/sys/dev/acpica/acpi_pcib_acpi.c
+++ b/sys/dev/acpica/acpi_pcib_acpi.c
@@ -301,8 +301,8 @@ 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);
+static unsigned long acpi_host_mem_start = 0x80000000;
+TUNABLE_ULONG("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,
OpenPOWER on IntegriCloud