From owner-freebsd-hackers Sun Dec 14 18:56:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA10728 for hackers-outgoing; Sun, 14 Dec 1997 18:56:37 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA10720 for ; Sun, 14 Dec 1997 18:56:29 -0800 (PST) (envelope-from gibbs@plutotech.com) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.7/8.8.5) with ESMTP id TAA27503; Sun, 14 Dec 1997 19:56:19 -0700 (MST) Message-Id: <199712150256.TAA27503@pluto.plutotech.com> To: Chris Csanady cc: "Justin T. Gibbs" , John-Mark Gurney , hackers@FreeBSD.ORG Subject: Re: Bus/Processor specific I/O methods - was Re: Beginning SPARC port In-reply-to: Your message of "Sun, 14 Dec 1997 18:45:56 CST." <199712150045.SAA14933@bob.scl.ameslab.gov> Date: Sun, 14 Dec 1997 19:54:28 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >FWIW, NetBSD has a couple of nice man pages on their bus stuff. See >bus_space(9) and bus_dma(9). It looks like a well abstracted interface, >and works on several architectures. We really should be looking at ways >to make the BSD's more similar whenever possible. Making the drivers >more portable would especially be nice.. so I think that this issue >definately deserves more thought. > >Chris Although the bus.h stuff I did for CAM is taken pretty much verbatum from NetBSD, I did not implement bus DMA in the same fashion. The interface was changed slightly to make it more space efficient. -- Justin