summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/dev/psycho.c4
-rw-r--r--sys/arch/sparc64/dev/pyro.c4
-rw-r--r--sys/arch/sparc64/dev/schizo.c4
-rw-r--r--sys/arch/sparc64/dev/vpci.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/sparc64/dev/psycho.c b/sys/arch/sparc64/dev/psycho.c
index 6950ebbe6e1..82ac64a57c5 100644
--- a/sys/arch/sparc64/dev/psycho.c
+++ b/sys/arch/sparc64/dev/psycho.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: psycho.c,v 1.65 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: psycho.c,v 1.66 2009/03/29 22:52:11 kettenis Exp $ */
/* $NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp $ */
/*
@@ -374,9 +374,9 @@ psycho_attach(struct device *parent, struct device *self, void *aux)
/* get the bus-range for the psycho */
psycho_get_bus_range(sc->sc_node, psycho_br);
+ bzero(&pba, sizeof(pba));
pba.pba_domain = pci_ndomains++;
pba.pba_bus = psycho_br[0];
- pba.pba_bridgetag = NULL;
printf("%s: bus range %u-%u, PCI bus %d\n", sc->sc_dev.dv_xname,
psycho_br[0], psycho_br[1], psycho_br[0]);
diff --git a/sys/arch/sparc64/dev/pyro.c b/sys/arch/sparc64/dev/pyro.c
index 94b6b5867fd..0e9fd571899 100644
--- a/sys/arch/sparc64/dev/pyro.c
+++ b/sys/arch/sparc64/dev/pyro.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pyro.c,v 1.17 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: pyro.c,v 1.18 2009/03/29 22:52:11 kettenis Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -209,10 +209,10 @@ pyro_init(struct pyro_softc *sc, int busa)
pbm->pp_pc->bustag = pbm->pp_cfgt;
pbm->pp_pc->bushandle = pbm->pp_cfgh;
+ bzero(&pba, sizeof(pba));
pba.pba_busname = "pci";
pba.pba_domain = pci_ndomains++;
pba.pba_bus = busranges[0];
- pba.pba_bridgetag = NULL;
pba.pba_pc = pbm->pp_pc;
#if 0
pba.pba_flags = pbm->pp_flags;
diff --git a/sys/arch/sparc64/dev/schizo.c b/sys/arch/sparc64/dev/schizo.c
index e03ab55b3d0..89867b2bd2a 100644
--- a/sys/arch/sparc64/dev/schizo.c
+++ b/sys/arch/sparc64/dev/schizo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: schizo.c,v 1.59 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: schizo.c,v 1.60 2009/03/29 22:52:11 kettenis Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -227,10 +227,10 @@ schizo_init(struct schizo_softc *sc, int busa)
pbm->sp_pc->bustag = pbm->sp_cfgt;
pbm->sp_pc->bushandle = pbm->sp_cfgh;
+ bzero(&pba, sizeof(pba));
pba.pba_busname = "pci";
pba.pba_domain = pci_ndomains++;
pba.pba_bus = busranges[0];
- pba.pba_bridgetag = NULL;
pba.pba_pc = pbm->sp_pc;
#if 0
pba.pba_flags = pbm->sp_flags;
diff --git a/sys/arch/sparc64/dev/vpci.c b/sys/arch/sparc64/dev/vpci.c
index a9c20dcdfd4..327f586c850 100644
--- a/sys/arch/sparc64/dev/vpci.c
+++ b/sys/arch/sparc64/dev/vpci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vpci.c,v 1.3 2009/01/02 20:01:45 kettenis Exp $ */
+/* $OpenBSD: vpci.c,v 1.4 2009/03/29 22:52:11 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
*
@@ -159,10 +159,10 @@ vpci_attach(struct device *parent, struct device *self, void *aux)
vpci_init_iommu(sc, pbm);
+ bzero(&pba, sizeof(pba));
pba.pba_busname = "pci";
pba.pba_domain = pci_ndomains++;
pba.pba_bus = busranges[0];
- pba.pba_bridgetag = NULL;
pba.pba_pc = pbm->vp_pc;
pba.pba_dmat = pbm->vp_dmat;
pba.pba_memt = pbm->vp_memt;