From 0001bd2e9edf7f33f7d29cfcf90f0ac6519f3d9f Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 30 Mar 2009 09:51:55 +0000 Subject: bzero pci attach args --- sys/arch/mvmeppc/pci/mpcpcibr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/mvmeppc/pci') 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"; -- cgit v1.2.3