• Ivan Kokshaysky's avatar
    [PATCH] PCI setup: misc cleanups and fixes · 37256d28
    Ivan Kokshaysky authored
    - Use PCI_BUS_NUM_RESOURCES instead of hardcoded `4' in
      pci_find_parent_resource;
    - clean up pci_claim_resource() and make it a bit more informative
      on errors;
    - pdev_sort_resources() must be __devinit, as it's called from
      pbus_assign_resources_sorted(), which is __devinit now;
    - fix one remaining dev->name in debugging printk.
    37256d28
pci.c 19.5 KB