Re: [PATCH v6 00/15] staging: mt7621-pci: avoid custom pci config read and writes

2018-07-31 Thread Sergio Paracuellos
On Tue, Jul 31, 2018 at 03:25:43PM +1000, NeilBrown wrote: > On Tue, Jul 31 2018, Sergio Paracuellos wrote: > > > On Tue, Jul 31, 2018 at 08:55:52AM +1000, NeilBrown wrote: > >> On Mon, Jul 30 2018, Sergio Paracuellos wrote: > >> > >> > This patch series include an attempt to avoid the use of cus

Re: [PATCH v6 00/15] staging: mt7621-pci: avoid custom pci config read and writes

2018-07-30 Thread Sergio Paracuellos
On Tue, Jul 31, 2018 at 03:25:43PM +1000, NeilBrown wrote: > On Tue, Jul 31 2018, Sergio Paracuellos wrote: > > > On Tue, Jul 31, 2018 at 08:55:52AM +1000, NeilBrown wrote: > >> On Mon, Jul 30 2018, Sergio Paracuellos wrote: > >> > >> > This patch series include an attempt to avoid the use of cus

Re: [PATCH v6 00/15] staging: mt7621-pci: avoid custom pci config read and writes

2018-07-30 Thread NeilBrown
On Tue, Jul 31 2018, Sergio Paracuellos wrote: > On Tue, Jul 31, 2018 at 08:55:52AM +1000, NeilBrown wrote: >> On Mon, Jul 30 2018, Sergio Paracuellos wrote: >> >> > This patch series include an attempt to avoid the use of custom >> > read and writes in driver code and use PCI subsystem common on

Re: [PATCH v6 00/15] staging: mt7621-pci: avoid custom pci config read and writes

2018-07-30 Thread Sergio Paracuellos
On Tue, Jul 31, 2018 at 08:55:52AM +1000, NeilBrown wrote: > On Mon, Jul 30 2018, Sergio Paracuellos wrote: > > > This patch series include an attempt to avoid the use of custom > > read and writes in driver code and use PCI subsystem common ones. > > > > In order to do this 'map_bus' callback is

Re: [PATCH v6 00/15] staging: mt7621-pci: avoid custom pci config read and writes

2018-07-30 Thread Sergio Paracuellos
On Tue, Jul 31, 2018 at 08:55:52AM +1000, NeilBrown wrote: > On Mon, Jul 30 2018, Sergio Paracuellos wrote: > > > This patch series include an attempt to avoid the use of custom > > read and writes in driver code and use PCI subsystem common ones. > > > > In order to do this 'map_bus' callback is

Re: [PATCH v6 00/15] staging: mt7621-pci: avoid custom pci config read and writes

2018-07-30 Thread NeilBrown
On Mon, Jul 30 2018, Sergio Paracuellos wrote: > This patch series include an attempt to avoid the use of custom > read and writes in driver code and use PCI subsystem common ones. > > In order to do this 'map_bus' callback is implemented and also > data structures for driver are included. The reg

[PATCH v6 00/15] staging: mt7621-pci: avoid custom pci config read and writes

2018-07-30 Thread Sergio Paracuellos
This patch series include an attempt to avoid the use of custom read and writes in driver code and use PCI subsystem common ones. In order to do this 'map_bus' callback is implemented and also data structures for driver are included. The regs base address is being readed from device tree and the d