"asix: Don't reset PHY on if_up for ASIX 88772" breaks net on arndale platform

2014-11-03 Thread Riku Voipio
Hi, With 3.18-rc3, asix on arndale (samsung exynos 5250 based board), fails to work. Interface is initialized but network traffic seem not to pass through. With kernel IP config the result looks like: [3.323275] usb 3-3.2.4: new high-speed USB device number 4 using exynos-ehci [3.419151]

Re: "asix: Don't reset PHY on if_up for ASIX 88772" breaks net on arndale platform

2014-11-04 Thread Riku Voipio
oesn't break arndale. > Kind regards, > > Michel Stam > > -Original Message- > From: Riku Voipio [mailto:riku.voi...@iki.fi] > Sent: Tuesday, November 04, 2014 8:23 AM > To: da...@davemloft.net; Stam, Michel [FINT] > Cc: linux-usb@vger.kernel.org; net...@

Re: "asix: Don't reset PHY on if_up for ASIX 88772" breaks net onarndale platform

2014-11-05 Thread Riku Voipio
asix_mdio_write(dev->net, dev->mii.phy_id, MII_ADVERTISE, reg); > mii_nway_restart(&dev->mii); > > ret = asix_write_medium_mode(dev, AX88772_MEDIUM_DEFAULT); > > Then things work on Arndale for me. Does that work for you? > Whether that is a se

Re: "asix: Don't reset PHY on if_up for ASIX 88772" breaks net on arndale platform

2014-11-06 Thread Riku Voipio
On Wed, Nov 05, 2014 at 03:02:58PM +, Charles Keepax wrote: > On Wed, Nov 05, 2014 at 01:04:37PM +0100, Stam, Michel [FINT] wrote: > > Hello Charles, > > > > After looking around I found the reset value for the 8772 chip, which > > seems to be 0x1E1 (ANAR register). > > > > This equates to (a

Re: "asix: Don't reset PHY on if_up for ASIX 88772" breaks net on arndale platform

2014-11-06 Thread Riku Voipio
On Thu, Nov 06, 2014 at 10:01:04AM +, Charles Keepax wrote: > On Thu, Nov 06, 2014 at 11:06:51AM +0200, Riku Voipio wrote: > > The asix on arndale comes semi-configured from u-boot, which I guess is > > not the state kernel expects it to come in. At least in my case where > &

Re: "asix: Don't reset PHY on if_up for ASIX 88772" breaks net onarndale platform

2014-11-07 Thread Riku Voipio
On Thu, Nov 06, 2014 at 02:09:40PM +, Charles Keepax wrote: > On Thu, Nov 06, 2014 at 03:01:56PM +0100, Stam, Michel [FINT] wrote: > > Hello Charles and Riku, > > > > I've quickly tested this on a 3.10 kernel i had around; > > I enabled CONFIG_PM, CONFIG_PM_RUNTIME, CONFIG_PM_AUTOSLEEP, > > CO