From owner-cvs-src@FreeBSD.ORG Tue Jun 17 10:54:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D012B37B413; Tue, 17 Jun 2003 10:54:12 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AD9143F3F; Tue, 17 Jun 2003 10:54:09 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h5HIJwMo013391; Tue, 17 Jun 2003 14:19:59 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h5HHsaN0032933; Tue, 17 Jun 2003 10:54:36 -0700 (PDT) (envelope-from jmg) Date: Tue, 17 Jun 2003 10:54:36 -0700 From: John-Mark Gurney To: "Matthew N. Dodd" Message-ID: <20030617175436.GK73854@funkthat.com> References: <20030617103359.Q28980@sasami.jurai.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030617103359.Q28980@sasami.jurai.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-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/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: cvs-src@FreeBSD.org cc: Frank Durda IV cc: nyan@jp.FreeBSD.org cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/matcd creativeif.h matcd.c matcd_data.h matcd_isa.c matcddrv.h options.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 17:54:13 -0000 Matthew N. Dodd wrote this message on Tue, Jun 17, 2003 at 10:38 -0400: > On Tue, 17 Jun 2003, Frank Durda IV wrote: > > [-]Please use the bus_space staff. > > > > And on what company/school staff would this person be on? > > Please elaborate. > > inb()/outb() are not portable. FreeBSD uses a mechanism borrowed from > NetBSD that hides the platform specifics behind a common API. > > See mcd(4) and scd(4) for example. Or the documentation in the Developer's Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/devicedrivers.html FreeBSD actually has decent documentation on this sort of thing. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."