Re: [PATCH 4/8] ARM/net: ixp4xx: Pass ethernet physical base as resource

2019-05-28 Thread Andrew Lunn
> >> /* Built-in 10/100 Ethernet MAC interfaces */ > >>+static struct resource fsg_eth_npeb_resources[] = { > >>+ { > >>+ .start = IXP4XX_EthB_BASE_PHYS, > >>+ .end= IXP4XX_EthB_BASE_PHYS + 0x0fff, > > > >Hi Linus > > > >It is a long time since i did reso

Re: [PATCH 4/8] ARM/net: ixp4xx: Pass ethernet physical base as resource

2019-05-25 Thread Sergei Shtylyov
Hello! On 24.05.2019 23:00, Andrew Lunn wrote: In order to probe this ethernet interface from the device tree all physical MMIO regions must be passed as resources. Begin this rewrite by first passing the port base address as a resource for all platforms using this driver, remap it in the drive

Re: [PATCH 4/8] ARM/net: ixp4xx: Pass ethernet physical base as resource

2019-05-24 Thread Andrew Lunn
On Fri, May 24, 2019 at 06:20:19PM +0200, Linus Walleij wrote: > In order to probe this ethernet interface from the device tree > all physical MMIO regions must be passed as resources. Begin > this rewrite by first passing the port base address as a > resource for all platforms using this driver, r

[PATCH 4/8] ARM/net: ixp4xx: Pass ethernet physical base as resource

2019-05-24 Thread Linus Walleij
In order to probe this ethernet interface from the device tree all physical MMIO regions must be passed as resources. Begin this rewrite by first passing the port base address as a resource for all platforms using this driver, remap it in the driver and avoid using any reference of the statically m