Changeset 94ab1fe in mainline for uspace/drv/bus/pci/pciintel/pci.c


Ignore:
Timestamp:
2018-10-29T18:20:43Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6769005
Parents:
b25970f
Message:

Tolerate empty PCI sub buses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/pci/pciintel/pci.c

    rb25970f r94ab1fe  
    679679                                if (child_bus > bus_num) {
    680680                                        rc = pci_bus_scan(bus, child_bus);
    681                                         if (rc != EOK) {
     681                                        if (rc != EOK && rc != ENOENT) {
    682682                                                pci_fun_delete(fun);
    683683                                                return rc;
Note: See TracChangeset for help on using the changeset viewer.