<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net/mdio.c, branch v2.6.37</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/net/mdio.c?h=v2.6.37</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/net/mdio.c?h=v2.6.37'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2009-10-13T06:59:08Z</updated>
<entry>
<title>mdio: Expose pause frame advertising flags to ethtool</title>
<updated>2009-10-13T06:59:08Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-10-12T09:26:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=27fbc7db52315d6ec37fe3292c1b2ee62180c643'/>
<id>urn:sha1:27fbc7db52315d6ec37fe3292c1b2ee62180c643</id>
<content type='text'>
In mdio45_ethtool_gset_npage() and mdio45_ethtool_gset(), check MDIO
pause frame advertising flags and set the corresponding ethtool flags.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mdio: Advertise pause (flow control) settings even if autoneg is off</title>
<updated>2009-10-13T06:59:07Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-10-12T09:26:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=767f4a7ca8041442e033dd919b591d00f6901e03'/>
<id>urn:sha1:767f4a7ca8041442e033dd919b591d00f6901e03</id>
<content type='text'>
Currently, if pause autoneg is off we do not set either pause
advertising flag.  If autonegotiation of speed and duplex settings is
enabled, there is no way for the link partner to distinguish this from
our refusing to use pause frames.

We should instead set the advertising flags according to the forced
mode so that the link partner can follow our lead.  This is consistent
with the behaviour of other drivers.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netdev: Remove redundant checks for CAP_NET_ADMIN in MDIO implementations</title>
<updated>2009-09-04T03:02:11Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-09-03T10:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7ab0f2736bfe137a82a7084bbfb5f809da95cabd'/>
<id>urn:sha1:7ab0f2736bfe137a82a7084bbfb5f809da95cabd</id>
<content type='text'>
dev_ioctl() already checks capable(CAP_NET_ADMIN) before calling the
driver's implementation of MDIO ioctls.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mdio: Check MDIO_STAT1_FAULT in mdio45_links_ok()</title>
<updated>2009-08-27T00:38:53Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-08-26T08:16:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=771046d7b1def64c00a5a47ca48526cbbacd7fe3'/>
<id>urn:sha1:771046d7b1def64c00a5a47ca48526cbbacd7fe3</id>
<content type='text'>
Some PHYs will report that the link is up even though there is a fault
condition.  Therefore, check the fault flag too.  We must also read
STAT2 to reset this flag.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mdio add missing GPL flag</title>
<updated>2009-06-26T03:06:34Z</updated>
<author>
<name>Nicolas Reinecke</name>
<email>nr@das-labor.org</email>
</author>
<published>2009-06-25T02:55:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=30767636e5896c650f33db5f7f0a9b0e82f3e8c4'/>
<id>urn:sha1:30767636e5896c650f33db5f7f0a9b0e82f3e8c4</id>
<content type='text'>
Add missing GPL flag and description.

mdio: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint

Signed-off-by: Nicolas Reinecke &lt;nr &lt;at&gt; das-labor.org&gt;
Acked-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mdio: Expose 10GBASE-T MDI-X status via ethtool</title>
<updated>2009-06-11T09:47:10Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-06-10T05:28:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d005ba6cc82440d9ebf96f3ec8f79c54578b898f'/>
<id>urn:sha1:d005ba6cc82440d9ebf96f3ec8f79c54578b898f</id>
<content type='text'>
This is available in a standard MDIO register in 10GBASE-T PHYs.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ethtool/mdio: Support backplane mode negotiation</title>
<updated>2009-04-30T00:32:40Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-04-29T08:25:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=894b19a6b343ce3589237167a56e6df0fe72ef0d'/>
<id>urn:sha1:894b19a6b343ce3589237167a56e6df0fe72ef0d</id>
<content type='text'>
Compile-tested only.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ethtool/mdio: Report MDIO mode support and link partner advertising</title>
<updated>2009-04-30T00:32:37Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-04-29T08:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0c09c1a49cc7b819b33566a49d9901f7cfdd6889'/>
<id>urn:sha1:0c09c1a49cc7b819b33566a49d9901f7cfdd6889</id>
<content type='text'>
Add mdio_support and lp_advertising fields to ethtool_cmd.  Set these
in mdio45_ethtool_gset{,_npage}().

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mdio: Add mdio45_ethtool_spauseparam_an()</title>
<updated>2009-04-30T00:32:36Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-04-29T08:19:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=af2a3eac2fe6a6d8e9fdf6927284b34466a7d808'/>
<id>urn:sha1:af2a3eac2fe6a6d8e9fdf6927284b34466a7d808</id>
<content type='text'>
This implements the ETHTOOL_SPAUSEPARAM operation for MDIO (clause 45)
PHYs with auto-negotiation MMDs.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mdio: Add generic MDIO (clause 45) support functions</title>
<updated>2009-04-30T00:32:29Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-04-29T08:04:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1b1c2e95103ce391c2ea39a9460968fcb73deb30'/>
<id>urn:sha1:1b1c2e95103ce391c2ea39a9460968fcb73deb30</id>
<content type='text'>
These roughly mirror many of the MII library functions and are based
on code from the sfc driver.

Signed-off-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
