summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-04-01 19:51:11 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-04-01 19:51:11 +0000
commit75945057bc32315f0fd1610069bc13fab42f8985 (patch)
tree75dd1b167d72ba11d80397ed8c1a9b9580196f21 /sys
parent8e1bf25baa039d7bd74ce8416592900d91ee29c2 (diff)
bzero pci attach args
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/ppb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/ppb.c b/sys/dev/pci/ppb.c
index f5d98e8cbbe..5e3572e29c6 100644
--- a/sys/dev/pci/ppb.c
+++ b/sys/dev/pci/ppb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppb.c,v 1.28 2008/12/28 23:08:06 kettenis Exp $ */
+/* $OpenBSD: ppb.c,v 1.29 2009/04/01 19:51:10 kettenis Exp $ */
/* $NetBSD: ppb.c,v 1.16 1997/06/06 23:48:05 thorpej Exp $ */
/*
@@ -167,6 +167,7 @@ ppbattach(struct device *parent, struct device *self, void *aux)
* XXX Don't pass-through Memory Read Multiple. Should we?
* XXX Consult the spec...
*/
+ bzero(&pba, sizeof(pba));
pba.pba_busname = "pci";
pba.pba_iot = pa->pa_iot;
pba.pba_memt = pa->pa_memt;