aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-07-04 16:23:25 +0000
committerWarner Losh <imp@FreeBSD.org>2004-07-04 16:23:25 +0000
commitdfbaec0a6d5309b8cef607ae41ebac211455db71 (patch)
tree5608d62e3e194ac5706795ebb4a58c48965deee8
parent2af417add46dcf8519d90bbbec4514d6ca66ae81 (diff)
Notes
-rw-r--r--sys/dev/acpica/acpi_pcib_acpi.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpi_pcib_acpi.c b/sys/dev/acpica/acpi_pcib_acpi.c
index 8fcc300bc30cb..57fc73d6023a0 100644
--- a/sys/dev/acpica/acpi_pcib_acpi.c
+++ b/sys/dev/acpica/acpi_pcib_acpi.c
@@ -309,14 +309,16 @@ 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)
{
/*
- * If no memory preference is given, use upper 256MB slot most
+ * If no memory preference is given, use upper 2GB slot most
* bioses use for their memory window. Typically other bridges
* before us get in the way to assert their preferences on memory.
* Hardcoding like this sucks, so a more MD/MI way needs to be
- * found to do it.
+ * found to do it. This is typically only used on older laptops
+ * that don't have pci busses behind pci bridge, so assuming < 2GB
+ * is liekly OK.
*/
if (type == SYS_RES_MEMORY && start == 0UL && end == ~0UL)
- start = 0xf0000000;
+ start = 0x80000000;
return (bus_generic_alloc_resource(dev, child, type, rid, start, end,
count, flags));
}