summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/tsvar.h
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-12-14 00:45:00 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-12-14 00:45:00 +0000
commitfd875e04265fc09aee5f1dd4263678202567f132 (patch)
tree1b59ca6b6ae772e4fe0ce0d66168573f956e6d09 /sys/arch/alpha/pci/tsvar.h
parent17d4cdf5fb28cbcf2a7f35a2029314c30369a46f (diff)
Don't use a single static struct alpha_bus_space since there are machines
that can have more than one system bus attached to mainbus
Diffstat (limited to 'sys/arch/alpha/pci/tsvar.h')
-rw-r--r--sys/arch/alpha/pci/tsvar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/pci/tsvar.h b/sys/arch/alpha/pci/tsvar.h
index c874c1a0088..30046cc6720 100644
--- a/sys/arch/alpha/pci/tsvar.h
+++ b/sys/arch/alpha/pci/tsvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tsvar.h,v 1.2 2001/04/15 01:33:00 mjacob Exp $ */
+/* $OpenBSD: tsvar.h,v 1.3 2001/12/14 00:44:59 nate Exp $ */
/* $NetBSD: tsvar.h,v 1.1 1999/06/29 06:46:47 ross Exp $ */
/*-
@@ -48,7 +48,7 @@ struct tsp_config {
u_int64_t pc_iobase; /* All Pchip space starts here */
struct ts_pchip *pc_csr; /* Pchip CSR space starts here */
- bus_space_tag_t pc_iot, pc_memt;
+ struct alpha_bus_space pc_iot, pc_memt;
struct alpha_pci_chipset pc_pc;
struct alpha_bus_dma_tag pc_dmat_direct;
@@ -79,7 +79,7 @@ struct tsp_config *tsp_init __P((int, int));
void tsp_pci_init __P((pci_chipset_tag_t, void *));
void tsp_dma_init __P((struct tsp_config *));
-bus_space_tag_t tsp_bus_io_init __P((void *));
-bus_space_tag_t tsp_bus_mem_init __P((void *));
+void tsp_bus_io_init __P((bus_space_tag_t, void *));
+void tsp_bus_mem_init __P((bus_space_tag_t, void *));
void tsp_bus_mem_init2 __P((void *));