<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net/phy, branch v2014.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>net: phy: atheros: Fix the masks for AR8031/8035</title>
<updated>2014-01-14T20:00:41+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2014-01-03T17:55:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f66e3ded61aeafc67f3ebb6ab0302b455f102ce3'/>
<id>f66e3ded61aeafc67f3ebb6ab0302b455f102ce3</id>
<content type='text'>
Use the same masks as used in the kernel:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/phy/at803x.c?id=refs/tags/v3.12.6

With such changes Ethernet is functional on hummingboard solo.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Patch: 306640
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the same masks as used in the kernel:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/phy/at803x.c?id=refs/tags/v3.12.6

With such changes Ethernet is functional on hummingboard solo.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Patch: 306640
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: Use general phy code for smsc lan8720a</title>
<updated>2013-11-22T23:03:20+00:00</updated>
<author>
<name>David Dueck</name>
<email>davidcdueck@googlemail.com</email>
</author>
<published>2013-11-05T16:23:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f27f3b5266d28b8d3e80e0e8f4cafdd14268b62a'/>
<id>f27f3b5266d28b8d3e80e0e8f4cafdd14268b62a</id>
<content type='text'>
Signed-off-by: David Dueck &lt;davidcdueck@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: David Dueck &lt;davidcdueck@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: Use supported field during autonegotiation</title>
<updated>2013-11-22T23:03:20+00:00</updated>
<author>
<name>David Dueck</name>
<email>davidcdueck@googlemail.com</email>
</author>
<published>2013-11-05T16:23:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3a530d1b3e947c09e882dda8883aa608458a598c'/>
<id>3a530d1b3e947c09e882dda8883aa608458a598c</id>
<content type='text'>
The current code incorrectly detects gigabit capabilities for some
100Mbit/s phys. (lan8720a)

Signed-off-by: David Dueck &lt;davidcdueck@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current code incorrectly detects gigabit capabilities for some
100Mbit/s phys. (lan8720a)

Signed-off-by: David Dueck &lt;davidcdueck@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy: atheros: Fix masks for AR8035 and AR8021</title>
<updated>2013-11-22T23:03:18+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2013-11-02T18:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e003ba5bfc57ff7d065967e263fa24e3ef28ea0a'/>
<id>e003ba5bfc57ff7d065967e263fa24e3ef28ea0a</id>
<content type='text'>
The masks were ignoring the last 4 bits which didn't allow detection differences
between the ar8031 and ar8035.

Signed-off-by: Jon Nettleton &lt;jon.nettleton@gmail.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Patch: 288018
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The masks were ignoring the last 4 bits which didn't allow detection differences
between the ar8031 and ar8035.

Signed-off-by: Jon Nettleton &lt;jon.nettleton@gmail.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Patch: 288018
</pre>
</div>
</content>
</entry>
<entry>
<title>net/phy: Fix the phy id mask of AR8031</title>
<updated>2013-11-22T23:03:18+00:00</updated>
<author>
<name>Chunhe Lan</name>
<email>Chunhe.Lan@freescale.com</email>
</author>
<published>2013-11-01T09:17:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=317745785341774644b8bb1cbb0300155f31cee6'/>
<id>317745785341774644b8bb1cbb0300155f31cee6</id>
<content type='text'>
The both AR8031 and AR8035 belong to Atheros 803x serial PHY.
So the phy id mask of AR8031 is the same to the phy id mask
of AR8035. The right mask value is 0x4fffff.

This patch has been tested on the P1010 and P1023.

Signed-off-by: Chunhe Lan &lt;Chunhe.Lan@freescale.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@gmail.com&gt;
Patch: 287748
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The both AR8031 and AR8035 belong to Atheros 803x serial PHY.
So the phy id mask of AR8031 is the same to the phy id mask
of AR8035. The right mask value is 0x4fffff.

This patch has been tested on the P1010 and P1023.

