diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-30 09:41:01 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-30 09:41:01 +0000 |
commit | a89fca3a0ff42f3808a217426b6e51a7c833658d (patch) | |
tree | f6b91e974e7b0578a3135e9b71b75b3c06f724f5 /sys/arch/sgi/pci | |
parent | e163bf8e7372de45abb0696d9d29065cb2a030ec (diff) |
bzero pci attach args
Diffstat (limited to 'sys/arch/sgi/pci')
-rw-r--r-- | sys/arch/sgi/pci/macepcibridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/pci/macepcibridge.c b/sys/arch/sgi/pci/macepcibridge.c index e1a63bf9339..f5f9ceb9ea4 100644 --- a/sys/arch/sgi/pci/macepcibridge.c +++ b/sys/arch/sgi/pci/macepcibridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macepcibridge.c,v 1.17 2008/07/30 17:37:46 miod Exp $ */ +/* $OpenBSD: macepcibridge.c,v 1.18 2009/03/30 09:41:00 kettenis Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se) @@ -244,6 +244,7 @@ mace_pcibrattach(struct device *parent, struct device *self, void *aux) /* * Configure our PCI devices. */ + bzero(&pba, sizeof(pba)); pba.pba_busname = "pci"; pba.pba_iot = sc->sc_io_bus_space; pba.pba_memt = sc->sc_mem_bus_space; @@ -252,7 +253,6 @@ mace_pcibrattach(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, mace_pcibrprint); /* Clear PCI errors and set up error interrupt */ |