<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net, branch v2012.04.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: ll_temac: drop obsolete "NAMESIZE" define</title>
<updated>2012-04-21T15:28:03+00:00</updated>
<author>
<name>Stephan Linz</name>
<email>linz@li-pro.net</email>
</author>
<published>2012-04-10T06:20:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=34921d04b8324d06d60462222f4b98709665d5a3'/>
<id>34921d04b8324d06d60462222f4b98709665d5a3</id>
<content type='text'>
... after commit "net/miiphy/serial: drop duplicate NAMESIZE
define" (sha1:f6add13) was applied. The building of the new
LL TEMAC network driver fails with error below:

xilinx_ll_temac.c: In function 'xilinx_ll_temac_initialize':
xilinx_ll_temac.c:301: error: 'NAMESIZE' undeclared (first use in this function)
xilinx_ll_temac.c:301: error: (Each undeclared identifier is reported only once
xilinx_ll_temac.c:301: error: for each function it appears in.)

Signed-off-by: Stephan Linz &lt;linz@li-pro.net&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... after commit "net/miiphy/serial: drop duplicate NAMESIZE
define" (sha1:f6add13) was applied. The building of the new
LL TEMAC network driver fails with error below:

xilinx_ll_temac.c: In function 'xilinx_ll_temac_initialize':
xilinx_ll_temac.c:301: error: 'NAMESIZE' undeclared (first use in this function)
xilinx_ll_temac.c:301: error: (Each undeclared identifier is reported only once
xilinx_ll_temac.c:301: error: for each function it appears in.)

Signed-off-by: Stephan Linz &lt;linz@li-pro.net&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<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 the max frame length size</title>
<updated>2012-04-04T15:46:51+00:00</updated>
<author>
<name>Vipin KUMAR</name>
<email>vipin.kumar@st.com</email>
</author>
<published>2012-03-26T00:09:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=97a6caa6e5429082d4daf689cfa355b6d8ddb2f3'/>
<id>97a6caa6e5429082d4daf689cfa355b6d8ddb2f3</id>
<content type='text'>
The max frame length for normal descriptor can be 0x7FF i.e 2047. It was wrongly
specified as 2048. Currently, the max descriptor length is around 1500, so
redefining the mask to 1600

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 max frame length for normal descriptor can be 0x7FF i.e 2047. It was wrongly
specified as 2048. Currently, the max descriptor length is around 1500, so
redefining the mask to 1600

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>net: ll_temac: Add LL TEMAC driver to u-boot</title>
<updated>2012-04-04T14:36:19+00:00</updated>
<author>
<name>Stephan Linz</name>
<email>linz@li-pro.net</email>
</author>
<published>2012-02-25T00:48:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=df48265036dc7332d488ded34aa298f7f5bf3513'/>
<id>df48265036dc7332d488ded34aa298f7f5bf3513</id>
<content type='text'>
Xilinx LocalLink Tri-Mode Ether MAC driver can be
used by Xilinx Microblaze or Xilinx ppc405/440 in
SDMA and FIFO mode. DCR or XPS bus can be used.

The driver uses and requires MII and PHYLIB.

CP: 4 warnings: 'Use of volatile is usually wrong'
I won't fix this, because it depends on the network
driver subsystem.

Reported-by: Michal Simek &lt;monstr@monstr.eu&gt;
Signed-off-by: Stephan Linz &lt;linz@li-pro.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Xilinx LocalLink Tri-Mode Ether MAC driver can be
used by Xilinx Microblaze or Xilinx ppc405/440 in
SDMA and FIFO mode. DCR or XPS bus can be used.

The driver uses and requires MII and PHYLIB.

CP: 4 warnings: 'Use of volatile is usually wrong'
I won't fix this, because it depends on the network
driver subsystem.

Reported-by: Michal Simek &lt;monstr@monstr.eu&gt;
Signed-off-by: Stephan Linz &lt;linz@li-pro.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
