From 2bbf5c811672d5b0c39d5784c61dd91913e8e045 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Mon, 13 Mar 2006 20:10:50 +0000 Subject: * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. From NetBSD ok grange@ kettenis@ --- sys/arch/hppa/dev/dino.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/hppa') diff --git a/sys/arch/hppa/dev/dino.c b/sys/arch/hppa/dev/dino.c index ec279bdb32d..f25598e11fe 100644 --- a/sys/arch/hppa/dev/dino.c +++ b/sys/arch/hppa/dev/dino.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dino.c,v 1.16 2005/09/06 23:53:38 mickey Exp $ */ +/* $OpenBSD: dino.c,v 1.17 2006/03/13 20:10:49 brad Exp $ */ /* * Copyright (c) 2003-2005 Michael Shalayeff @@ -1623,6 +1623,7 @@ dinoattach(parent, self, aux) pba.pba_dmat = &sc->sc_dmatag; pba.pba_pc = &sc->sc_pc; pba.pba_bus = 0; + pba.pba_bridgetag = NULL; config_found(self, &pba, dinoprint); /* enable interrupts now that all the devices are there */ -- cgit v1.2.3