From owner-freebsd-hackers Mon Mar 8 12: 9:34 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by hub.freebsd.org (Postfix) with ESMTP id CE3D314FAC for ; Mon, 8 Mar 1999 12:09:31 -0800 (PST) (envelope-from thorpej@lestat.nas.nasa.gov) Received: from lestat (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.8.8/8.6.12) with ESMTP id MAA02543; Mon, 8 Mar 1999 12:07:40 -0800 (PST) Message-Id: <199903082007.MAA02543@lestat.nas.nasa.gov> To: Andy Doran Cc: Mike Smith , freebsd-hackers@FreeBSD.ORG Subject: Re: Erorr: isa_dmainit(2, 1024) failed Reply-To: Jason Thorpe From: Jason Thorpe Date: Mon, 08 Mar 1999 12:07:39 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 Mar 1999 18:34:38 +0000 (GMT) Andy Doran wrote: > I've run into the same kind of problem when working on a driver for > NetBSD recently. The solution would be to use NetBSD's BUS_DMA(9), but > this card needs a DMA buffer which has *crazy* alignment and position > requirements. One of them is that the buffer needs to be within the first > 8MB, hence the same problem. Well, your driver was for a non-i386 architecture :-) And, the suggestion I gave on port-pmax@netbsd.org is already employed by NetBSD/i386 to "reserve" memory for ISA DMA. That is to say, the Right solution for this is multiple memory free lists, which NetBSD's UVM has support for. -- Jason R. Thorpe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message