diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-03-13 20:10:50 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-03-13 20:10:50 +0000 |
commit | 2bbf5c811672d5b0c39d5784c61dd91913e8e045 (patch) | |
tree | a1809fa7aebf56fa87ef985c841627841bad37d0 /sys/arch/hppa | |
parent | 9afec5752905399d9d215d7e3ed13f7c74e690fb (diff) |
* 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@
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/dev/dino.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |