summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2000-07-10 00:32:02 +0000
committermjacob <mjacob@FreeBSD.org>2000-07-10 00:32:02 +0000
commite2f854c9d6d144dc78b324c8052f4e70715327eb (patch)
treeb4e2d17363e751d38edba35d53f9637fb1127581 /sys/alpha
parentaafcd3ba194f11a60486d88f599a56c7ea0b4558 (diff)
downloadFreeBSD-src-e2f854c9d6d144dc78b324c8052f4e70715327eb.zip
FreeBSD-src-e2f854c9d6d144dc78b324c8052f4e70715327eb.tar.gz
Don't let the infrastructure assign the 'next' PCI bus for us.
Instead, for now (until we get a pci infrastructure cleanup), assign the PCI bus number to be mcpcia bus instance << 4. This is to allow secondary bridges some room to be recongnized on 4100 systems.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/pci/mcpcia_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/pci/mcpcia_pci.c b/sys/alpha/pci/mcpcia_pci.c
index 870dcd6..cbcf934 100644
--- a/sys/alpha/pci/mcpcia_pci.c
+++ b/sys/alpha/pci/mcpcia_pci.c
@@ -41,7 +41,7 @@ static int
mcpcia_pcib_probe(device_t dev)
{
device_set_desc(dev, "MCPCIA PCI host bus adapter");
- device_add_child(dev, "pci", -1);
+ device_add_child(dev, "pci", device_get_unit(dev) << 4);
return (0);
}
OpenPOWER on IntegriCloud