<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb/eth, branch v2016.09</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: asix: Fix AX88772B when used with DriverModel</title>
<updated>2016-09-09T18:13:42+00:00</updated>
<author>
<name>Joshua Scott</name>
<email>joshua.scott@alliedtelesis.co.nz</email>
</author>
<published>2016-09-06T04:03:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=41d1258aceb45b45f9e68f67a9c40f0afbc09dc9'/>
<id>41d1258aceb45b45f9e68f67a9c40f0afbc09dc9</id>
<content type='text'>
A previous patch (net: asix: fix operation without eeprom) added a
two-byte shift to the packet buffer when receiving a packet on the
AX88772B.

This shift was not included when the driver was updated to work with
DriverModel. Testing on a Marvell DB-88F6820-ACM showed that the adapter
was not functioning correctly (EHCI timeouts).

This patch brings the two-byte shift to the DriverModel implementation
of ops-&gt;recv (asix_eth_recv).

Testing on the same board, we were able to TFTP a file over and confirm
that the crc32 was correct.

Signed-off-by: Joshua Scott &lt;joshua.scott@alliedtelesis.co.nz&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A previous patch (net: asix: fix operation without eeprom) added a
two-byte shift to the packet buffer when receiving a packet on the
AX88772B.

This shift was not included when the driver was updated to work with
DriverModel. Testing on a Marvell DB-88F6820-ACM showed that the adapter
was not functioning correctly (EHCI timeouts).

This patch brings the two-byte shift to the DriverModel implementation
of ops-&gt;recv (asix_eth_recv).

Testing on the same board, we were able to TFTP a file over and confirm
that the crc32 was correct.

Signed-off-by: Joshua Scott &lt;joshua.scott@alliedtelesis.co.nz&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: smsc95xx: Use correct get_unaligned functions</title>
<updated>2016-08-15T18:34:45+00:00</updated>
<author>
<name>Chris Packham</name>
<email>judge.packham@gmail.com</email>
</author>
<published>2016-07-12T21:52:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=70f14636861e70276426687dc3cf6ede3e1c2b99'/>
<id>70f14636861e70276426687dc3cf6ede3e1c2b99</id>
<content type='text'>
The __get_unaligned_le* functions may not be declared on all platforms.
Instead, get_unaligned_le* should be used. On many platforms both of
these are the same function.

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The __get_unaligned_le* functions may not be declared on all platforms.
Instead, get_unaligned_le* should be used. On many platforms both of
these are the same function.

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>eth: asix88179: Add support for the driver model</title>
<updated>2016-08-09T10:52:05+00:00</updated>
<author>
<name>Alban Bedel</name>
<email>alban.bedel@avionic-design.de</email>
</author>
<published>2016-08-09T09:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=76b2fad775ee3cb58788b11454655ba5a244ac56'/>
<id>76b2fad775ee3cb58788b11454655ba5a244ac56</id>
<content type='text'>
Adjust this driver to support driver model for Ethernet.

Signed-off-by: Alban Bedel &lt;alban.bedel@avionic-design.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adjust this driver to support driver model for Ethernet.

Signed-off-by: Alban Bedel &lt;alban.bedel@avionic-design.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>eth: asix88179: Prepare supporting the driver model</title>
<updated>2016-08-09T10:52:05+00:00</updated>
<author>
<name>Alban Bedel</name>
<email>alban.bedel@avionic-design.de</email>
</author>
<published>2016-08-09T09:10:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=620452e7aed023205d9432e0f3476906018ad688'/>
<id>620452e7aed023205d9432e0f3476906018ad688</id>
<content type='text'>
Change the prototype of a few functions to allow resuing the code for
the driver model.

Signed-off-by: Alban Bedel &lt;alban.bedel@avionic-design.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the prototype of a few functions to allow resuing the code for
the driver model.

Signed-off-by: Alban Bedel &lt;alban.bedel@avionic-design.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>eth: asix88179: Fix receiving on big endian system</title>
<updated>2016-08-07T19:55:43+00:00</updated>
<author>
<name>Alban Bedel</name>
<email>alban.bedel@avionic-design.de</email>
</author>
<published>2016-08-03T06:14:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=50f5bb25b911fd5a876d17b8f08d432c7eff5cfe'/>
<id>50f5bb25b911fd5a876d17b8f08d432c7eff5cfe</id>
<content type='text'>
In asix_recv() the call to convert the endianess of the receive header
was applied on the wrong variable. Instead of converting rx_hdr it
converted pkt_hdr which is a pointer, and not yet initialiazed at this
point.

Signed-off-by: Alban Bedel &lt;alban.bedel@avionic-design.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In asix_recv() the call to convert the endianess of the receive header
was applied on the wrong variable. Instead of converting rx_hdr it
converted pkt_hdr which is a pointer, and not yet initialiazed at this
point.

