lkml.org 
[lkml]   [2012]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 01/11] PCI: Should add children device res to fail list
    Date
    We can stop according to try number now. So do need that as stop sign.

    Signed-off-by: Yinghai Lu <yinghai@kernel.org>
    ---
    drivers/pci/setup-bus.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
    index 192172c..64d478f 100644
    --- a/drivers/pci/setup-bus.c
    +++ b/drivers/pci/setup-bus.c
    @@ -283,7 +283,7 @@ static void assign_requested_resources_sorted(struct list_head *head,
    idx = res - &dev_res->dev->resource[0];
    if (resource_size(res) &&
    pci_assign_resource(dev_res->dev, idx)) {
    - if (fail_head && !pci_is_root_bus(dev_res->dev->bus)) {
    + if (fail_head) {
    /*
    * if the failed res is for ROM BAR, and it will
    * be enabled later, don't add it to the list
    --
    1.7.7


    \
     
     \ /
      Last update: 2012-05-23 09:41    [W:2.815 / U:0.788 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site