Re: [PATCH v9 11/11] PCI: Put pci dev to device tree as early as possible

2013-01-20 Thread Yinghai Lu
On Sun, Jan 20, 2013 at 3:23 PM, Rafael J. Wysocki wrote: > On Thursday, January 17, 2013 11:53:22 PM Yinghai Lu wrote: >> We want to put created pci device in the device tree as soon as possible. >> - just after we find it and create pci_dev struct for it. >> so for_pci_dev iteration will not mis

Re: [PATCH v9 11/11] PCI: Put pci dev to device tree as early as possible

2013-01-20 Thread Rafael J. Wysocki
On Thursday, January 17, 2013 11:53:22 PM Yinghai Lu wrote: > We want to put created pci device in the device tree as soon as possible. > - just after we find it and create pci_dev struct for it. > so for_pci_dev iteration will not miss them. > > But at that time, we can not load driver for them y

[PATCH v9 11/11] PCI: Put pci dev to device tree as early as possible

2013-01-17 Thread Yinghai Lu
We want to put created pci device in the device tree as soon as possible. - just after we find it and create pci_dev struct for it. so for_pci_dev iteration will not miss them. But at that time, we can not load driver for them yet. Need to be after pci_assign_unsigned_resources() etc to make sure