From owner-freebsd-hackers Sat Dec 13 22:32:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA14144 for hackers-outgoing; Sat, 13 Dec 1997 22:32:31 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from m16.boston.juno.com (m16.boston.juno.com [205.231.101.192]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA14139 for ; Sat, 13 Dec 1997 22:32:26 -0800 (PST) (envelope-from wakkym@juno.com) Received: (from wakkym@juno.com) by m16.boston.juno.com (queuemail) id BCP21229; Sun, 14 Dec 1997 01:31:56 EST To: hackers@freebsd.org Subject: Re: Beginning SPARC port Message-ID: <19971214.012956.5303.3.wakkym@juno.com> References: <199712140551.VAA09724@rah.star-gate.com> X-Mailer: Juno 1.15 X-Juno-Line-Breaks: 0,2-9,14 From: wakkym@juno.com (Lee Cremeans) Date: Sun, 14 Dec 1997 01:31:56 EST Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 13 Dec 1997 21:51:10 -0800 Amancio Hasty writes: >The functions is already there: > > old_irq = pci_conf_read(tag, PCI_INTERRUPT_REG); > pci_conf_write(tag, PCI_INTERRUPT_REG, BROOKTREE_IRQ); > >And usually PCI devices have i/o mapped registers. On the i386, this is true, but (as has been said before, but I guess not as clearly) there are architectures out there that don't have an Intel-style I/O vs. memory addressing distinction (the 680x0s are like this, and I think the SPARC and PowerPC are also; not sure about Alpha), so they map all the device registers into physical memory space.