summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2009-03-30 09:51:54 +0000
committerkettenis <kettenis@openbsd.org>2009-03-30 09:51:54 +0000
commite9bea8806273acbb1cfbff67b95f345ba7ec6055 (patch)
treef9193ddd029b9e24b4ffbb986128792a3ffb0ceb
parentbzero pci attach args (diff)
downloadwireguard-openbsd-e9bea8806273acbb1cfbff67b95f345ba7ec6055.tar.xz
wireguard-openbsd-e9bea8806273acbb1cfbff67b95f345ba7ec6055.zip
bzero pci attach args
-rw-r--r--sys/arch/mvmeppc/pci/mpcpcibr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mvmeppc/pci/mpcpcibr.c b/sys/arch/mvmeppc/pci/mpcpcibr.c
index 4ab76a14489..37e274409bb 100644
--- a/sys/arch/mvmeppc/pci/mpcpcibr.c
+++ b/sys/arch/mvmeppc/pci/mpcpcibr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpcpcibr.c,v 1.18 2006/12/14 17:36:12 kettenis Exp $ */
+/* $OpenBSD: mpcpcibr.c,v 1.19 2009/03/30 09:51:54 kettenis Exp $ */
/*
* Copyright (c) 2001 Steve Murphree, Jr.
@@ -232,6 +232,8 @@ mpcpcibrattach(parent, self, aux)
printf(": revision 0x%x\n",
mpc_cfg_read_1(lcp, RAVEN_PCI_REVID));
+
+ bzero(&pba, sizeof(pba));
pba.pba_dmat = &pci_bus_dma_tag;
pba.pba_busname = "pci";