Date: Fri, 13 May 2011 21:45:14 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 193084 for review Message-ID: <201105132145.p4DLjEhO056481@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@193084?ac=10 Change 193084 by jhb@jhb_jhbbsd on 2011/05/13 21:45:10 Compile. Affected files ... .. //depot/projects/pci/sys/x86/x86/nexus.c#9 edit Differences ... ==== //depot/projects/pci/sys/x86/x86/nexus.c#9 (text+ko) ==== @@ -58,6 +58,7 @@ #include <machine/bus.h> #include <machine/intr_machdep.h> #include <sys/rman.h> +#include <sys/sysctl.h> #include <sys/interrupt.h> #include <machine/vmparam.h> @@ -875,15 +876,15 @@ static unsigned long host_mem_start = 0x80000000; TUNABLE_ULONG("hw.pci.host_mem_start", &host_mem_start); -SYSCTL_ULONG(_hw_pci, OID_AUTO, host_mem_start, CTLFLAG_RDTUN, &host_mem_start, 0, - "Limit the host bridge memory to being above this address."); +SYSCTL_ULONG(_hw_pci, OID_AUTO, host_mem_start, CTLFLAG_RDTUN, &host_mem_start, + 0, "Limit the host bridge memory to being above this address."); u_long hostb_alloc_start(int type, u_long start, u_long end, u_long count) { if (start + count - 1 != end) { - if (type == SYS_RES_MEMORY && start < acpi_host_mem_start) + if (type == SYS_RES_MEMORY && start < host_mem_start) start = host_mem_start; if (type == SYS_RES_IOPORT && start < 0x1000) start = 0x1000;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105132145.p4DLjEhO056481>