Signed-off-by: Chunhe Lan &lt;Chunhe.Lan@freescale.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@gmail.com&gt;
Patch: 287748
</pre>
</div>
</content>
</entry>
<entry>
<title>net, phy: fix AR8031 phy_mask</title>
<updated>2013-11-22T22:50:54+00:00</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2013-09-22T07:55:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dfcaa61c33e1fc5f737318cfdbcf7f7b49f237a3'/>
<id>dfcaa61c33e1fc5f737318cfdbcf7f7b49f237a3</id>
<content type='text'>
AR8035 driver will be never applied because of wrong mask for
AR8031 driver. Fix this.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Reported-by: Pavel Nakonechny &lt;pavel.nakonechny@skitlab.ru&gt;
Cc: Andy Fleming &lt;afleming@freescale.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@gmail.com&gt;
Patch: 276944
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
AR8035 driver will be never applied because of wrong mask for
AR8031 driver. Fix this.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Reported-by: Pavel Nakonechny &lt;pavel.nakonechny@skitlab.ru&gt;
Cc: Andy Fleming &lt;afleming@freescale.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@gmail.com&gt;
Patch: 276944
</pre>
</div>
</content>
</entry>
<entry>
<title>net: add function to read/write extended registers in Micrel Phy</title>
<updated>2013-11-22T22:50:52+00:00</updated>
<author>
<name>Stefano Babic</name>
<email>sbabic@denx.de</email>
</author>
<published>2013-09-02T13:42:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9ced16fefa35910b4d2cbc9c4688a037bda7f423'/>
<id>9ced16fefa35910b4d2cbc9c4688a037bda7f423</id>
<content type='text'>
Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: fix mask for phy Micrel KSZ9031</title>
<updated>2013-11-22T22:50:51+00:00</updated>
<author>
<name>Stefano Babic</name>
<email>sbabic@denx.de</email>
</author>
<published>2013-09-02T13:42:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e8194d58bd342631977d1e09d873784d145c7077'/>
<id>e8194d58bd342631977d1e09d873784d145c7077</id>
<content type='text'>
Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/phy: realtek: Fix the PHY ID mask to ensure the correct Realtek PHY is detected</title>
<updated>2013-11-22T22:50:51+00:00</updated>
<author>
<name>Bhupesh Sharma</name>
<email>bhupesh.sharma@freescale.com</email>
</author>
<published>2013-08-31T23:10:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=42205047674d7fc9e0aa747273fbc7dcfbac3183'/>
<id>42205047674d7fc9e0aa747273fbc7dcfbac3183</id>
<content type='text'>
The 'get_phy_driver' code in 'drivers/net/phy/phy.c' uses the following
method to determine which driver is to be loaded for a particular PHY
module:

list_for_each(entry, &amp;phy_drivers) {
	drv = list_entry(entry, struct phy_driver, list);
	if ((drv-&gt;uid &amp; drv-&gt;mask) == (phy_id &amp; drv-&gt;mask))
		return drv;
}

This means that a drv-&gt;mask of 0xfffff0 will return incorrect phy driver
for the logic above, even if the drv-&gt;uid is anything other than
something ending with a 0x0.

For e.g. if the RTL8211E drv-&gt;uid is 0x1cc915 and drv-&gt;mask is 0xffffff
and the RTL8211B drv-&gt;uid is 0x1cc910 and drv-&gt;mask is 0xffffff0, then
the phy driver selected will always be RTL8211B even though the
underlying phy connected on the board is a 8211E module.

This patch fixes this issue.

Signed-off-by: Bhupesh Sharma &lt;bhupesh.sharma@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'get_phy_driver' code in 'drivers/net/phy/phy.c' uses the following
method to determine which driver is to be loaded for a particular PHY
module:

list_for_each(entry, &amp;phy_drivers) {
	drv = list_entry(entry, struct phy_driver, list);
	if ((drv-&gt;uid &amp; drv-&gt;mask) == (phy_id &amp; drv-&gt;mask))
		return drv;
}

This means that a drv-&gt;mask of 0xfffff0 will return incorrect phy driver
for the logic above, even if the drv-&gt;uid is anything other than
something ending with a 0x0.

For e.g. if the RTL8211E drv-&gt;uid is 0x1cc915 and drv-&gt;mask is 0xffffff
and the RTL8211B drv-&gt;uid is 0x1cc910 and drv-&gt;mask is 0xffffff0, then
the phy driver selected will always be RTL8211B even though the
underlying phy connected on the board is a 8211E module.

This patch fixes this issue.

Signed-off-by: Bhupesh Sharma &lt;bhupesh.sharma@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: phy/vitesse: Add support for VSC8514 phy module</title>
<updated>2013-11-22T22:50:50+00:00</updated>
<author>
<name>Arpit Goel</name>
<email>B44344@freescale.com</email>
</author>
<published>2013-08-23T14:48:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e97a78cfed113dfbf9a0db712624bca69065c3a1'/>
<id>e97a78cfed113dfbf9a0db712624bca69065c3a1</id>
<content type='text'>
This patch adds support for VSC8514 PHY module which can be
found on Freescale's T1040RDB boards.

Signed-off-by: Arpit Goel &lt;B44344@freescale.com&gt;
Signed-off-by: Bhupesh Sharma &lt;bhupesh.sharma@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds support for VSC8514 PHY module which can be
found on Freescale's T1040RDB boards.

Signed-off-by: Arpit Goel &lt;B44344@freescale.com&gt;
Signed-off-by: Bhupesh Sharma &lt;bhupesh.sharma@freescale.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
