[PATCH 1/3] EP93xx eth: allow passing of phy config via platform data

Alexander Kurz akurz at blala.de
Wed Feb 24 12:07:17 PST 2016


Hi Sascha,
 I have attached a fixed version of Patch 1 and 2.

 Sorry for sending an incomplete patch,
 thanks, Alexander

On Wed, 24 Feb 2016, Sascha Hauer wrote:

> 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 |
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-EP93xx-eth-allow-passing-of-phy-config-via-platform-.patch
Type: text/x-diff
Size: 3569 bytes
Desc: 
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20160224/07583298/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-edb9302-eth-privide-proper-phy-config.patch
Type: text/x-diff
Size: 1415 bytes
Desc: 
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20160224/07583298/attachment-0001.bin>


More information about the barebox mailing list