[PATCH 1/3] EP93xx eth: allow passing of phy config via platform data
Sascha Hauer
s.hauer at pengutronix.de
Wed Feb 24 00:04:28 PST 2016
Hi Alexander,
On Sun, Feb 21, 2016 at 07:06:28PM +0100, Alexander Kurz wrote:
> Passing phy configuration to the ep93xx_eth driver was not supported yet
> and will be added with this patch. When no pdata is passed, the probably
> broken default of phy_addr = 0 will be used to maintain compatibility
> with the previous implementation.
>
> Signed-off-by: Alexander Kurz <akurz at blala.de>
> ---
> drivers/net/ep93xx.c | 14 ++++++++++++--
> drivers/net/ep93xx.h | 2 ++
> 2 files changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/ep93xx.c b/drivers/net/ep93xx.c
> index 90c12fc..d2458eb 100644
> --- a/drivers/net/ep93xx.c
> +++ b/drivers/net/ep93xx.c
> @@ -38,6 +38,7 @@
> #include <linux/types.h>
> #include <mach/ep93xx-regs.h>
> #include <linux/phy.h>
> +#include <ep93xx_eth.h>
This file is missing. Forgot to git add it?
While at it, could you move it to include/net/ please?
Thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list