Re: usbnet: smsc95xx: fix link detection for disabled autonegotiation

2016-05-31 Thread David Miller
From: Christoph Fritz Date: Mon, 30 May 2016 22:07:42 +0200 > On Sun, 2016-05-29 at 22:30 -0700, David Miller wrote: >> From: Christoph Fritz >> Date: Thu, 26 May 2016 04:06:47 +0200 >> >> > @@ -1695,6 +1745,7 @@ static int

Re: usbnet: smsc95xx: fix link detection for disabled autonegotiation

2016-05-30 Thread Christoph Fritz
On Sun, 2016-05-29 at 22:30 -0700, David Miller wrote: > From: Christoph Fritz > Date: Thu, 26 May 2016 04:06:47 +0200 > > > @@ -1695,6 +1745,7 @@ static int smsc95xx_resume(struct usb_interface *intf) > > > > /* do this first to ensure it's cleared even in error

Re: usbnet: smsc95xx: fix link detection for disabled autonegotiation

2016-05-29 Thread David Miller
From: Christoph Fritz Date: Thu, 26 May 2016 04:06:47 +0200 > @@ -1695,6 +1745,7 @@ static int smsc95xx_resume(struct usb_interface *intf) > > /* do this first to ensure it's cleared even in error case */ > pdata->suspend_flags = 0; > +

Re: usbnet: smsc95xx: fix link detection for disabled autonegotiation

2016-05-26 Thread Florian Fainelli
On 05/26/2016 04:01 AM, Christoph Fritz wrote: > On Thu, 2016-05-26 at 04:31 +0200, Andrew Lunn wrote: >> On Thu, May 26, 2016 at 04:06:47AM +0200, Christoph Fritz wrote: >>> To detect link status up/down for connections where autonegotiation is >>> explicitly disabled, we don't get an irq but

Re: usbnet: smsc95xx: fix link detection for disabled autonegotiation

2016-05-26 Thread Christoph Fritz
On Thu, 2016-05-26 at 04:31 +0200, Andrew Lunn wrote: > On Thu, May 26, 2016 at 04:06:47AM +0200, Christoph Fritz wrote: > > To detect link status up/down for connections where autonegotiation is > > explicitly disabled, we don't get an irq but need to poll the status > > register for link up/down

Re: usbnet: smsc95xx: fix link detection for disabled autonegotiation

2016-05-25 Thread Andrew Lunn
On Thu, May 26, 2016 at 04:06:47AM +0200, Christoph Fritz wrote: > To detect link status up/down for connections where autonegotiation is > explicitly disabled, we don't get an irq but need to poll the status > register for link up/down detection. > This patch adds a workqueue to poll for link

usbnet: smsc95xx: fix link detection for disabled autonegotiation

2016-05-25 Thread Christoph Fritz
To detect link status up/down for connections where autonegotiation is explicitly disabled, we don't get an irq but need to poll the status register for link up/down detection. This patch adds a workqueue to poll for link status. Signed-off-by: Christoph Fritz ---