From 4c459afa7bc75884058a78d41baa5055b46c867d Mon Sep 17 00:00:00 2001 From: Per Fogelstrom Date: Thu, 10 Apr 1997 16:29:33 +0000 Subject: Attempt to clean up local devices. Added support for new QED RT52x0 processors. --- sys/arch/arc/pci/pbcpcibus.c | 13 ++++++------- sys/arch/arc/pci/pcibrvar.h | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'sys/arch/arc/pci') 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 */ }; -- cgit v1.2.3