Subject: RBUS_MIN_START heuristic committed
To: None <port-i386@netbsd.org>
From: Greg Troxel <gdt@ir.bbn.com>
List: port-i386
Date: 01/12/2007 15:37:44
--=-=-=

I'd appreciate it if anyone who has been having cardbus trouble,
solved or not, could try again with the following.  In particular, if
you needed to set RBUS_MIN_START, please have a look at the heuristic
code and see if the value I put in works for you; setting
RBUS_MIN_START will disable the heuristic and do what you said.

This probably ought to get pulled up to netbsd-4, but I'd like some
broader experience and more reports before I request that; I only have
Thinkpads.


--=-=-=
Content-Type: message/rfc822
Content-Disposition: inline

From: Greg Troxel <gdt@netbsd.org>
Subject: CVS commit: src
To: source-changes@NetBSD.org
Reply-To: gdt@netbsd.org
Message-Id: <20070112203409.EC88E211CA@cvs.netbsd.org>
Date: Fri, 12 Jan 2007 20:34:09 +0000 (UTC)
Sender: source-changes-owner@NetBSD.org
MIME-Version: 1.0


Module Name:	src
Committed By:	gdt
Date:		Fri Jan 12 20:34:09 UTC 2007

Modified Files:
	src/share/man/man4: cardbus.4
	src/sys/arch/i386/i386: machdep.c rbus_machdep.c
	src/sys/arch/i386/include: rbus_machdep.h

Log Message:
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@


To generate a diff of this commit:
cvs rdiff -r1.28 -r1.29 src/share/man/man4/cardbus.4
cvs rdiff -r1.592 -r1.593 src/sys/arch/i386/i386/machdep.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/i386/i386/rbus_machdep.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/i386/include/rbus_machdep.h

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


--=-=-=--