diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-04-10 16:29:33 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-04-10 16:29:33 +0000 |
commit | 4c459afa7bc75884058a78d41baa5055b46c867d (patch) | |
tree | f543a8884c561f8d6854df4837bd23dd9594bbf7 /sys/arch/arc/pci | |
parent | dac87775916d5fa9ed1d6e922f8c41695291126e (diff) |
Attempt to clean up local devices.
Added support for new QED RT52x0 processors.
Diffstat (limited to 'sys/arch/arc/pci')
-rw-r--r-- | sys/arch/arc/pci/pbcpcibus.c | 13 | ||||
-rw-r--r-- | sys/arch/arc/pci/pcibrvar.h | 4 |
2 files changed, 8 insertions, 9 deletions
diff --git a/sys/arch/arc/pci/pbcpcibus.c b/sys/arch/arc/pci/pbcpcibus.c index 61a48bc0368..a92d7043aad 100644 --- a/sys/arch/arc/pci/pbcpcibus.c +++ b/sys/arch/arc/pci/pbcpcibus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pbcpcibus.c,v 1.2 1997/03/23 11:34:35 pefo Exp $ */ +/* $OpenBSD: pbcpcibus.c,v 1.3 1997/04/10 16:29:31 pefo Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -121,12 +121,11 @@ pbcpcibrattach(parent, self, aux) lcp = sc->sc_pcibr = &pbc_config; - sc->sc_bus_space.isa_io_base = V96X_PCI_MEM_SPACE; - sc->sc_bus_space.isa_mem_base = V96X_PCI_MEM_SPACE; - sc->sc_bus_space.isa_io_sparse1 = 0; - sc->sc_bus_space.isa_io_sparse2 = 0; - sc->sc_bus_space.isa_io_sparse4 = 0; - sc->sc_bus_space.isa_io_sparse8 = 0; + sc->sc_bus_space.bus_base = V96X_PCI_MEM_SPACE; + sc->sc_bus_space.bus_sparse1 = 0; + sc->sc_bus_space.bus_sparse2 = 0; + sc->sc_bus_space.bus_sparse4 = 0; + sc->sc_bus_space.bus_sparse8 = 0; lcp->lc_pc.pc_conf_v = lcp; lcp->lc_pc.pc_attach_hook = pbc_attach_hook; diff --git a/sys/arch/arc/pci/pcibrvar.h b/sys/arch/arc/pci/pcibrvar.h index a03964316ca..5994df85659 100644 --- a/sys/arch/arc/pci/pcibrvar.h +++ b/sys/arch/arc/pci/pcibrvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcibrvar.h,v 1.1 1997/03/12 19:17:02 pefo Exp $ */ +/* $OpenBSD: pcibrvar.h,v 1.2 1997/04/10 16:29:32 pefo Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -42,7 +42,7 @@ struct pcibr_config { struct pcibr_softc { struct device sc_dev; struct pcibr_config *sc_pcibr; - struct arc_bus_space sc_bus_space; + struct arc_bus_space sc_bus_space; /* Same for I/O and Mem */ }; |