diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-30 09:34:31 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-30 09:34:31 +0000 |
commit | e163bf8e7372de45abb0696d9d29065cb2a030ec (patch) | |
tree | 16ffeebb046920daf95976ef4b69d66531625d89 /sys/arch | |
parent | 40bd7a94b69d20a7b8c2c169715ee177009d612a (diff) |
bzero pci attach args
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa64/dev/elroy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa64/dev/elroy.c b/sys/arch/hppa64/dev/elroy.c index f374d4cd4fd..332c72ed3f3 100644 --- a/sys/arch/hppa64/dev/elroy.c +++ b/sys/arch/hppa64/dev/elroy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elroy.c,v 1.5 2008/04/20 18:41:45 kettenis Exp $ */ +/* $OpenBSD: elroy.c,v 1.6 2009/03/30 09:34:30 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); |