Re: [RFC PATCH 02/16] PCI: Use pci_scan_root_bus() instead of pci_scan_bus()

2014-11-18 Thread Yijing Wang
On 2014/11/18 22:28, Liviu Dudau wrote: > On Mon, Nov 17, 2014 at 10:21:36AM +, Yijing Wang wrote: >> From: Yijing Wang >> >> Now we could use pci_scan_root_bus() instead of >> pci_scan_bus(), pass NULL resources means use the default >> io/mem. > > Actually, I think this patch goes in the

Re: [RFC PATCH 02/16] PCI: Use pci_scan_root_bus() instead of pci_scan_bus()

2014-11-18 Thread Liviu Dudau
On Mon, Nov 17, 2014 at 10:21:36AM +, Yijing Wang wrote: > From: Yijing Wang > > Now we could use pci_scan_root_bus() instead of > pci_scan_bus(), pass NULL resources means use the default > io/mem. Actually, I think this patch goes in the wrong direction. You are adding two additional

Re: [RFC PATCH 02/16] PCI: Use pci_scan_root_bus() instead of pci_scan_bus()

2014-11-18 Thread Yijing Wang
On 2014/11/18 22:28, Liviu Dudau wrote: On Mon, Nov 17, 2014 at 10:21:36AM +, Yijing Wang wrote: From: Yijing Wang wangyijing0...@gmail.com Now we could use pci_scan_root_bus() instead of pci_scan_bus(), pass NULL resources means use the default io/mem. Actually, I think this patch

Re: [RFC PATCH 02/16] PCI: Use pci_scan_root_bus() instead of pci_scan_bus()

2014-11-18 Thread Liviu Dudau
On Mon, Nov 17, 2014 at 10:21:36AM +, Yijing Wang wrote: From: Yijing Wang wangyijing0...@gmail.com Now we could use pci_scan_root_bus() instead of pci_scan_bus(), pass NULL resources means use the default io/mem. Actually, I think this patch goes in the wrong direction. You are adding

[RFC PATCH 02/16] PCI: Use pci_scan_root_bus() instead of pci_scan_bus()

2014-11-17 Thread Yijing Wang
From: Yijing Wang Now we could use pci_scan_root_bus() instead of pci_scan_bus(), pass NULL resources means use the default io/mem. Signed-off-by: Yijing Wang --- arch/alpha/include/asm/pci.h |2 +- arch/alpha/kernel/sys_nautilus.c |2 +- arch/cris/include/asm/pci.h |2

[RFC PATCH 02/16] PCI: Use pci_scan_root_bus() instead of pci_scan_bus()

2014-11-17 Thread Yijing Wang
From: Yijing Wang wangyijing0...@gmail.com Now we could use pci_scan_root_bus() instead of pci_scan_bus(), pass NULL resources means use the default io/mem. Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/alpha/include/asm/pci.h |2 +- arch/alpha/kernel/sys_nautilus.c |2