PCI bus numbering and orphaned devices
Justin T. Gibbs
gibbs at scsiguy.com
Wed Jun 11 14:41:27 PDT 2003
>> + *
>> + * If we don't hardware the bus down, pciconf gets confused.
>> */
>> if (sc->secbus != 0) {
>> - child = device_add_child(dev, "pci", -1);
>> + child = device_add_child(dev, "pci", sc->secbus);
>> if (child != NULL)
>> return (bus_generic_attach(dev));
>> } else
>
> This one looks good, please commit. The comment above is outdated, so
> it might be better to just remove it completely.
At least fix the typo in the comment if you aren't going to remove it.
--
Justin
More information about the freebsd-sparc64
mailing list