Signed-off-by: Alban Bedel &lt;alban.bedel@avionic-design.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>eth: asix88179: Add VID:DID for Cypress GX3 USB Ethernet Adapter</title>
<updated>2016-08-07T19:55:43+00:00</updated>
<author>
<name>Alban Bedel</name>
<email>alban.bedel@avionic-design.de</email>
</author>
<published>2016-08-03T06:14:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=652b269468efe15053a989353aed9723c2484c55'/>
<id>652b269468efe15053a989353aed9723c2484c55</id>
<content type='text'>
Added support for the Cypress GX3 SuperSpeed to Gigabit Ethernet
Bridge Controller (VID_04b4/PID_3610).

Signed-off-by: Alban Bedel &lt;alban.bedel@avionic-design.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added support for the Cypress GX3 SuperSpeed to Gigabit Ethernet
Bridge Controller (VID_04b4/PID_3610).

Signed-off-by: Alban Bedel &lt;alban.bedel@avionic-design.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: usb: r8152: Add DM support</title>
<updated>2016-08-07T19:55:42+00:00</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2016-06-29T05:58:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6688452a3bf80a1a131047579af8f881dd2e32c3'/>
<id>6688452a3bf80a1a131047579af8f881dd2e32c3</id>
<content type='text'>
Add support for driver model, so that CONFIG_DM_ETH can be defined and
used with this driver.

This patch also adds the read_rom_hwaddr() callback so that the ROM MAC
address will be used to the DM part of this driver.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Stephen Warren &lt;swarren@nvidia.com&gt;
Cc: Ted Chen &lt;tedchen@realtek.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for driver model, so that CONFIG_DM_ETH can be defined and
used with this driver.

This patch also adds the read_rom_hwaddr() callback so that the ROM MAC
address will be used to the DM part of this driver.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Stephen Warren &lt;swarren@nvidia.com&gt;
Cc: Ted Chen &lt;tedchen@realtek.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>eth: asix88179: Print packet length properly</title>
<updated>2016-04-01T21:18:10+00:00</updated>
<author>
<name>Mateusz Kulikowski</name>
<email>mateusz.kulikowski@gmail.com</email>
</author>
<published>2016-03-31T21:12:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=64160a545d79aefc8b17590532332836ff409883'/>
<id>64160a545d79aefc8b17590532332836ff409883</id>
<content type='text'>
Debug printf used '%u' to print size_t variable.
This caused warnings on 64-bit machines.

Signed-off-by: Mateusz Kulikowski &lt;mateusz.kulikowski@gmail.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Debug printf used '%u' to print size_t variable.
This caused warnings on 64-bit machines.

Signed-off-by: Mateusz Kulikowski &lt;mateusz.kulikowski@gmail.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>smsc95xx: fix operation on 64-bit systems</title>
<updated>2016-04-01T21:17:40+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@wwwdotorg.org</email>
</author>
<published>2016-03-23T04:28:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e320f0bc9b81076e4c59d281dff1428df5324809'/>
<id>e320f0bc9b81076e4c59d281dff1428df5324809</id>
<content type='text'>
smsc95xx_read_reg() should calculate sizeof(*data) not sizeof(data) since
data is a pointer, and the value pointed at is being transferred over USB,
not the value of the pointer. This fixes operation of the driver in 64-bit
builds, such as the Raspberry Pi 3.

Reported-by: Eric Anholt &lt;eric@anholt.net&gt;
Signed-off-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
smsc95xx_read_reg() should calculate sizeof(*data) not sizeof(data) since
data is a pointer, and the value pointed at is being transferred over USB,
not the value of the pointer. This fixes operation of the driver in 64-bit
builds, such as the Raspberry Pi 3.

Reported-by: Eric Anholt &lt;eric@anholt.net&gt;
Signed-off-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: eth: fix memalign() parameter order</title>
<updated>2016-02-24T18:12:33+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2016-02-12T20:56:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=53419bac4edc4d07225fa80ff1aedf0c301e7cc4'/>
<id>53419bac4edc4d07225fa80ff1aedf0c301e7cc4</id>
<content type='text'>
The alignment and size were swapped, leading to malloc heap corruption.

On my system, this sometimes caused U-Boot to crash during or after
certain USB Ethernet operations.

Fixes: c8c2797c3810 ("dm: usb: eth: Support driver model with USB Ethernet")
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The alignment and size were swapped, leading to malloc heap corruption.

On my system, this sometimes caused U-Boot to crash during or after
certain USB Ethernet operations.

Fixes: c8c2797c3810 ("dm: usb: eth: Support driver model with USB Ethernet")
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
