Date: Tue, 17 Jun 2003 10:54:36 -0700 From: John-Mark Gurney <gurney_j@efn.org> To: "Matthew N. Dodd" <mdodd@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 Message-ID: <20030617175436.GK73854@funkthat.com> In-Reply-To: <20030617103359.Q28980@sasami.jurai.net> References: <m19SGkQ-000MLoC@nemesis.lonestar.org> <20030617103359.Q28980@sasami.jurai.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030617175436.GK73854>