Subject: re: bce(4) and memory > 1GB problem
To: Quentin Garnier <cube@cubidou.net>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 01/09/2007 08:05:24
   
   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.
   > > > 
   > > > 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.
   > > 
   > > It certainly is a step is the right direction.  Thanks a lot!
   > > 
   > > I hope someone with strong x86 and bus_dma fu will look at it soon.
   > 
   > 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.


either way, this will require a bunch of work for each platform to do
the right thing.  the patch proposed seems to be most of what we need
for it on x86 so i see little harm in commiting it.  at the very least
i think it would allow the similarly broken audio cards to work on x86
by adding this flag to the bus_dma calls.


.mrg.