From: Andrew Lunn <andrew@lunn.ch>
To: Christoph Fritz <chf.fritz@googlemail.com>
Cc: Steve Glendinning <steve.glendinning@shawell.net>,
netdev@vger.kernel.org, Florian Fainelli <f.fainelli@gmail.com>
Subject: Re: usbnet: smsc95xx: fix link detection for disabled autonegotiation
Date: Thu, 26 May 2016 04:31:20 +0200 [thread overview]
Message-ID: <20160526023120.GG21924@lunn.ch> (raw)
In-Reply-To: <1464228407.5421.34.camel@googlemail.com>
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 status.
Did you consider using the phylib? It probably does the needed polling
already, and it looks like the functions needed to implement an MDIO
bus are already in place.
Andrew
next prev parent reply other threads:[~2016-05-26 2:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 2:06 usbnet: smsc95xx: fix link detection for disabled autonegotiation Christoph Fritz
2016-05-26 2:31 ` Andrew Lunn [this message]
2016-05-26 11:01 ` Christoph Fritz
2016-05-26 18:21 ` Florian Fainelli
2016-05-30 5:30 ` David Miller
2016-05-30 20:07 ` Christoph Fritz
2016-05-31 21:22 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160526023120.GG21924@lunn.ch \
--to=andrew@lunn.ch \
--cc=chf.fritz@googlemail.com \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=steve.glendinning@shawell.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.