<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net/designware.c, branch v2012.04</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/designware: Change timeout loop implementation</title>
<updated>2012-04-04T15:47:53+00:00</updated>
<author>
<name>Amit Virdi</name>
<email>amit.virdi@st.com</email>
</author>
<published>2012-03-26T00:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cafabe1995af20d02a000a984ae38693a6f9b900'/>
<id>cafabe1995af20d02a000a984ae38693a6f9b900</id>
<content type='text'>
The new implementation changes the timeout loop implementation to avoid 1 ms
delay in each failing test. It also configures the delay to 10usec.

Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new implementation changes the timeout loop implementation to avoid 1 ms
delay in each failing test. It also configures the delay to 10usec.

Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/designware: Set ANAR to 0x1e1</title>
<updated>2012-04-04T15:47:40+00:00</updated>
<author>
<name>Armando Visconti</name>
<email>armando.visconti@st.com</email>
</author>
<published>2012-03-26T00:09:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=20a5dde1495c74fd6c8b977a2619538b6bee8e0b'/>
<id>20a5dde1495c74fd6c8b977a2619538b6bee8e0b</id>
<content type='text'>
This patch forces the advertised capabilities during auto
negotiation to always be 10/100 Mbps and half/full as duplexing.

Signed-off-by: Armando Visconti &lt;armando.visconti@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch forces the advertised capabilities during auto
negotiation to always be 10/100 Mbps and half/full as duplexing.

Signed-off-by: Armando Visconti &lt;armando.visconti@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/designware: Program phy registers when auto-negotiation is ON</title>
<updated>2012-04-04T15:47:34+00:00</updated>
<author>
<name>Vikas Manocha</name>
<email>vikas.manocha@st.com</email>
</author>
<published>2012-03-26T00:09:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e25c90b45c4764e60e44f302ad337ed6ce066468'/>
<id>e25c90b45c4764e60e44f302ad337ed6ce066468</id>
<content type='text'>
If AN(auto-negotiation) is ON, speed bit of control register are not
applicable.  Also phy registers were not getting programmed as per the
result of AN. This patch sets only AN bit &amp; restart AN bit for AN ON
selection &amp; programs PHY registers as per AN result.

Signed-off-by: Vikas Manocha &lt;vikas.manocha@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If AN(auto-negotiation) is ON, speed bit of control register are not
applicable.  Also phy registers were not getting programmed as per the
result of AN. This patch sets only AN bit &amp; restart AN bit for AN ON
selection &amp; programs PHY registers as per AN result.

Signed-off-by: Vikas Manocha &lt;vikas.manocha@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/designware: Try configuring phy on each dw_eth_init</title>
<updated>2012-04-04T15:47:21+00:00</updated>
<author>
<name>Vipin Kumar</name>
<email>vipin.kumar@st.com</email>
</author>
<published>2012-03-26T00:09:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=13edd1706c56371dc6a67f7bef874f6d8b7af8eb'/>
<id>13edd1706c56371dc6a67f7bef874f6d8b7af8eb</id>
<content type='text'>
Phy autonegotiation works only when the ethernet cable is plugged in.
Since the phy was configured only at the init time, a plugged in cable
was necessary to initialize the phy properly.

This patch keeps a flag to check if the phy initialization has
succeeded, and calls configure_phy routine at every init if this flag
reports otherwise.

Signed-off-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Phy autonegotiation works only when the ethernet cable is plugged in.
Since the phy was configured only at the init time, a plugged in cable
was necessary to initialize the phy properly.

This patch keeps a flag to check if the phy initialization has
succeeded, and calls configure_phy routine at every init if this flag
reports otherwise.

Signed-off-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/designware: Consecutive writes must have delay</title>
<updated>2012-04-04T15:47:09+00:00</updated>
<author>
<name>Armando Visconti</name>
<email>armando.visconti@st.com</email>
</author>
<published>2012-03-26T00:09:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aa51005c3f7e517164fa000d68672041f6c4191f'/>
<id>aa51005c3f7e517164fa000d68672041f6c4191f</id>
<content type='text'>
This patch solves a TX/RX problem which happens at 10Mbps, due to the
fact that we are not respecting 4 cyles of the phy_clk (2.5MHz) between
two consecutive writes on the same register.

