Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 1998 07:44:15 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Mike Smith <mike@smith.net.au>
Cc:        "Matthew N. Dodd" <winter@jurai.net>, Chuck Robey <chuckr@glue.umd.edu>, current@FreeBSD.ORG
Subject:   Re: source code layout? 
Message-ID:  <16155.893051055@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 19 Apr 1998 21:36:50 PDT." <199804200436.VAA03937@antipodes.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16155.893051055>