Re: [PATCH v8 22/22] PCI: move device_add out of pci_bus_add_device()

2013-01-15 Thread Yinghai Lu
On Tue, Jan 15, 2013 at 6:29 PM, Yijing Wang wrote: > On 2013/1/12 6:40, Yinghai Lu wrote: >> Move out device registering out of pci_bus_add_devices, so we could >> put new created pci devices in device tree early. >> >> new pci_bus_add_devices will do the device_attach work to load pci drivers >>

Re: [PATCH v8 22/22] PCI: move device_add out of pci_bus_add_device()

2013-01-15 Thread Yijing Wang
On 2013/1/12 6:40, Yinghai Lu wrote: > Move out device registering out of pci_bus_add_devices, so we could > put new created pci devices in device tree early. > > new pci_bus_add_devices will do the device_attach work to load pci drivers > instead. > > Signed-off-by: Yinghai Lu > --- > drivers/

Re: [PATCH v8 22/22] PCI: move device_add out of pci_bus_add_device()

2013-01-15 Thread Yinghai Lu
On Tue, Jan 15, 2013 at 3:19 AM, Rafael J. Wysocki wrote: > On Monday, January 14, 2013 11:10:36 PM Yinghai Lu wrote: >> On Sat, Jan 12, 2013 at 3:54 PM, Rafael J. Wysocki wrote: >> >> Move out device registering out of pci_bus_add_devices, so we could >> >> put new created pci devices in device

Re: [PATCH v8 22/22] PCI: move device_add out of pci_bus_add_device()

2013-01-15 Thread Rafael J. Wysocki
On Monday, January 14, 2013 11:10:36 PM Yinghai Lu wrote: > On Sat, Jan 12, 2013 at 3:54 PM, Rafael J. Wysocki wrote: > >> Move out device registering out of pci_bus_add_devices, so we could > >> put new created pci devices in device tree early. > >> > >> new pci_bus_add_devices will do the device

Re: [PATCH v8 22/22] PCI: move device_add out of pci_bus_add_device()

2013-01-14 Thread Yinghai Lu
On Sat, Jan 12, 2013 at 3:54 PM, Rafael J. Wysocki wrote: >> Move out device registering out of pci_bus_add_devices, so we could >> put new created pci devices in device tree early. >> >> new pci_bus_add_devices will do the device_attach work to load pci drivers >> instead. > > I wonder what probl

Re: [PATCH v8 22/22] PCI: move device_add out of pci_bus_add_device()

2013-01-12 Thread Rafael J. Wysocki
On Friday, January 11, 2013 02:40:49 PM Yinghai Lu wrote: > Move out device registering out of pci_bus_add_devices, so we could > put new created pci devices in device tree early. > > new pci_bus_add_devices will do the device_attach work to load pci drivers > instead. I wonder what problem it so

[PATCH v8 22/22] PCI: move device_add out of pci_bus_add_device()

2013-01-11 Thread Yinghai Lu
Move out device registering out of pci_bus_add_devices, so we could put new created pci devices in device tree early. new pci_bus_add_devices will do the device_attach work to load pci drivers instead. Signed-off-by: Yinghai Lu --- drivers/pci/bus.c | 47 +++-