Subject: Re: RBUS_MIN_START
To: None <port-i386@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: port-i386
Date: 08/09/2006 20:28:12
On Wed, Aug 09, 2006 at 12:02:20PM -0400, Greg Troxel wrote:
>
> (This feels like an i386 problem, although it's really about
> pci/cardbus bridges.)
So, this maybe a problem on amd64 too.
[..]
> So, I think rbus_min_start should be set dymamically based on
> available memory. I can think of two approaches:
>
> 1)
> set rbus_min_start to the memory size, so we use as low a value as
> possible, and which is therefore most likely to work.
>
> 2)
> if memory > 1 GB, set rbus_min_start to memory size
> if memory < 256 MB, set rbus_min_start to 0.5 GB
Hmm, < 256 or <= 256?
I would go for <= 256MB.
> otherwise, use 1 GB
> (if RBUS_MIN_START is defined, use that unconditionally.)
>
> 3)
> If ACPI, figure it out somehow.
I would also go for 2). It would be nice to have 3) too, but we also
need 2) and that is a starting point.
Bernd