From owner-freebsd-hackers Sun Dec 14 17:22:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA01663 for hackers-outgoing; Sun, 14 Dec 1997 17:22:06 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA01646 for ; Sun, 14 Dec 1997 17:21:57 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id RAA27680; Sun, 14 Dec 1997 17:21:39 -0800 (PST) Message-ID: <19971214172139.05704@hydrogen.nike.efn.org> Date: Sun, 14 Dec 1997 17:21:39 -0800 From: John-Mark Gurney To: Chris Csanady Cc: hackers@FreeBSD.ORG Subject: Re: Bus/Processor specific I/O methods - was Re: Beginning SPARC port References: <199712141846.LAA10029@pluto.plutotech.com> <199712150045.SAA14933@bob.scl.ameslab.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199712150045.SAA14933@bob.scl.ameslab.gov>; from Chris Csanady on Sun, Dec 14, 1997 at 06:45:56PM -0600 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Chris Csanady scribbled this message on Dec 14: > 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 I agree, I'll take a look... but the last time I looked at it, there wasn't any way to let a device add a resource for use by other devices on the bus... which is a serious limitation IMO... I do plan on using their extent routines for resource tracking... > more portable would especially be nice.. so I think that this issue > definately deserves more thought. well.. that's what I've been doing for the past two and a half months.. and I'm posted a number of messages for people to comment on my design for the new bus/device code... please look at: http://resnet.uoregon.edu:6971/~jmg/FreeBSD/busdevice.html to see what I'm doing with it... any comments would be welcome, I've recieved very few, so I assume no one has any problems with it yet... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD