diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-04-01 19:51:11 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-04-01 19:51:11 +0000 |
commit | 75945057bc32315f0fd1610069bc13fab42f8985 (patch) | |
tree | 75dd1b167d72ba11d80397ed8c1a9b9580196f21 /sys | |
parent | 8e1bf25baa039d7bd74ce8416592900d91ee29c2 (diff) |
bzero pci attach args
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/ppb.c | 3 |
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; |