summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev/elroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/dev/elroy.c')
-rw-r--r--sys/arch/hppa/dev/elroy.c4
1 files changed, 2 insertions, 2 deletions
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);