diff options
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/dev/dino.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa/dev/elroy.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/dev/dino.c b/sys/arch/hppa/dev/dino.c index b590e69a684..5af79ba4e5b 100644 --- a/sys/arch/hppa/dev/dino.c +++ b/sys/arch/hppa/dev/dino.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dino.c,v 1.24 2008/07/23 19:14:13 miod Exp $ */ +/* $OpenBSD: dino.c,v 1.25 2009/03/30 21:24:57 kettenis Exp $ */ /* * Copyright (c) 2003-2005 Michael Shalayeff @@ -1783,6 +1783,7 @@ dinoattach(parent, self, aux) ca->ca_hpamask = -1; pdc_scanbus(self, ca, MAXMODBUS, 0); + bzero(&pba, sizeof(pba)); pba.pba_busname = "pci"; pba.pba_iot = &sc->sc_iot; pba.pba_memt = &sc->sc_memt; @@ -1790,7 +1791,6 @@ dinoattach(parent, self, aux) pba.pba_pc = &sc->sc_pc; pba.pba_domain = pci_ndomains++; pba.pba_bus = 0; - pba.pba_bridgetag = NULL; config_found(self, &pba, dinoprint); /* postpone cleanup if necessary */ diff --git a/sys/arch/hppa/dev/elroy.c b/sys/arch/hppa/dev/elroy.c index 15a8a5515d9..207303f855d 100644 --- a/sys/arch/hppa/dev/elroy.c +++ b/sys/arch/hppa/dev/elroy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elroy.c,v 1.4 2007/08/28 21:19:44 kettenis Exp $ */ +/* $OpenBSD: elroy.c,v 1.5 2009/03/30 21:24:57 kettenis Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -1175,12 +1175,12 @@ letoh64(r->eio_base), letoh64(r->eio_mask)); sc->sc_dmatag = elroy_dmat; sc->sc_dmatag._cookie = sc; + bzero(&pba, sizeof(pba)); pba.pba_busname = "pci"; pba.pba_iot = &sc->sc_iot; pba.pba_memt = &sc->sc_memt; pba.pba_dmat = &sc->sc_dmatag; pba.pba_pc = &sc->sc_pc; - pba.pba_bridgetag = NULL; pba.pba_domain = pci_ndomains++; pba.pba_bus = 0; /* (letoh32(elroy_read32(&r->busnum)) & 0xff) >> 4; */ config_found(self, &pba, elroy_print); |