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.
This commit is contained in:
Matt Jacob 2000-07-10 00:32:02 +00:00
parent fcf293ef83
commit bc08581099
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62862

View file

@ -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);
}