diff options
author | marius <marius@FreeBSD.org> | 2005-12-03 19:52:20 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-12-03 19:52:20 +0000 |
commit | fefcedf8f8dba3274436a6a1367c7fd647135e9c (patch) | |
tree | c57d0002bd216fd03f38c90bb59a4bcf7c3401d3 /sys/sparc64/isa | |
parent | 8f06802ece34e3960249dabfb97fd8bfdd2f6712 (diff) | |
download | FreeBSD-src-fefcedf8f8dba3274436a6a1367c7fd647135e9c.zip FreeBSD-src-fefcedf8f8dba3274436a6a1367c7fd647135e9c.tar.gz |
- Move the declaration of struct upa_ranges and the UPA_RANGE_* macros
from sys/sparc64/include/ofw_upa.h to sys/sparc64/pci/ofw_pci.h and
rename them to struct ofw_pci_ranges and OFW_PCI_RANGE_* respectively.
This ranges struct only applies to host-PCI bridges but no to other
bridges found on UPA. At the same time it applies to all host-PCI
bridges regardless of whether the interconnection bus is Fireplane/
Safari, JBus or UPA.
- While here rename the PCI_CS_* macros in sys/sparc64/pci/ofw_pci.h
to OFW_PCI_CS_* in order to be consistent and change this header to
use uintXX_t instead of u_intXX_t.
Diffstat (limited to 'sys/sparc64/isa')
-rw-r--r-- | sys/sparc64/isa/ofw_isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/isa/ofw_isa.c b/sys/sparc64/isa/ofw_isa.c index 41ce548..e1d7537 100644 --- a/sys/sparc64/isa/ofw_isa.c +++ b/sys/sparc64/isa/ofw_isa.c @@ -57,9 +57,9 @@ ofw_isa_range_restype(struct isa_ranges *range) int ps = ISA_RANGE_PS(range); switch (ps) { - case PCI_CS_IO: + case OFW_PCI_CS_IO: return (SYS_RES_IOPORT); - case PCI_CS_MEM32: + case OFW_PCI_CS_MEM32: return (SYS_RES_MEMORY); default: panic("ofw_isa_range_restype: illegal space %x", ps); |