From 08aac9ca4c6008777ed73bb0c08b1e66420a52f1 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Mon, 10 Jul 2000 00:36:02 +0000 Subject: MFC: 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/pci') diff --git a/sys/alpha/pci/mcpcia_pci.c b/sys/alpha/pci/mcpcia_pci.c index 870dcd6aa61c..cbcf934211cf 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.3