From owner-freebsd-hackers Sun May 7 13:09:35 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA29512 for hackers-outgoing; Sun, 7 May 1995 13:09:35 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA29506 for ; Sun, 7 May 1995 13:09:29 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.8/8.6.6) id NAA10606; Sun, 7 May 1995 13:08:14 -0700 From: Julian Elischer Message-Id: <199505072008.NAA10606@ref.tfs.com> Subject: Re: lance Ethernet and > 16 Mb RAM failure To: bde@zeta.org.au (Bruce Evans) Date: Sun, 7 May 1995 13:08:13 -0700 (PDT) Cc: mtaylor@gateway.cybernet.com, hackers@FreeBSD.org In-Reply-To: <199505070449.OAA02283@godzilla.zeta.org.au> from "Bruce Evans" at May 7, 95 02:49:52 pm Content-Type: text Content-Length: 1117 Sender: hackers-owner@FreeBSD.org Precedence: bulk so, mtaylor: it looks like you have something you can do for us.. :) get the DMA controlling code from the floppy driver and merge it in with the lnc driver, (or similar) I don't have that board and couldn't test it.... other possible options might be to pre-allocate it's own buffer space during boot if it has > 16MB and use that instead.. or look at the bounce buffer support in the aha driver and copy that? julian > > >> I'm installing 2.0-950412-SNAP on a new system. I've never used the 'lnc' > >> ethernet drivers before, and I'm having difficulty getting them stable on a > >> system with more than 16 Mb of RAM. > >> > >looks as if the bounce buffer code in the dma > >using routines for non master dma, is broken, > >OR maybe they are not using it correctly.... > > >It sould use it's DMA in much the same way as the floppy driver does, > >so that it can guarantee that the DMA will go to a buffer < 16MB > >but this may not be the case.. > > It isn't the case. The TODO list at the start of if_lnc.c says bounce > buffer support will be needed for dma'ing to mbufs above 16MB. > > Bruce >