Subject: Cardbus change now in netbsd-4: please test if convenient
To: None <port-i386@netbsd.org>
From: Greg Troxel <gdt@ir.bbn.com>
List: port-i386
Date: 03/28/2007 19:03:35
--=-=-=

If you have a i386 machine with Cardbus, and it has <= 256 MB of RAM or >=
1GB of RAM, and you have netbsd-4 on it, then please try out Cardbus
cards (I mean Cardbus not PCMCIA) after you update with the
following.  If you've needed RBUS_MIN_START, you may be able to rely
on the heuristic and not need to fix it.  If Cardbus used to work and
doesn't now, please let me know.

(This has been in -current for ~ a month with no complaints.)


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

From: Julian Coleman <jdc@netbsd.org>
Subject: CVS commit: [netbsd-4] src/sys/arch/i386/i386
To: source-changes@NetBSD.org
Reply-To: jdc@netbsd.org
Message-Id: <20070328202709.A57002150A@cvs.netbsd.org>
Date: Wed, 28 Mar 2007 20:27:09 +0000 (UTC)
MIME-Version: 1.0

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.


--=-=-=--