Christoph Hellwig wrote:
On Wed, Jun 07, 2006 at 09:23:19PM +0900, Kenji Kaneshige wrote:No. Your idea is very similar to the idea of previous version of my patchewhich had a bug. The problem is that it doesn't work if pci_request_regions()is called before pci_enable_device*() (This is the correct order, though so many drivers breaks this rule).Doesn't matter. Drivers not using pci_enable_device_noioport should be unaffect. Any any driver you convert should be fixed to do thing in the right order.
I mean the right order is (1) pci_request_regions() (2) pci_enable_device*() So there are no chance to set the flag for pci_request_regions() to know which regions should be requested. 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: Grant Grundler <[email protected]>
- 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: [BUG](-mm)pci_disable_device function clear bars_enabled element
- Prev by Date: usb error? linux 2.6.15-1.1831_FC4
- Next by Date: Re: usb device 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):