summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/psycho.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-03-29 22:52:12 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-03-29 22:52:12 +0000
commit149f74901a7314dc34ed6d07a087e56ca86fbf38 (patch)
tree8b7608cc341ff62edda02d21994d04a7fd981b36 /sys/arch/sparc64/dev/psycho.c
parent3d6079a5a38e61658e46eab7d340b179b6f8a218 (diff)
bzero pci attach args
ok deraadt@, miod@
Diffstat (limited to 'sys/arch/sparc64/dev/psycho.c')
-rw-r--r--sys/arch/sparc64/dev/psycho.c4
1 files changed, 2 insertions, 2 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]);