[PATCH 2/3] staging: mt7621-pci: use generic kernel pci subsystem read and write

Sergio Paracuellos sergio.paracuellos at gmail.com
Wed Jul 11 12:12:23 UTC 2018


On Wed, Jul 11, 2018 at 11:16:14AM +0200, Greg KH wrote:
> On Tue, Jul 10, 2018 at 09:33:47PM +0200, Sergio Paracuellos wrote:
> > map_bus callback is called before every .read/.write operation.
> > Implement it and change custom read write operations for the
> > pci subsystem generics. Make the probe function to assign data
> > for controller data and get pci register base from device tree.
> 
> Ok, now this makes a bit more sense, I should have read this before
> reviewing the first patch, sorry.

I though in send only two patches one introducing all (including the 
data struct) and the second removing dead code to avoid confusion but 
I ended up in this three. Sorry.
> 
> You have tested this out, right?  If it works, great, I'll gladly take
> this series then, it starts to make the platform a bit more sane, nice
> work.

No, I don't have the hardware to test this :-(. Let's wait for the Neil's
feedback then.

Good to hear that this is the correct way to start the cleaning properly,
thanks. 

> 
> thanks,
> 
> greg k-h

Best regards,
    Sergio Paracuellos


More information about the devel mailing list