summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/xbow
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-03-30 09:41:01 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-03-30 09:41:01 +0000
commita89fca3a0ff42f3808a217426b6e51a7c833658d (patch)
treef6b91e974e7b0578a3135e9b71b75b3c06f724f5 /sys/arch/sgi/xbow
parente163bf8e7372de45abb0696d9d29065cb2a030ec (diff)
bzero pci attach args
Diffstat (limited to 'sys/arch/sgi/xbow')
-rw-r--r--sys/arch/sgi/xbow/xbridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/xbow/xbridge.c b/sys/arch/sgi/xbow/xbridge.c
index 3882aa23230..51548e80692 100644
--- a/sys/arch/sgi/xbow/xbridge.c
+++ b/sys/arch/sgi/xbow/xbridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xbridge.c,v 1.4 2008/08/25 13:35:34 jsing Exp $ */
+/* $OpenBSD: xbridge.c,v 1.5 2009/03/30 09:41:00 kettenis Exp $ */
/*
* Copyright (c) 2008 Miodrag Vallat.
@@ -278,6 +278,7 @@ xbridge_attach(struct device *parent, struct device *self, void *aux)
* Attach children.
*/
+ bzero(&pba, sizeof(pba));
pba.pba_busname = "pci";
pba.pba_iot = sc->sc_io_bus_space;
pba.pba_memt = sc->sc_mem_bus_space;
@@ -285,7 +286,6 @@ xbridge_attach(struct device *parent, struct device *self, void *aux)
pba.pba_pc = &sc->sc_pc;
pba.pba_domain = pci_ndomains++;
pba.pba_bus = sc->sc_dev.dv_unit;
- pba.pba_bridgetag = NULL;
config_found(self, &pba, xbridge_print);
return;