From: Yinghai Lu Date: Fri, 24 Feb 2012 03:23:31 +0000 (-0800) Subject: PCI: print out suggestion about using pci=realloc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eb572e7c76f154d75f90a783924f88afc34d5fec;p=mv-sheeva.git 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 Signed-off-by: Yinghai Lu Signed-off-by: Jesse Barnes --- diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 219722df68d..e21e1c23730 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c @@ -1347,6 +1347,9 @@ again: 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; }