Signed-off-by: Armando Visconti &lt;armando.visconti@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch solves a TX/RX problem which happens at 10Mbps, due to the
fact that we are not respecting 4 cyles of the phy_clk (2.5MHz) between
two consecutive writes on the same register.

Signed-off-by: Armando Visconti &lt;armando.visconti@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/designware: Phy address fix</title>
<updated>2012-04-04T15:46:59+00:00</updated>
<author>
<name>Vipin KUMAR</name>
<email>vipin.kumar@st.com</email>
</author>
<published>2012-03-26T00:09:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=024333c96fecb698efe703e01f2326c1256114a4'/>
<id>024333c96fecb698efe703e01f2326c1256114a4</id>
<content type='text'>
The code assumes the phy address to be &gt; 0, which is not true, the phy address
can be in the range 0-31.

Signed-off-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code assumes the phy address to be &gt; 0, which is not true, the phy address
can be in the range 0-31.

Signed-off-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/designware: Fix to restore hw mac address</title>
<updated>2012-04-04T15:46:39+00:00</updated>
<author>
<name>Vipin KUMAR</name>
<email>vipin.kumar@st.com</email>
</author>
<published>2012-03-26T00:09:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c7f6dbe736f3f57436ba162f986691f7e862eb4d'/>
<id>c7f6dbe736f3f57436ba162f986691f7e862eb4d</id>
<content type='text'>
The network controller mac resets hardware address stored in MAC_HI and MAC_LO
registers if mac is resetted. So, hw mac address needs to be restored in case
mac is explicitly resetted from driver.

Signed-off-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The network controller mac resets hardware address stored in MAC_HI and MAC_LO
registers if mac is resetted. So, hw mac address needs to be restored in case
mac is explicitly resetted from driver.

Signed-off-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Signed-off-by: Amit Virdi &lt;amit.virdi@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Ethernet hardware MAC address framework to usbnet</title>
<updated>2011-08-08T19:05:23+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2011-06-13T23:13:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7616e7850804c7c69e0a22c179dfcba9e8f3f587'/>
<id>7616e7850804c7c69e0a22c179dfcba9e8f3f587</id>
<content type='text'>
Built-in Ethernet adapters support setting the mac address by means of a
ethaddr environment variable for each interface (ethaddr, eth1addr, eth2addr).

This adds similar support to the USB network side, using the names
usbethaddr, usbeth1addr, etc. They are kept separate since we don't want
a USB device taking the MAC address of a built-in device or vice versa.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Eric Bénard &lt;eric@eukrea.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Built-in Ethernet adapters support setting the mac address by means of a
ethaddr environment variable for each interface (ethaddr, eth1addr, eth2addr).

This adds similar support to the USB network side, using the names
usbethaddr, usbeth1addr, etc. They are kept separate since we don't want
a USB device taking the MAC address of a built-in device or vice versa.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Eric Bénard &lt;eric@eukrea.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: designware: fix uninitialized phy_addr usage</title>
<updated>2011-07-25T20:20:10+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-06-02T05:19:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f0ece9e93447bb600689eb1a41dbcc99560b333d'/>
<id>f0ece9e93447bb600689eb1a41dbcc99560b333d</id>
<content type='text'>
When CONFIG_DW_SEARCH_PHY is disabled, the local phy_addr variable
never gets initialized which causes random behavior at runtime and a
gcc warning.  So set it by default to the stored phy address.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Reviewed-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;

Fix commit message.
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When CONFIG_DW_SEARCH_PHY is disabled, the local phy_addr variable
never gets initialized which causes random behavior at runtime and a
gcc warning.  So set it by default to the stored phy address.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Reviewed-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;

Fix commit message.
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: designware: fix unused warning when CONFIG_DW_AUTONEG is enabled</title>
<updated>2011-07-25T20:19:40+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-06-02T05:19:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ee7f5bfd124c61370a2fa417ca6d21d587d23a3f'/>
<id>ee7f5bfd124c61370a2fa417ca6d21d587d23a3f</id>
<content type='text'>
The ctrl variable is only used when autoneg support is disabled, so only
declare it under those conditions to avoid an unused variable warning.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Reviewed-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ctrl variable is only used when autoneg support is disabled, so only
declare it under those conditions to avoid an unused variable warning.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Reviewed-by: Vipin Kumar &lt;vipin.kumar@st.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
