<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb/gadget/ether.c, branch v2014.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/gadget/ether.c?h=v2014.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/gadget/ether.c?h=v2014.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2013-10-20T21:42:39Z</updated>
<entry>
<title>usb: gadget: ether: return error from rx_submit if no request</title>
<updated>2013-10-20T21:42:39Z</updated>
<author>
<name>Troy Kisky</name>
<email>troy.kisky@boundarydevices.com</email>
</author>
<published>2013-09-26T01:41:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=71fc5f91d20ea6466fd6e45235257bec6eb5f413'/>
<id>urn:sha1:71fc5f91d20ea6466fd6e45235257bec6eb5f413</id>
<content type='text'>
This prevents a crash if tftpboot is given a bad filename.

rx_req will be released by eth_reset_config
which is called by eth_disconnect,
which is called using the .disconnect member of usb_gadget_driver by mv_pullup in mv_udc
which is called using the .pullup member of usb_gadget_ops by usb_gadget_disconnect
which is called by usb_eth_halt
which is called using the .halt member of eth_device by eth_halt
which is called by TftpHandler when TFTP_ERR_FILE_NOT_FOUND or TFTP_ERR_ACCESS_DENIED occurs

I trigger this with the following commands
setenv ipaddr 10.0.0.2 &amp;&amp; setenv netmask 255.255.255.0 &amp;&amp; setenv serverip 10.0.0.1
setenv usbnet_devaddr 00:11:22:33:44:55 &amp;&amp; setenv usbnet_hostaddr 00:aa:bb:cc:dd:ee
setenv ethprime usb_ether &amp;&amp; setenv ethact usb_ether &amp;&amp; setenv ncip 10.0.0.1
tftpboot 10800000 10.0.0.1:missing_file

Signed-off-by: Troy Kisky &lt;troy.kisky@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: ether set wMaxPacketSize</title>
<updated>2013-10-20T21:42:39Z</updated>
<author>
<name>Troy Kisky</name>
<email>troy.kisky@boundarydevices.com</email>
</author>
<published>2013-09-26T01:41:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=43880ce5be8e6e5c26d88705be08161bde55deeb'/>
<id>urn:sha1:43880ce5be8e6e5c26d88705be08161bde55deeb</id>
<content type='text'>
set wMaxPacketSize for full speed descriptors
fs_source_desc, fs_sink_desc to 64.

Full-speed bulk endpoint can have a maximum packet size of
8, 16, 32, or 64 bytes, so choice 64.

The hs_source_desc, hs_sink_desc, already have their wMaxPacketSize
set to 512. That is the only legal value for high speed bulk endpoints.

Strictly speaking, this patch is not needed because
usb_ep_autoconfig will call ep_matches which will
override wMaxPacketSize for BULK endpoints only with
the size associated with the endpoint setup by the udc driver.
But if you want to rely on this, you may as well combine the
full speed descriptor with the high speed descriptor to
minimize confusion.

Signed-off-by: Troy Kisky &lt;troy.kisky@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: Fix data aborts during USB ethernet boot</title>
<updated>2013-09-24T15:51:34Z</updated>
<author>
<name>Joel Fernandes</name>
<email>joelf@ti.com</email>
</author>
<published>2013-09-04T23:55:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5290759cc4008075fb9333b32b49d74b8b5c3258'/>
<id>urn:sha1:5290759cc4008075fb9333b32b49d74b8b5c3258</id>
<content type='text'>
As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned
on 4 byte boundaray causing data aborts in eth_setup -&gt; conf_buf
during dhcp boot over usb_ether. Fix the issue my aligning control_req
buffer using DEFINE_CACHE_ALIGN_BUFFER.

