Subject: Re: bce(4) and memory > 1GB problem
To: Jachym Holecek <freza@dspfpga.com>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 01/08/2007 12:10:46
--WeyQLTZFbZxVv3E0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 08, 2007 at 11:54:09AM +0100, Jachym Holecek wrote:
> # Quentin Garnier 2007-01-08:
> > On Mon, Jan 08, 2007 at 11:17:01AM +0200, Yorick Hardy wrote:
> > > I encountered this problem with 2GB of RAM on an HP nx6310.
> > >=20
> > > The attached patch (for 4 BETA) may not be the right way to solve
> > > the problem, but it does get the network working for me.
> >=20
> > It certainly is a step is the right direction.  Thanks a lot!
> >=20
> > I hope someone with strong x86 and bus_dma fu will look at it soon.
>=20
> Just a data point -- I've seen more than one piece of hardware sharing
> exactly this kind of limitation (PCI gear mostly), so maybe it would
> make sense to integrate the flag into generic bus_dma(9) API?

Well, that's pretty much what FreeBSD did.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--WeyQLTZFbZxVv3E0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRaImttgoQloHrPnoAQKfPQf/ZPgC5QN+wUWFwshhMlc6UMh9+CNe4YHK
fIrsS+OhB1cHeyF75lVv7GKJUUK3xcag17KAAE1VLEFLkLeZiIRlr6yhJlOxyYkr
GX1Zc9qrudQ8MgC+t9Apo94rE43x2IuJnHAmNfJ/Kt8zA6xDknbO8nTVlQ/pfNTW
ZRQAyN9QEg2k4ctSeYcp9EmZxLTuyF2XwKRfF7oLGLBiBewTXLAzQ3EoAuC+jggY
zzh30GQialIX4bBswIk2gssb87hYv6oEYwRQ8g2k1NpHvd1bBGs6hL6oq53YKUMJ
ioiXxQ6gOKEPKsC8e1Um7sV4u0U+ZZsZw345FHCO6x2uV0rufTiF4w==
=9J3L
-----END PGP SIGNATURE-----

--WeyQLTZFbZxVv3E0--