lkml.org 
[lkml]   [2006]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 2.6.16-mm1 4/4] PCI legacy I/O port free driver (take 6) - Make Emulex lpfc driver legacy I/O port free
    This patch makes Emulex lpfc driver legacy I/O port free.

    Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>

    ---
    drivers/scsi/lpfc/lpfc_init.c | 3 ++-
    1 files changed, 2 insertions(+), 1 deletion(-)

    Index: linux-2.6.16-mm1/drivers/scsi/lpfc/lpfc_init.c
    ===================================================================
    --- linux-2.6.16-mm1.orig/drivers/scsi/lpfc/lpfc_init.c 2006-03-23 20:04:05.000000000 +0900
    +++ linux-2.6.16-mm1/drivers/scsi/lpfc/lpfc_init.c 2006-03-23 20:04:14.000000000 +0900
    @@ -1434,8 +1434,9 @@
    int error = -ENODEV, retval;
    int i;
    uint16_t iotag;
    + int bars = pci_select_bars(pdev, IORESOURCE_MEM);

    - if (pci_enable_device(pdev))
    + if (pci_enable_device_bars(pdev, bars))
    goto out;
    if (pci_request_regions(pdev, LPFC_DRIVER_NAME))
    goto out_disable_device;
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-24 06:46    [W:3.208 / U:0.524 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site