diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-02-23 22:23:31 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-02-24 11:47:53 -0500 |
commit | eb572e7c76f154d75f90a783924f88afc34d5fec (patch) | |
tree | 79e87cc204d3e04b911c25dee39c7ebe5079d276 /drivers/pci | |
parent | b55438fdd5173a367659a7e200acea6c9f77b8cb (diff) |
PCI: print out suggestion about using pci=realloc
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/setup-bus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 219722df68d6..e21e1c237301 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c | |||
@@ -1347,6 +1347,9 @@ again: | |||
1347 | goto enable_and_dump; | 1347 | goto enable_and_dump; |
1348 | 1348 | ||
1349 | if (tried_times >= pci_try_num) { | 1349 | if (tried_times >= pci_try_num) { |
1350 | if (pci_realloc_enable == undefined) | ||
1351 | printk(KERN_INFO "Some PCI device resources are unassigned, try booting with pci=realloc\n"); | ||
1352 | |||
1350 | free_list(&fail_head); | 1353 | free_list(&fail_head); |
1351 | goto enable_and_dump; | 1354 | goto enable_and_dump; |
1352 | } | 1355 | } |