Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 1997 13:40:45 +0900
From:      Jun-ichiro itojun Itoh <itojun@itojun.org>
To:        gjp@erols.net (Gary Palmer)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Beginning SPARC port 
Message-ID:  <16085.882074445@coconut.itojun.org>
In-Reply-To: gjp's message of Sat, 13 Dec 1997 23:33:49 EST. <199712140433.XAA17136@mutara.noc.erols.net> 

next in thread | previous in thread | raw e-mail | index | archive | help

>> pccard/pcic.c
>> pci/aic7870.c
>> pci/if_de.c
>> pci/ncr.c
>> pci/tek390.c
>> pci/wd82371.c
>What makes you think outb is i386 specific? Surely since it is defined
>in a machine header to some asm fn, what it really means is that
>it is GNU C specific? If you think about it, if a platform needed
>a bit of complexity to do inb/outb, you #define them to funciton
>calls.

	hardware I/O model is CPU specific.  There are architectures
	that do not have inb/outb instruction, and maps I/O device control
	registers onto memory.  I dunno how Sparc-with-PCI motherboard
	access pci registers, but I'm sure there has to be bunch of changes.

itojun



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