From owner-freebsd-current Sun Apr 19 22:45:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA05914 for freebsd-current-outgoing; Sun, 19 Apr 1998 22:45:58 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA05881 for ; Mon, 20 Apr 1998 05:45:43 GMT (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id HAA16157; Mon, 20 Apr 1998 07:44:16 +0200 (CEST) To: Mike Smith cc: "Matthew N. Dodd" , Chuck Robey , current@FreeBSD.ORG Subject: Re: source code layout? In-reply-to: Your message of "Sun, 19 Apr 1998 21:36:50 PDT." <199804200436.VAA03937@antipodes.cdrom.com> Date: Mon, 20 Apr 1998 07:44:15 +0200 Message-ID: <16155.893051055@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199804200436.VAA03937@antipodes.cdrom.com>, Mike Smith writes: >> On Sun, 19 Apr 1998, Chuck Robey wrote: >> > On Sun, 19 Apr 1998, Matthew N. Dodd wrote: >> > > Ok, we've got sys/pci for PCI devices which as near as I can tell is >> > > fairly i386 specific >> > >> > Is that true? But, AFAIK, all the Alpha machines I've found have PCI in >> > them also. I don't know enough to be really sure, but I'm skeptical of >> > that claim. It might be that the pci stuff is currently i386 specific >> > only because out alpha port hasn't gone far enough. >> >> AFAIK anywhere you see inb/outb/inw/outw you're fairly certain to be i386 >> specific. (This from listening to the netbsd lits.) > >That's correct. However the use of in*/out* in sys/pci is a >consequence of our lack of bus space support (to use the NetBSD term). >We seem to have a general consensus that this is the right way to go >about it, and part of the CAM work involves supplying infrastructure >for this. Nothing prevents us from accessing a bus space with functions named inb() and outb() -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "Drink MONO-tonic, it goes down but it will NEVER come back up!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message