<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/mii.h, branch v3.4.78</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.4.78</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.4.78'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2011-11-21T20:27:19Z</updated>
<entry>
<title>net: Change mii to ethtool advertisement function names</title>
<updated>2011-11-21T20:27:19Z</updated>
<author>
<name>Matt Carlson</name>
<email>mcarlson@broadcom.com</email>
</author>
<published>2011-11-17T14:30:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=37f07023d30708b5da091fe6d6be9b60783c6d82'/>
<id>urn:sha1:37f07023d30708b5da091fe6d6be9b60783c6d82</id>
<content type='text'>
This patch implements advice by Ben Hutchings to change the mii side of
the function names to look more like the register whose values they
convert.  New LPA translation functions have been added as well.

Signed-off-by: Matt Carlson &lt;mcarlson@broadcom.com&gt;
Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Add ethtool to mii advertisment conversion helpers</title>
<updated>2011-11-16T23:36:59Z</updated>
<author>
<name>Matt Carlson</name>
<email>mcarlson@broadcom.com</email>
</author>
<published>2011-11-16T23:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=28011cf19b75df9d3f35489a7599a97ec0b3f1a0'/>
<id>urn:sha1:28011cf19b75df9d3f35489a7599a97ec0b3f1a0</id>
<content type='text'>
Translating between ethtool advertisement settings and MII
advertisements are common operations for ethernet drivers.  This patch
adds a set of helper functions that implements the conversion.  The
patch then modifies a couple of the drivers to use the new functions.

Signed-off-by: Matt Carlson &lt;mcarlson@broadcom.com&gt;
Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mii: Remove references to DP83840 PHY in mii.h</title>
<updated>2011-09-15T19:36:34Z</updated>
<author>
<name>Mark Einon</name>
<email>mark.einon@gmail.com</email>
</author>
<published>2011-08-31T23:22:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e8aaebc6b2a9c36dd9705adcb8f10d14b3d33f75'/>
<id>urn:sha1:e8aaebc6b2a9c36dd9705adcb8f10d14b3d33f75</id>
<content type='text'>
There are references to this PHY chip in the generic mii.h header, so removing them.
Re-jiggle the changed comments, in response to points raised by Ben Hutchings.

Signed-off-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mii: Convert spaces to tabs in mii.h</title>
<updated>2011-09-15T19:36:34Z</updated>
<author>
<name>Mark Einon</name>
<email>mark.einon@gmail.com</email>
</author>
<published>2011-08-31T23:22:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c44f7eb4c127be8bb8b160902845b88d489492e5'/>
<id>urn:sha1:c44f7eb4c127be8bb8b160902845b88d489492e5</id>
<content type='text'>
Whitespace changes - spaces converted to tabs after each define name and value

Signed-off-by: Mark Einon &lt;mark.einon@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>tg3: Migrate phy preprocessor defs to system defs</title>
<updated>2011-06-15T15:11:57Z</updated>
<author>
<name>Matt Carlson</name>
<email>mcarlson@broadcom.com</email>
</author>
<published>2011-06-13T13:39:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=221c56373ee7088dd3015b928782d5e70dc5074e'/>
<id>urn:sha1:221c56373ee7088dd3015b928782d5e70dc5074e</id>
<content type='text'>
This patch changes to code to use some of the preprocessor
definitions from mii.h over its homegrown equivalents.

Signed-off-by: Matt Carlson &lt;mcarlson@broadcom.com&gt;
Reviewed-by: Michael Chan &lt;mchan@broadcom.com&gt;
Reviewed-by: Benjamin Li &lt;benli@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@conan.davemloft.net&gt;
</content>
</entry>
<entry>
<title>mii: Add mii_advertise_flowctrl()</title>
<updated>2009-04-30T00:32:35Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-04-29T08:19:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a8c30832b5b12e5d4e9d1c20cdac3cc2880e08b8'/>
<id>urn:sha1:a8c30832b5b12e5d4e9d1c20cdac3cc2880e08b8</id>
<content type='text'>
This converts flow control capabilites to an advertising mask and can
be useful in combination with mii_resolve_flowctrl_fdx().

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>mii: Simplify mii_resolve_flowctrl_fdx()</title>
<updated>2009-04-30T00:32:35Z</updated>
<author>
<name>Ben Hutchings</name>
<email>bhutchings@solarflare.com</email>
</author>
<published>2009-04-29T08:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=44c22ee91b56d7cad3b48c439dd96aad2e910fbc'/>
<id>urn:sha1:44c22ee91b56d7cad3b48c439dd96aad2e910fbc</id>
<content type='text'>
This is a shorter and more comprehensible formulation of the
conditions for each flow control mode.

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>net: Refactor full duplex flow control resolution</title>
<updated>2008-12-16T10:00:48Z</updated>
<author>
<name>Steve Glendinning</name>
<email>steve.glendinning@smsc.com</email>
</author>
<published>2008-12-16T10:00:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bc02ff95fe4ebd3e5ee7455c0aa6f76ebe39ebca'/>
<id>urn:sha1:bc02ff95fe4ebd3e5ee7455c0aa6f76ebe39ebca</id>
<content type='text'>
These 4 drivers have identical full duplex flow control resolution
functions.  This patch changes them all to use one common function.

The function in question decides whether a device should enable TX and
RX flow control in a standard way (IEEE 802.3-2005 table 28B-3), so this
should also be useful for other drivers.

Signed-off-by: Steve Glendinning &lt;steve.glendinning@smsc.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Move flow control definitions to mii.h</title>
<updated>2008-12-16T10:00:00Z</updated>
<author>
<name>Steve Glendinning</name>
<email>steve.glendinning@smsc.com</email>
</author>
<published>2008-12-16T10:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e18ce3465477502108187c6c08b6423fb784a313'/>
<id>urn:sha1:e18ce3465477502108187c6c08b6423fb784a313</id>
<content type='text'>
flags used within drivers for indicating tx and rx flow control are
defined in 4 drivers (and probably more), move these constants to mii.h.

The 3 SMSC drivers use the same constants (FLOW_CTRL_TX), but TG3 uses
TG3_FLOW_CTRL_TX, so this patch also renames the constants within TG3.

Signed-off-by: Steve Glendinning &lt;steve.glendinning@smsc.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Fix BMSR_100{HALF,FULL}2 defines in linux/mii.h</title>
<updated>2007-05-17T21:20:29Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@sunset.davemloft.net</email>
</author>
<published>2007-05-16T07:30:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=689d79469b64662440a93ffbd1cbf994510bcbf6'/>
<id>urn:sha1:689d79469b64662440a93ffbd1cbf994510bcbf6</id>
<content type='text'>
Noticed by Matvejchikov Ilya.

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