<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/usb, branch v2.6.33</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>cdc_ether: new PID for Ericsson C3607w to the whitelist (resubmit)</title>
<updated>2010-02-23T09:25:01+00:00</updated>
<author>
<name>Torgny Johansson</name>
<email>torgny.johansson@gmail.com</email>
</author>
<published>2010-02-19T01:59:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=cac43a1b7b091b17113502e4128dcb0ff7e3503d'/>
<id>cac43a1b7b091b17113502e4128dcb0ff7e3503d</id>
<content type='text'>
This patch adds a new vid/pid to the cdc_ether whitelist.

Device added:
- Ericsson Mobile Broadband variant C3607w

Signed-off-by: Torgny Johansson &lt;torgny.johansson@gmail.com&gt;

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a new vid/pid to the cdc_ether whitelist.

Device added:
- Ericsson Mobile Broadband variant C3607w

Signed-off-by: Torgny Johansson &lt;torgny.johansson@gmail.com&gt;

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cdc_ether: Partially revert "usbnet: Set link down initially ..."</title>
<updated>2010-01-29T05:37:18+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2010-01-29T05:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=71cc1fa9f2d71eb2eba9b8e71e27cff9863e55f3'/>
<id>71cc1fa9f2d71eb2eba9b8e71e27cff9863e55f3</id>
<content type='text'>
Commit 37e8273cd30592d3a82bcb70cbb1bdc4eaeb6b71 ("usbnet: Set link down
initially for drivers that update link state") changed the initial link
state in cdc_ether and other drivers based on the understanding that the
devices they support generate link change interrupts.  However, this is
optional in the CDC Ethernet protocol, and two users have reported in
&lt;http://bugzilla.kernel.org/show_bug.cgi?id=14791&gt; that the link state
for their devices remains down.  Therefore, revert the change in
cdc_ether.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Tested-by: Avi Rozen &lt;avi.rozen@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 37e8273cd30592d3a82bcb70cbb1bdc4eaeb6b71 ("usbnet: Set link down
initially for drivers that update link state") changed the initial link
state in cdc_ether and other drivers based on the understanding that the
devices they support generate link change interrupts.  However, this is
optional in the CDC Ethernet protocol, and two users have reported in
&lt;http://bugzilla.kernel.org/show_bug.cgi?id=14791&gt; that the link state
for their devices remains down.  Therefore, revert the change in
cdc_ether.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Tested-by: Avi Rozen &lt;avi.rozen@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hso: fixed missing newlines</title>
<updated>2010-01-07T08:43:47+00:00</updated>
<author>
<name>Jan Dumon</name>
<email>j.dumon@option.com</email>
</author>
<published>2010-01-05T04:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8a5c9c4932ad1fbe9daa501e89a7357a2804e3fa'/>
<id>8a5c9c4932ad1fbe9daa501e89a7357a2804e3fa</id>
<content type='text'>
Fixed missing newlines in calls to dev_warn &amp; dev_err.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed missing newlines in calls to dev_warn &amp; dev_err.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hso: Fix for 5 sec timeouts with v2.x firmware</title>
<updated>2010-01-07T08:43:46+00:00</updated>
<author>
<name>Jan Dumon</name>
<email>j.dumon@option.com</email>
</author>
<published>2010-01-05T04:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0e0367e980b55629917f3dd5f5f0ccbf3d0dab62'/>
<id>0e0367e980b55629917f3dd5f5f0ccbf3d0dab62</id>
<content type='text'>
Don't send flow control settings to any port other than the modem port.
Older firmware ignored this request but did sent a reply. Newer firmware just
ignores it without reply and causes a 5 second timeout every time a port
(except for the modem port) is opened or if tiocm settings are changed.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't send flow control settings to any port other than the modem port.
Older firmware ignored this request but did sent a reply. Newer firmware just
ignores it without reply and causes a 5 second timeout every time a port
(except for the modem port) is opened or if tiocm settings are changed.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hso: Attempt to recover from usb bus errors</title>
<updated>2010-01-07T08:43:45+00:00</updated>
<author>
<name>Jan Dumon</name>
<email>j.dumon@option.com</email>
</author>
<published>2010-01-05T04:52:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=68a351c501ad22077a969df157cd13367cb43a40'/>
<id>68a351c501ad22077a969df157cd13367cb43a40</id>
<content type='text'>
Attempt to reset the usb device when we receive usb bus errors.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Attempt to reset the usb device when we receive usb bus errors.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hso: don't change the state of a closed port</title>
<updated>2010-01-07T08:43:45+00:00</updated>
<author>
<name>Jan Dumon</name>
<email>j.dumon@option.com</email>
</author>
<published>2010-01-05T04:51:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f4763e96c08ea0790750603999e5b3158c3b50d4'/>
<id>f4763e96c08ea0790750603999e5b3158c3b50d4</id>
<content type='text'>
Don't change the state of a port if it's not open. This fixes an issue where a
port sometimes has to be opened twice before data can be received.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't change the state of a port if it's not open. This fixes an issue where a
port sometimes has to be opened twice before data can be received.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hso: Fix for endian issues on big endian machines</title>
<updated>2010-01-07T08:43:44+00:00</updated>
<author>
<name>Jan Dumon</name>
<email>j.dumon@option.com</email>
</author>
<published>2010-01-05T04:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d9ced80d1084758772d350ac66b1ad0eeefc7f95'/>
<id>d9ced80d1084758772d350ac66b1ad0eeefc7f95</id>
<content type='text'>
Some fields are always little endian and have to be converted on big endian
machines.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some fields are always little endian and have to be converted on big endian
machines.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hso: Add Vendor/Product ID's for new devices</title>
<updated>2010-01-07T08:43:44+00:00</updated>
<author>
<name>Jan Dumon</name>
<email>j.dumon@option.com</email>
</author>
<published>2010-01-05T04:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ec157937d9799cf30c9a19bd18be33721242c64f'/>
<id>ec157937d9799cf30c9a19bd18be33721242c64f</id>
<content type='text'>
Add product ID's for new devices.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add product ID's for new devices.

Signed-off-by: Jan Dumon &lt;j.dumon@option.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usbnet: test off by one</title>
<updated>2010-01-04T05:42:50+00:00</updated>
<author>
<name>roel kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2009-12-27T11:22:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c064efca9211d12bb9e6de8718fc39884eb883f2'/>
<id>c064efca9211d12bb9e6de8718fc39884eb883f2</id>
<content type='text'>
With `while (i++ &lt; MII_TIMEOUT)' i reaches MII_TIMEOUT + 1 after the loop
This is probably unlikely a problem in practice.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With `while (i++ &lt; MII_TIMEOUT)' i reaches MII_TIMEOUT + 1 after the loop
This is probably unlikely a problem in practice.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net/usb: Correct code taking the size of a pointer</title>
<updated>2009-12-14T03:56:35+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2009-12-13T05:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6057912d7baad31be9819518674ffad349a065b1'/>
<id>6057912d7baad31be9819518674ffad349a065b1</id>
<content type='text'>
sizeof(dev-&gt;dev_addr) is the size of a pointer.  A few lines above, the
size of this field is obtained using netdev-&gt;addr_len for a call to memcpy,
so do the same here.

A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@
expression *x;
expression f;
type T;
@@

*f(...,(T)x,...)
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sizeof(dev-&gt;dev_addr) is the size of a pointer.  A few lines above, the
size of this field is obtained using netdev-&gt;addr_len for a call to memcpy,
so do the same here.

A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@
expression *x;
expression f;
type T;
@@

*f(...,(T)x,...)
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
