diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-30 09:51:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-30 09:51:55 +0000 |
commit | 0001bd2e9edf7f33f7d29cfcf90f0ac6519f3d9f (patch) | |
tree | 8e60d7ea80677cf6f4dfb51adc1218b4f02145d6 /sys | |
parent | a89fca3a0ff42f3808a217426b6e51a7c833658d (diff) |
bzero pci attach args
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvmeppc/pci/mpcpcibr.c | 4 |
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"; |