lkml.org 
[lkml]   [2012]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 6/7] PCI: print out suggestion about using pci=realloc
Date
let user know they could try if pci=realloc could help.

Suggested-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Yinghai Lu <yinghai@kerne.org>
---
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 22454c5..9526038 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -1346,6 +1346,9 @@ again:
goto enable_and_dump;

if (tried_times >= pci_try_num) {
+ if (pci_realloc_enable == enable_not_set)
+ printk(KERN_INFO "Some pci devices resources are not assigned, please try to boot with pci=realloc\n");
+
free_list(&fail_head);
goto enable_and_dump;
}
--
1.7.7


\
 
 \ /
  Last update: 2012-02-01 23:45    [W:0.044 / U:1.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site