diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-29 22:52:12 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-29 22:52:12 +0000 |
commit | 149f74901a7314dc34ed6d07a087e56ca86fbf38 (patch) | |
tree | 8b7608cc341ff62edda02d21994d04a7fd981b36 /sys/arch/sparc64/dev/psycho.c | |
parent | 3d6079a5a38e61658e46eab7d340b179b6f8a218 (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.c | 4 |
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]); |