Christoph Hellwig wrote:
On Wed, Jun 07, 2006 at 10:11:12PM +0900, Kenji Kaneshige wrote:I mean the right order is (1) pci_request_regions() (2) pci_enable_device*()no, pci_enable_device should be first.
I had the same wrong assumption before. But to prevent two devices colliding on the same address range, pci_request_regions() should be called first. Please see the following discussions: http://www.uwsg.iu.edu/hypermail/linux/kernel/0606.0/0076.html http://www.uwsg.iu.edu/hypermail/linux/kernel/0606.0/0187.html http://www.uwsg.iu.edu/hypermail/linux/kernel/0606.0/0212.html http://www.uwsg.iu.edu/hypermail/linux/kernel/0606.0/0369.html http://www.uwsg.iu.edu/hypermail/linux/kernel/0606.0/0401.html http://www.uwsg.iu.edu/hypermail/linux/kernel/0606.0/0431.html http://www.uwsg.iu.edu/hypermail/linux/kernel/0606.0/0839.html Thanks, Kenji Kaneshige - 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/
- Follow-Ups:
- Re: [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- References:
- Re: [BUG](-mm)pci_disable_device function clear bars_enabled element
- From: Rajesh Shah <[email protected]>
- Re: [BUG](-mm)pci_disable_device function clear bars_enabled element
- From: Kenji Kaneshige <[email protected]>
- [BUG][PATCH 2.6.17-rc5-mm3] bugfix: PCI legacy I/O port free driver
- From: Kenji Kaneshige <[email protected]>
- Re: [BUG][PATCH 2.6.17-rc5-mm3] bugfix: PCI legacy I/O port free driver
- From: Greg KH <[email protected]>
- Re: [BUG][PATCH 2.6.17-rc5-mm3] bugfix: PCI legacy I/O port free driver
- From: Kenji Kaneshige <[email protected]>
- [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- From: Kenji Kaneshige <[email protected]>
- Re: [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- From: Kenji Kaneshige <[email protected]>
- Re: [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- From: Kenji Kaneshige <[email protected]>
- Re: [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- From: Christoph Hellwig <[email protected]>
- Re: [BUG](-mm)pci_disable_device function clear bars_enabled element
- Prev by Date: Re: [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- Next by Date: [patch] workaround zd1201 interference problem
- Previous by thread: Re: [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- Next by thread: Re: [PATCH 4/4] Make Emulex lpfc driver legacy I/O port free
- Index(es):