diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-30 20:09:51 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-30 20:09:51 +0000 |
commit | 2d9c3bcff779768708ac4908c5d161ef9b8b663a (patch) | |
tree | 03ace0b348d687ce1b22746aeef7e26b6d3aa567 /sys/arch | |
parent | 4a835490da0f25314117ed4a73a47cd50f250e25 (diff) |
bzero pci attach args
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/socppc/dev/socpcic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/socppc/dev/socpcic.c b/sys/arch/socppc/dev/socpcic.c index f65d5e78b25..1f95856b1f4 100644 --- a/sys/arch/socppc/dev/socpcic.c +++ b/sys/arch/socppc/dev/socpcic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: socpcic.c,v 1.2 2008/05/17 15:49:05 kettenis Exp $ */ +/* $OpenBSD: socpcic.c,v 1.3 2009/03/30 20:09:50 kettenis Exp $ */ /* * Copyright (c) 2008 Mark Kettenis @@ -102,6 +102,7 @@ socpcic_attach(struct device *parent, struct device *self, void *aux) sc->sc_pc.pc_intr_disestablish = socpcic_intr_disestablish; sc->sc_pc.pc_ether_hw_addr = socpcic_ether_hw_addr; + bzero(&pba, sizeof(pba)); pba.pba_busname = "pci"; pba.pba_iot = &sc->sc_io_bus_space; pba.pba_memt = &sc->sc_mem_bus_space; @@ -109,7 +110,6 @@ socpcic_attach(struct device *parent, struct device *self, void *aux) pba.pba_pc = &sc->sc_pc; pba.pba_domain = pci_ndomains++; pba.pba_bus = 0; - pba.pba_bridgetag = NULL; printf("\n"); |