From e2f854c9d6d144dc78b324c8052f4e70715327eb Mon Sep 17 00:00:00 2001 From: mjacob Date: Mon, 10 Jul 2000 00:32:02 +0000 Subject: 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. --- sys/alpha/pci/mcpcia_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/alpha') 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); } -- cgit v1.1