diff options
Diffstat (limited to 'sys/arch/alpha/pci/lca.c')
-rw-r--r-- | sys/arch/alpha/pci/lca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/lca.c b/sys/arch/alpha/pci/lca.c index 34c92da7249..66029e2c3de 100644 --- a/sys/arch/alpha/pci/lca.c +++ b/sys/arch/alpha/pci/lca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lca.c,v 1.20 2008/06/26 05:42:08 ray Exp $ */ +/* $OpenBSD: lca.c,v 1.21 2009/03/30 21:43:13 kettenis Exp $ */ /* $NetBSD: lca.c,v 1.14 1996/12/05 01:39:35 cgd Exp $ */ /*- @@ -241,6 +241,7 @@ lcaattach(parent, self, aux) panic("lcaattach: shouldn't be here, really..."); } + bzero(&pba, sizeof(pba)); pba.pba_busname = "pci"; pba.pba_iot = &lcp->lc_iot; pba.pba_memt = &lcp->lc_memt; @@ -249,7 +250,6 @@ lcaattach(parent, self, aux) pba.pba_pc = &lcp->lc_pc; pba.pba_domain = pci_ndomains++; pba.pba_bus = 0; - pba.pba_bridgetag = NULL; #ifdef notyet pba.pba_flags = PCI_FLAGS_IO_ENABLED | PCI_FLAGS_MEM_ENABLED | PCI_FLAGS_MRL_OKAY | PCI_FLAGS_MRM_OKAY | PCI_FLAGS_MWI_OKAY; |