[RFC][PATCH 4/4] PCI legacy I/O port free driver - Make Emulex lpfc driver legacy I/O port free

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch makes lpfc driver pci legacy free.

Signed-off-by: Kenji Kaneshige <[email protected]>

 drivers/scsi/lpfc/lpfc_init.c |    1 +
 1 files changed, 1 insertion(+)

Index: linux-2.6.16-rc3/drivers/scsi/lpfc/lpfc_init.c
===================================================================
--- linux-2.6.16-rc3.orig/drivers/scsi/lpfc/lpfc_init.c	2006-02-14 12:25:10.000000000 +0900
+++ linux-2.6.16-rc3/drivers/scsi/lpfc/lpfc_init.c	2006-02-14 12:28:08.000000000 +0900
@@ -1368,6 +1368,7 @@
 	int i;
 	uint16_t iotag;
 
+	pci_set_bar_mask_by_resource(pdev, IORESOURCE_MEM);
 	if (pci_enable_device(pdev))
 		goto out;
 	if (pci_request_regions(pdev, LPFC_DRIVER_NAME))


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux