<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net/dc2114x.c, branch master</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: dc2114x: Include env.h to permit reading the environment</title>
<updated>2025-05-29T14:30:25+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-05-15T23:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=183d88cdfc19ea7bd56af69512f0d1425de73e77'/>
<id>183d88cdfc19ea7bd56af69512f0d1425de73e77</id>
<content type='text'>
This file uses the environment but does not include the header file.
Update it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This file uses the environment but does not include the header file.
Update it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge a patch series to improve dc2114x support</title>
<updated>2024-10-27T23:04:02+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2024-10-27T16:15:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=568407fab5336c00cf0265e9de6c507078988504'/>
<id>568407fab5336c00cf0265e9de6c507078988504</id>
<content type='text'>
This patch series by Hanyuan Zhao &lt;hanyuan-z@qq.com&gt; provides a number of
improvements to the dc2114x driver.

Link: https://lore.kernel.org/r/tencent_BD4B002FC63A5F77969D9BD1FFF125371C08@qq.com
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch series by Hanyuan Zhao &lt;hanyuan-z@qq.com&gt; provides a number of
improvements to the dc2114x driver.

Link: https://lore.kernel.org/r/tencent_BD4B002FC63A5F77969D9BD1FFF125371C08@qq.com
</pre>
</div>
</content>
</entry>
<entry>
<title>net: dc2114x: remove the pass all multicast flag in operation mode settings</title>
<updated>2024-10-27T16:15:29+00:00</updated>
<author>
<name>Hanyuan Zhao</name>
<email>hanyuan-z@qq.com</email>
</author>
<published>2024-08-09T08:57:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ba30f462a2678c29b5243f7305b5502240c978f8'/>
<id>ba30f462a2678c29b5243f7305b5502240c978f8</id>
<content type='text'>
Remove the OMR_PM flag and choose 16 perfect filtering mode since in
modern networks there're plenty of multicasts and set ORM_PM flag will
increase the dc2114x's workload and ask the U-Boot to handle packets
not related to itself. And most of the time, U-Boot does not need this
feature.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the OMR_PM flag and choose 16 perfect filtering mode since in
modern networks there're plenty of multicasts and set ORM_PM flag will
increase the dc2114x's workload and ask the U-Boot to handle packets
not related to itself. And most of the time, U-Boot does not need this
feature.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: dc2114x: allow users to decide how to tx packets according to IP core</title>
<updated>2024-10-27T16:15:29+00:00</updated>
<author>
<name>Hanyuan Zhao</name>
<email>hanyuan-z@qq.com</email>
</author>
<published>2024-08-09T08:57:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c303f4a0dd7a6fba0a3103c1f8f490929ae5b578'/>
<id>c303f4a0dd7a6fba0a3103c1f8f490929ae5b578</id>
<content type='text'>
Some IP cores of dc2114x or its variants do not comply so well with
the behaviors described by the official document. Originally this
driver uses only one tx descriptor and organizes it as a ring buffer,
which would lead to a problem that one packet would be sent twice.
This commit adds support to prevent this bug if you are using IP
cores with this issue, by using multiple tx descriptors and
organizing them as a real well-defined ring buffer.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some IP cores of dc2114x or its variants do not comply so well with
the behaviors described by the official document. Originally this
driver uses only one tx descriptor and organizes it as a ring buffer,
which would lead to a problem that one packet would be sent twice.
This commit adds support to prevent this bug if you are using IP
cores with this issue, by using multiple tx descriptors and
organizing them as a real well-defined ring buffer.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: dc2114x: allow users to decide whether to detect the tx No Carrier errors</title>
<updated>2024-10-27T16:15:29+00:00</updated>
<author>
<name>Hanyuan Zhao</name>
<email>hanyuan-z@qq.com</email>
</author>
<published>2024-08-09T08:56:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5fa3e10cec85ddd12d31af14f9fce6c3c0ff37d0'/>
<id>5fa3e10cec85ddd12d31af14f9fce6c3c0ff37d0</id>
<content type='text'>
Some IP cores of dc2114x or its variants do not comply so well with
the behaviors described by the official document. A packet could be
sent successfully but reported with No Carrier error. Latest drivers
of this IP core have not detect this error anymore.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some IP cores of dc2114x or its variants do not comply so well with
the behaviors described by the official document. A packet could be
sent successfully but reported with No Carrier error. Latest drivers
of this IP core have not detect this error anymore.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: dc2114x: remove unused lines and change the var and print types</title>
<updated>2024-10-27T16:15:29+00:00</updated>
<author>
<name>Hanyuan Zhao</name>
<email>hanyuan-z@qq.com</email>
</author>
<published>2024-08-09T08:56:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8c18c53164be0d3793dcf8074bfeb06615335ac9'/>
<id>8c18c53164be0d3793dcf8074bfeb06615335ac9</id>
<content type='text'>
This commit fixes a problem that even though the network card does not report
any issues in transmitting a setup frame, the driver prints the error status
every time. Let's set it for debug use.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit fixes a problem that even though the network card does not report
any issues in transmitting a setup frame, the driver prints the error status
every time. Let's set it for debug use.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: dc2114x: add support for CPUs that have cache between the memory and the card</title>
<updated>2024-10-27T16:15:29+00:00</updated>
<author>
<name>Hanyuan Zhao</name>
<email>hanyuan-z@qq.com</email>
</author>
<published>2024-08-09T08:56:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=23edc8f6a6a1f08c1c0e84bd232dedad057d2c6d'/>
<id>23edc8f6a6a1f08c1c0e84bd232dedad057d2c6d</id>
<content type='text'>
This commit adds support for the MIPS and LoongArch CPUs, which would use cache
after they jump into U-Boot. This commit requests the CPU to return the
addresses in uncached windows and flushes the cache in need, to make sure the
memory between the CPU and the network card is in consistency.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds support for the MIPS and LoongArch CPUs, which would use cache
after they jump into U-Boot. This commit requests the CPU to return the
addresses in uncached windows and flushes the cache in need, to make sure the
memory between the CPU and the network card is in consistency.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: dc2114x: set the card number to start at zero</title>
<updated>2024-10-27T16:15:29+00:00</updated>
<author>
<name>Hanyuan Zhao</name>
<email>hanyuan-z@qq.com</email>
</author>
<published>2024-08-09T08:56:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=26d88de9e5be0ceffe8ac035c5089226ce8e0cb2'/>
<id>26d88de9e5be0ceffe8ac035c5089226ce8e0cb2</id>
<content type='text'>
Otherwise the number might get kind of weird.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the number might get kind of weird.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: dc2114x: get mac address from environment</title>
<updated>2024-10-27T16:15:29+00:00</updated>
<author>
<name>Hanyuan Zhao</name>
<email>hanyuan-z@qq.com</email>
</author>
<published>2024-08-09T08:56:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a35aa5a0c1159a2c19141272375123a954a7f287'/>
<id>a35aa5a0c1159a2c19141272375123a954a7f287</id>
<content type='text'>
Let this old driver work like the other newer network card drivers, loading the
MAC address from environment, which could be more flexible to set.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let this old driver work like the other newer network card drivers, loading the
MAC address from environment, which could be more flexible to set.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: dc2114x: add support for platforms that don't have pci controllers</title>
<updated>2024-10-27T16:15:29+00:00</updated>
<author>
<name>Hanyuan Zhao</name>
<email>hanyuan-z@qq.com</email>
</author>
<published>2024-08-09T08:56:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=76146b90e770b4f309dbae19b1b26aff93d800e0'/>
<id>76146b90e770b4f309dbae19b1b26aff93d800e0</id>
<content type='text'>
There're a few ethernet IP cores which have the same functions with dc2114x,
and can be connected to CPU by AXI or other buses. This commit adds support
for the platforms that do not have PCI controllers, using MMIO to communicate
with the dc2114x IP core.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There're a few ethernet IP cores which have the same functions with dc2114x,
and can be connected to CPU by AXI or other buses. This commit adds support
for the platforms that do not have PCI controllers, using MMIO to communicate
with the dc2114x IP core.

Signed-off-by: Hanyuan Zhao &lt;zhaohy22@mails.tsinghua.edu.cn&gt;
</pre>
</div>
</content>
</entry>
</feed>
