Re: [PATCH v9 10/11] PCI: Add match_driver in struct pci_dev

2013-01-21 Thread Rafael J. Wysocki
On Sunday, January 20, 2013 09:22:04 PM Yinghai Lu wrote: > On Sun, Jan 20, 2013 at 3:15 PM, Rafael J. Wysocki wrote: > > On Thursday, January 17, 2013 11:53:21 PM Yinghai Lu wrote: > >> with that we could move out attaching driver for pci device, > >> out of device_add for pci hot add path. > >>

Re: [PATCH v9 10/11] PCI: Add match_driver in struct pci_dev

2013-01-20 Thread Yinghai Lu
On Sun, Jan 20, 2013 at 3:15 PM, Rafael J. Wysocki wrote: > On Thursday, January 17, 2013 11:53:21 PM Yinghai Lu wrote: >> with that we could move out attaching driver for pci device, >> out of device_add for pci hot add path. >> >> pci_bus_attach_device() will attach driver to pci device. > > Ack

Re: [PATCH v9 10/11] PCI: Add match_driver in struct pci_dev

2013-01-20 Thread Rafael J. Wysocki
On Thursday, January 17, 2013 11:53:21 PM Yinghai Lu wrote: > with that we could move out attaching driver for pci device, > out of device_add for pci hot add path. > > pci_bus_attach_device() will attach driver to pci device. Acked-by: Rafael J. Wysocki for the code, but you still aren't sayin

[PATCH v9 10/11] PCI: Add match_driver in struct pci_dev

2013-01-17 Thread Yinghai Lu
with that we could move out attaching driver for pci device, out of device_add for pci hot add path. pci_bus_attach_device() will attach driver to pci device. Signed-off-by: Yinghai Lu --- drivers/pci/bus.c| 10 ++ drivers/pci/pci-driver.c |6 +- include/linux/pci.h