[OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata field supported

Guenther Kelleter Guenther.Kelleter at devolo.de
Thu Jul 9 09:10:18 EDT 2015


Hi

> -----Original Message-----
> From: John Crispin [mailto:blogic at openwrt.org]
> Sent: Thursday, July 09, 2015 9:56 AM
> To: Guenther Kelleter; openwrt-devel at lists.openwrt.org
> Subject: Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata field
> supported
> 
> 
> 
> On 09/07/2015 09:42, Guenther Kelleter wrote:
> > Hi
> >
> >> -----Original Message-----
> >> From: John Crispin [mailto:blogic at openwrt.org]
> >> Sent: Thursday, July 09, 2015 8:24 AM
> >> To: Guenther Kelleter; openwrt-devel at lists.openwrt.org
> >> Subject: Re: [OpenWrt-Devel] [PATCH v3 1/7] ar71xx: ag71xx: add pdata
> >> field supported
> >>
> >> Hi,
> >>
> >> On 07/07/2015 14:58, Günther Kelleter wrote:
> >>> to allow target specific override of phydev->supported.
> >>>
> >>
> >> why do you need to do this ? do you want to force a specific link type ?
> >> if so, then using a fixed link would be preferable to faking phy caps
> >
> >
> > It simply doesn't work with autoneg on. The plc chip on the other end of
> eth0 doesn't sync. How can I force no autoneg 1000 full duplex on eth0 without
> this patch?
> > I'm setting (see patch 3/7,
> > target/linux/ar71xx/files/arch/mips/ath79/mach-dlan-pro-500-wp.c)
> > +	ath79_eth0_data.speed = SPEED_1000;
> > +	ath79_eth0_data.duplex = DUPLEX_FULL;
> > But this has no effect.
> >
> >
> 
> ok, it looked something like this. gimme a day to figure out why explicitly
> setting up the speed does not work.


You may stop searching because I've found the wrong setting.
I have to keep ath79_eth0_data.phy_mask unset (=0) to get the fixed speed settings applied.

Günther
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list