Re: [PATCH 10/28] PCI: Save sysdata in pci_host_bridge drvdata

2015-01-19 Thread Arnd Bergmann
On Monday 19 January 2015 11:12:50 Yijing Wang wrote: > On 2015/1/16 17:18, Arnd Bergmann wrote: > > On Friday 16 January 2015 09:44:08 Yijing Wang wrote: > >> @@ -2066,11 +2064,11 @@ struct pci_bus *pci_scan_root_bus(struct device > >> *parent, u32 db, > >> { > >> struct pci_host_bridge

Re: [PATCH 10/28] PCI: Save sysdata in pci_host_bridge drvdata

2015-01-18 Thread Yijing Wang
On 2015/1/16 17:18, Arnd Bergmann wrote: > On Friday 16 January 2015 09:44:08 Yijing Wang wrote: >> @@ -2066,11 +2064,11 @@ struct pci_bus *pci_scan_root_bus(struct device >> *parent, u32 db, >> { >> struct pci_host_bridge *host; >> >> - host = pci_create_host_bridge(parent, db, r

Re: [PATCH 10/28] PCI: Save sysdata in pci_host_bridge drvdata

2015-01-16 Thread Arnd Bergmann
On Friday 16 January 2015 09:44:08 Yijing Wang wrote: > @@ -2066,11 +2064,11 @@ struct pci_bus *pci_scan_root_bus(struct device > *parent, u32 db, > { > struct pci_host_bridge *host; > > - host = pci_create_host_bridge(parent, db, resources); > + host = pci_create_host_bridg

[PATCH 10/28] PCI: Save sysdata in pci_host_bridge drvdata

2015-01-15 Thread Yijing Wang
Save platform specific sysdata in pci_host_bridge drvdata, host bridge specific operation need to access it before the pci bus creation. Signed-off-by: Yijing Wang --- drivers/pci/host-bridge.c |4 +++- drivers/pci/probe.c | 18 -- include/linux/pci.h |3 ++-