diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-22 21:28:45 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-22 21:28:45 +0000 |
commit | 7fd2b08e28e0e50f19b854785a07d6b15c0331e4 (patch) | |
tree | b47e5726615eff19ccbca7eefe14f10ec91a6fd1 /sys/arch/sgi/pci/macepcibridge.c | |
parent | afa2ae8e289f8b259db91723d25ac4efbd4b62e7 (diff) |
Get rid of bus_space_tag_t now unused bus_extent and bus_reverse fields.
Diffstat (limited to 'sys/arch/sgi/pci/macepcibridge.c')
-rw-r--r-- | sys/arch/sgi/pci/macepcibridge.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/sys/arch/sgi/pci/macepcibridge.c b/sys/arch/sgi/pci/macepcibridge.c index 9b214821e23..9de3c526ee1 100644 --- a/sys/arch/sgi/pci/macepcibridge.c +++ b/sys/arch/sgi/pci/macepcibridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macepcibridge.c,v 1.27 2009/07/22 20:28:21 miod Exp $ */ +/* $OpenBSD: macepcibridge.c,v 1.28 2009/07/22 21:28:44 miod Exp $ */ /* * Copyright (c) 2009 Miodrag Vallat. @@ -117,10 +117,8 @@ struct cfdriver macepcibr_cd = { }; bus_space_t mace_pcibbus_mem_tag = { + PHYS_TO_XKPHYS(MACE_PCI_MEM_BASE, CCA_NC), NULL, - 0ULL, - NULL, - 0, mace_pcib_read_1, mace_pcib_write_1, mace_pcib_read_2, mace_pcib_write_2, mace_pcib_read_4, mace_pcib_write_4, @@ -132,10 +130,8 @@ bus_space_t mace_pcibbus_mem_tag = { }; bus_space_t mace_pcibbus_io_tag = { + PHYS_TO_XKPHYS(MACE_PCI_IO_BASE, CCA_NC), NULL, - 0ULL, - NULL, - 0, mace_pcib_read_1, mace_pcib_write_1, mace_pcib_read_2, mace_pcib_write_2, mace_pcib_read_4, mace_pcib_write_4, @@ -214,11 +210,6 @@ mace_pcibrattach(struct device *parent, struct device *self, void *aux) struct confargs *ca = aux; pcireg_t pcireg; - mace_pcibbus_io_tag.bus_base = - PHYS_TO_XKPHYS(MACE_PCI_IO_BASE, CCA_NC); - mace_pcibbus_mem_tag.bus_base = - PHYS_TO_XKPHYS(MACE_PCI_MEM_BASE, CCA_NC); - sc->sc_mem_bus_space = &mace_pcibbus_mem_tag; sc->sc_io_bus_space = &mace_pcibbus_io_tag; |