Subject: CVS commit: [netbsd-4] src/sys/arch/i386/i386
To: None <source-changes@NetBSD.org>
From: Julian Coleman <jdc@netbsd.org>
List: source-changes
Date: 03/28/2007 20:27:09
Module Name:	src
Committed By:	jdc
Date:		Wed Mar 28 20:27:09 UTC 2007

Modified Files:
	src/sys/arch/i386/i386 [netbsd-4]: rbus_machdep.c

Log Message:
Pull up revisions 1.19-1.21 (requested by gdt in ticket #521)

Add a heuristic to set rbus_min_start based on total RAM.  The new
behavior is to choose 0.5 GB for <= 192 MB, 1 GB normally, and 2 GB
for >= 1 GB.  This should make the defaults work additionally old
Thinkpad 600Es, and also on notebooks with lots of RAM (e.g. T60 with
2GB).

ok christos@

At perry@'s urging, add untested heuristic to set rbus_min_start to 3
GB on machines with (strictly) more than 2GB of ram.

If you have a machine with > 2GB of ram and cardbus, please let gdt
know if this works.

KNF/whitespace in code I recently added; no real changes.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.18.24.1 src/sys/arch/i386/i386/rbus_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.