Skip to content

Commit

Permalink
PCI: print out suggestion about using pci=realloc
Browse files Browse the repository at this point in the history
let user know they could try if pci=realloc could help.

-v2: update suggestion text.

Suggested-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Yinghai Lu authored and Jesse Barnes committed Feb 24, 2012
1 parent b55438f commit eb572e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/pci/setup-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1347,6 +1347,9 @@ pci_assign_unassigned_resources(void)
goto enable_and_dump;

if (tried_times >= pci_try_num) {
if (pci_realloc_enable == undefined)
printk(KERN_INFO "Some PCI device resources are unassigned, try booting with pci=realloc\n");

free_list(&fail_head);
goto enable_and_dump;
}
Expand Down

0 comments on commit eb572e7

Please sign in to comment.