From: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
To: Greg KH <greg@kroah.com>
Cc: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-pci@atrey.karlin.mff.cuni.cz
Subject: [PATCH 4/4] PCI legacy I/O port free driver (take5) - Make Emulex lpfc driver legacy I/O port free
Date: Tue, 07 Mar 2006 14:59:45 +0900 [thread overview]
Message-ID: <440D2151.5040501@jp.fujitsu.com> (raw)
In-Reply-To: <440D1FEC.1070701@jp.fujitsu.com>
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-rc5-mm2/drivers/scsi/lpfc/lpfc_init.c
===================================================================
--- linux-2.6.16-rc5-mm2.orig/drivers/scsi/lpfc/lpfc_init.c 2006-03-07 14:06:48.000000000 +0900
+++ linux-2.6.16-rc5-mm2/drivers/scsi/lpfc/lpfc_init.c 2006-03-07 14:07:22.000000000 +0900
@@ -1391,8 +1391,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;
prev parent reply other threads:[~2006-03-07 6:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-07 5:53 [PATCH 0/4] PCI legacy I/O port free driver (take5) Kenji Kaneshige
2006-03-07 5:56 ` [PATCH 1/4] PCI legacy I/O port free driver (take5) - changes to generic PCI code Kenji Kaneshige
2006-03-07 5:57 ` [PATCH 2/4] PCI legacy I/O port free driver (take5) - Update Documentation/pci.txt Kenji Kaneshige
2006-03-07 5:58 ` [PATCH 3/4] PCI legacy I/O port free driver (take5) - Make Intel e1000 driver legacy I/O port free Kenji Kaneshige
2006-03-07 5:59 ` Kenji Kaneshige [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=440D2151.5040501@jp.fujitsu.com \
--to=kaneshige.kenji@jp.fujitsu.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.