Tested on am335x_evm platform (beaglebone).
Applies on 2013.10-rc1 branch.

Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Joel Fernandes &lt;joelf@ti.com&gt;
</content>
</entry>
<entry>
<title>Add GPL-2.0+ SPDX-License-Identifier to source files</title>
<updated>2013-07-24T13:44:38Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-07-08T07:37:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1a4596601fd395f3afb8f82f3f840c5e00bdd57a'/>
<id>urn:sha1:1a4596601fd395f3afb8f82f3f840c5e00bdd57a</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>linux/usb/ch9.h: update with the version from Linux tree</title>
<updated>2012-11-19T23:16:06Z</updated>
<author>
<name>Ilya Yanok</name>
<email>ilya.yanok@cogentembedded.com</email>
</author>
<published>2012-11-06T13:48:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=82651c39f6544e932fb86853bf9a648414ccca9a'/>
<id>urn:sha1:82651c39f6544e932fb86853bf9a648414ccca9a</id>
<content type='text'>
Signed-off-by: Ilya Yanok &lt;ilya.yanok@cogentembedded.com&gt;
</content>
</entry>
<entry>
<title>usb gadget ether: Fix warning in is_eth_addr_valid()</title>
<updated>2012-11-04T18:00:38Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@ti.com</email>
</author>
<published>2012-10-31T13:30:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=57a87a25f7563158d2b8a83d782568f1e6fc7fc5'/>
<id>urn:sha1:57a87a25f7563158d2b8a83d782568f1e6fc7fc5</id>
<content type='text'>
The gadget ethernet driver needs to keep copies of the MAC address (at
both endpoints) as strings so it needs a custom function for validation
of the MAC.  It was not however performing a totally correct check and
also was emitting a warning about a set but unused variable.  The
solution to both is that after checking the string contents we use the
standard test for a valid MAC.

Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>usbether: Removed DEV_CONFIG_{CDC,SUBSET}</title>
<updated>2012-10-15T18:54:01Z</updated>
<author>
<name>Lukasz Dalek</name>
<email>luk0104@gmail.com</email>
</author>
<published>2012-10-02T15:04:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2bb378841e6c093476cd6365aacd7bfdbe60f658'/>
<id>urn:sha1:2bb378841e6c093476cd6365aacd7bfdbe60f658</id>
<content type='text'>
Removed DEV_CONFIG_CDC and DEV_CONFIG_SUBSET and replaced it with
CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET.

Signed-off-by: Lukasz Dalek &lt;luk0104@gmail.com&gt;
</content>
</entry>
<entry>
<title>usbether: Define CONFIG_USB_ETH_{CDC,SUBSET}</title>
<updated>2012-10-15T18:54:01Z</updated>
<author>
<name>Lukasz Dalek</name>
<email>luk0104@gmail.com</email>
</author>
<published>2012-10-02T15:04:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4c43cd5a632ea43cab0cdce08d35d6752913504a'/>
<id>urn:sha1:4c43cd5a632ea43cab0cdce08d35d6752913504a</id>
<content type='text'>
Introduced CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET as preparation
for removal DEV_CONFIG_CDC and DEV_CONFIG_SUBSET

Signed-off-by: Lukasz Dalek &lt;luk0104@gmail.com&gt;
</content>
</entry>
<entry>
<title>usbether: Fixed bug when using with PXA25X chips</title>
<updated>2012-10-15T18:54:01Z</updated>
<author>
<name>Lukasz Dalek</name>
<email>luk0104@gmail.com</email>
</author>
<published>2012-10-02T15:04:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=563aed25395777b55835c9cf7f72bb50ce753398'/>
<id>urn:sha1:563aed25395777b55835c9cf7f72bb50ce753398</id>
<content type='text'>
PXA25X chips don't support alternate settings so driver uses non-CDC
driver.
But only code defined between DEV_CONFIG_CDC signals that network is up.
This patch is fixing this bug by signaling that network is up after USB
SET_INTERFACE request.

Signed-off-by: Lukasz Dalek &lt;luk0104@gmail.com&gt;
</content>
</entry>
<entry>
<title>net: Fix remaining API interface breakage</title>
<updated>2012-05-23T19:19:21Z</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2012-05-22T18:36:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=10cbe3b6a4b2289906fc94bb26810191607ee748'/>
<id>urn:sha1:10cbe3b6a4b2289906fc94bb26810191607ee748</id>
<content type='text'>
These are all the files which use the API incorrectly but did not get
built using MAKEALL -a powerpc|arm.  I have no compiler for them, but
the remaining issues should be far less than without this patch.

Any outstanding issues are left to the maintainers of boards that use
these drivers.

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
</feed>
