<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb/gadget/ether.c, branch v2015.01</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=v2015.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/gadget/ether.c?h=v2015.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-12-11T20:18:41Z</updated>
<entry>
<title>lib: string: move strlcpy() to a common place</title>
<updated>2014-12-11T20:18:41Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-11-20T12:20:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=80d9ef8d40b2aa35c4a3483f5cf3549215187a7c'/>
<id>urn:sha1:80d9ef8d40b2aa35c4a3483f5cf3549215187a7c</id>
<content type='text'>
Move strlcpy() definition from drivers/usb/gadget/ether.c to
lib/string.c because it is a very useful function.
Let's add the prototype to include/linux/string.h too.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>lib, linux: move linux specific defines to linux/compat.h</title>
<updated>2014-08-25T23:25:03Z</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2014-06-24T08:10:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0c06db59836746c5caf397e642cd0f2bf1cc20a6'/>
<id>urn:sha1:0c06db59836746c5caf397e642cd0f2bf1cc20a6</id>
<content type='text'>
- move linux specific defines from usb and video code
  into linux/compat.h
- move common linux specific defines from include/ubi_uboot.h
  to linux/compat.h
- add for new mtd/ubi/ubifs sync new needed linux specific
  defines to linux/compat.h

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
[trini: Add spin_lock_irqsave/spin_unlock_irqrestore dummies from
usb/lin_gadet_compat.h]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<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>
</feed>
