Re: [PATCH v3 3/6] PCI: generic: Quit clobbering our pci_ops.

2015-09-23 Thread David Daney
On 09/23/2015 01:21 AM, Arnd Bergmann wrote: On Tuesday 22 September 2015 16:49:14 David Daney wrote: From: David Daney The pci-host-generic driver keeps a global struct pci_ops which it then patches with the .map_bus method appropriate for the bus device. A problem

Re: [PATCH v3 3/6] PCI: generic: Quit clobbering our pci_ops.

2015-09-23 Thread Arnd Bergmann
On Tuesday 22 September 2015 16:49:14 David Daney wrote: > From: David Daney > > The pci-host-generic driver keeps a global struct pci_ops which it > then patches with the .map_bus method appropriate for the bus device. > A problem arises when the driver is used for two

[PATCH v3 3/6] PCI: generic: Quit clobbering our pci_ops.

2015-09-22 Thread David Daney
From: David Daney The pci-host-generic driver keeps a global struct pci_ops which it then patches with the .map_bus method appropriate for the bus device. A problem arises when the driver is used for two different types of bus devices, the .map_bus method for the last