mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 21:26:51 +00:00
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:
parent
fcf293ef83
commit
bc08581099
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62862
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue