Kenji Kaneshige wrote: > No, those tasks are done through pci_enable_device_bars() called from > pci_enable_device() actually. In addition, I made small changes to > pci_enable_device() and pci_enable_device_bars() in another patch ([PATCH 1/4]). > Now pci_enable_device_bars() just call pci_enable_device_bars() like below: > > int > pci_enable_device(struct pci_dev *dev) > { > int err = pci_enable_device_bars(dev, (1 << PCI_NUM_RESOURCES) - 1); > if (err) > return err; > return 0; > } You'll likely break IDE with such a change, which I also NAK. You can't just blindly do everything that pci_enable_device() does in IDE, which was the entire reason why pci_enable_device_bars() was added by Alan in the first place. Jeff - 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 3/4] Make Intel e1000 driver legacy I/O port free
- From: Kenji Kaneshige <[email protected]>
- Re: [PATCH 3/4] Make Intel e1000 driver legacy I/O port free
- References:
- [BUG](-mm)pci_disable_device function clear bars_enabled element
- From: "bibo,mao" <[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: 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 3/4] Make Intel e1000 driver legacy I/O port free
- From: Kenji Kaneshige <[email protected]>
- Re: [PATCH 3/4] Make Intel e1000 driver legacy I/O port free
- From: Jeff Garzik <[email protected]>
- Re: [PATCH 3/4] Make Intel e1000 driver legacy I/O port free
- From: Kenji Kaneshige <[email protected]>
- [BUG](-mm)pci_disable_device function clear bars_enabled element
- Prev by Date: Re: Interrupts disabled for too long in printk
- Next by Date: Re: Still data corruption with LTP doio on 2.6.17rc
- Previous by thread: Re: [PATCH 3/4] Make Intel e1000 driver legacy I/O port free
- Next by thread: Re: [PATCH 3/4] Make Intel e1000 driver legacy I/O port free
- Index(es):