Re: [PATCH 8/8] net: ethernet: ixp4xx: Support device tree probing

2019-05-24 Thread Andrew Lunn
> + /* FIXME: get from MDIO handle */ > + ret = of_property_read_u32(np, "phy", &val); > + if (ret) { > + dev_err(dev, "no phy\n"); > + return NULL; > + } > + plat->phy = val; Hi Linus You might want to work on the MDIO code first. It is O.K. to do some

[PATCH 8/8] net: ethernet: ixp4xx: Support device tree probing

2019-05-24 Thread Linus Walleij
This adds device tree probing to the IXP4xx ethernet driver. We need to drop the memory region request as part of this since the OF core will request the memory for the device. Signed-off-by: Linus Walleij --- drivers/net/ethernet/xscale/ixp4xx_eth.c | 80 +++- 1 file change