<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/net/usb, branch v2.6.30</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>usbnet: CDC EEM support (v5)</title>
<updated>2009-05-04T19:01:43+00:00</updated>
<author>
<name>Omar Laazimani</name>
<email>omar.oberthur@gmail.com</email>
</author>
<published>2009-05-04T19:01:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=9f722c0978b04acba209f8ca1896ad05814bc3a3'/>
<id>9f722c0978b04acba209f8ca1896ad05814bc3a3</id>
<content type='text'>
This introduces a CDC Ethernet Emulation Model (EEM) host side
driver to support USB EEM devices.

EEM is different from the Ethernet Control Model (ECM) currently
supported by the "CDC Ethernet" driver.  One key difference is
that it doesn't require of USB interface alternate settings to
manage interface state; some maldesigned hardware can't handle
that part of USB.  It also avoids a separate USB interface for
control and status updates.

[ dbrownell@users.sourceforge.net: fix skb leaks, add rx packet
checks, improve fault handling, EEM conformance updates, cleanup ]

Signed-off-by: Omar Laazimani &lt;omar.oberthur@gmail.com&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&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>
This introduces a CDC Ethernet Emulation Model (EEM) host side
driver to support USB EEM devices.

EEM is different from the Ethernet Control Model (ECM) currently
supported by the "CDC Ethernet" driver.  One key difference is
that it doesn't require of USB interface alternate settings to
manage interface state; some maldesigned hardware can't handle
that part of USB.  It also avoids a separate USB interface for
control and status updates.

[ dbrownell@users.sourceforge.net: fix skb leaks, add rx packet
checks, improve fault handling, EEM conformance updates, cleanup ]

Signed-off-by: Omar Laazimani &lt;omar.oberthur@gmail.com&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>smsc95xx: add support for LAN9512 and LAN9514</title>
<updated>2009-05-01T22:27:03+00:00</updated>
<author>
<name>Steve Glendinning</name>
<email>steve.glendinning@smsc.com</email>
</author>
<published>2009-05-01T06:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=726474b8cd0f0f49c570b1dbbab44be898797550'/>
<id>726474b8cd0f0f49c570b1dbbab44be898797550</id>
<content type='text'>
LAN9512 and LAN9514 are USB hubs with an integrated 10/100 ethernet
controller.  Logically this looks like an ethernet controller (similar
to LAN9500) permanently attached to one of the hub's downstream ports.

This patch adds the usb device id of the new ethernet controller to the
smsc95xx driver.  This id is the same in both new devices.

Signed-off-by: Steve Glendinning &lt;steve.glendinning@smsc.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>
LAN9512 and LAN9514 are USB hubs with an integrated 10/100 ethernet
controller.  Logically this looks like an ethernet controller (similar
to LAN9500) permanently attached to one of the hub's downstream ports.

This patch adds the usb device id of the new ethernet controller to the
smsc95xx driver.  This id is the same in both new devices.

Signed-off-by: Steve Glendinning &lt;steve.glendinning@smsc.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>smsc95xx: configure LED outputs</title>
<updated>2009-05-01T22:27:02+00:00</updated>
<author>
<name>Steve Glendinning</name>
<email>steve.glendinning@smsc.com</email>
</author>
<published>2009-05-01T05:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f293501c61c50b014ad2347661c6acd951c80fed'/>
<id>f293501c61c50b014ad2347661c6acd951c80fed</id>
<content type='text'>
SMSC LAN9500 has dual purpose GPIO/LED pins, and by default at power-on
these are configured as GPIOs.  This means that if LEDs are fitted they
won't ever light.

This patch sets them to be LED outputs for speed, duplex and
link/activity.

Signed-off-by: Steve Glendinning &lt;steve.glendinning@smsc.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>
SMSC LAN9500 has dual purpose GPIO/LED pins, and by default at power-on
these are configured as GPIOs.  This means that if LEDs are fitted they
won't ever light.

This patch sets them to be LED outputs for speed, duplex and
link/activity.

Signed-off-by: Steve Glendinning &lt;steve.glendinning@smsc.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pegasus: Handle disconnect error code correctly.</title>
<updated>2009-04-17T08:40:19+00:00</updated>
<author>
<name>Oliver Neukum</name>
<email>oliver@neukum.org</email>
</author>
<published>2009-04-17T08:40:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=9dd014eb9804f19d6230c3cbc10fa25f5416bda7'/>
<id>9dd014eb9804f19d6230c3cbc10fa25f5416bda7</id>
<content type='text'>
EPERM means that disconnect() is runnung. It should be treated like
ENODEV

Signed-off-by: Oliver Neukum &lt;oliver@neukum.org&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>
EPERM means that disconnect() is runnung. It should be treated like
ENODEV

Signed-off-by: Oliver Neukum &lt;oliver@neukum.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dma-mapping: replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64)</title>
<updated>2009-04-07T15:31:10+00:00</updated>
<author>
<name>Yang Hongyang</name>
<email>yanghy@cn.fujitsu.com</email>
</author>
<published>2009-04-07T02:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=6a35528a8346f6e6fd32ed7e51f04d1fa4ca2c01'/>
<id>6a35528a8346f6e6fd32ed7e51f04d1fa4ca2c01</id>
<content type='text'>
Replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64)

Signed-off-by: Yang Hongyang&lt;yanghy@cn.fujitsu.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64)

Signed-off-by: Yang Hongyang&lt;yanghy@cn.fujitsu.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hso: fix for the 'invalid frame length' messages</title>
<updated>2009-04-02T23:31:44+00:00</updated>
<author>
<name>Jan Dumon</name>
<email>j.dumon@option.com</email>
</author>
<published>2009-04-01T22:59:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=0de8ca597d7b449e9e7ce7af138944acf06c8f05'/>
<id>0de8ca597d7b449e9e7ce7af138944acf06c8f05</id>
<content type='text'>
Some devices cannot send very short usb transfers. To get around this the
firmware adds a known pattern and flags the driver that it should check for
this pattern on short transfers. This flag was not taken into account by
the driver.

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 devices cannot send very short usb transfers. To get around this the
firmware adds a known pattern and flags the driver that it should check for
this pattern on short transfers. This flag was not taken into account by
the driver.

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 crash when unplugging the device</title>
<updated>2009-04-02T23:31:43+00:00</updated>
<author>
<name>Jan Dumon</name>
<email>j.dumon@option.com</email>
</author>
<published>2009-04-01T22:57:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=3b7d2b319db0ba1f6208ca58b297fb419301f85a'/>
<id>3b7d2b319db0ba1f6208ca58b297fb419301f85a</id>
<content type='text'>
Changed the order in which things are freed. This fixes an oops when
unplugging the device while network traffic is ongoing.

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>
Changed the order in which things are freed. This fixes an oops when
unplugging the device while network traffic is ongoing.

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>2009-04-02T08:16:44+00:00</updated>
<author>
<name>Jan Dumon</name>
<email>j.dumon@option.com</email>
</author>
<published>2009-04-02T08:16:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=9961d84270ce1d5f4c662382acf0b418a3ff6a0f'/>
<id>9961d84270ce1d5f4c662382acf0b418a3ff6a0f</id>
<content type='text'>
Add Vendor/Product ID's for new devices.
Removed duplicate product ID 0x7361.

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 Vendor/Product ID's for new devices.
Removed duplicate product ID 0x7361.

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>kaweth: Fix locking to be SMP-safe</title>
<updated>2009-04-02T08:09:43+00:00</updated>
<author>
<name>Larry Finger</name>
<email>Larry.Finger@lwfinger.net</email>
</author>
<published>2009-04-02T08:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4ff61c8f7b5e1e60620a04a64ac0715c0822fdac'/>
<id>4ff61c8f7b5e1e60620a04a64ac0715c0822fdac</id>
<content type='text'>
On an SMP system, the following message is printed. The patch below gets
fixes the problem.

=================================
[ INFO: inconsistent lock state ]
2.6.29-Linus-05093-gc31f403 #57
---------------------------------
inconsistent {hardirq-on-W} -&gt; {in-hardirq-W} usage.
bash/4105 [HC1[1]:SC0[0]:HE0:SE1] takes:
 (&amp;kaweth-&gt;device_lock){+...}, at: [&lt;ffffffffa01aa286&gt;]
                 kaweth_usb_receive+0x77/0x1af [kaw eth]
{hardirq-on-W} state was registered at:
  [&lt;ffffffff80260503&gt;] __lock_acquire+0x753/0x1685
  [&lt;ffffffff8026148a&gt;] lock_acquire+0x55/0x71
  [&lt;ffffffff80461ba6&gt;] _spin_lock+0x31/0x3d
  [&lt;ffffffffa01aaa0c&gt;] kaweth_start_xmit+0x2b/0x1e1 [kaweth]
  [&lt;ffffffff803eccd3&gt;] dev_hard_start_xmit+0x22e/0x2ad
  [&lt;ffffffff803fe120&gt;] __qdisc_run+0xf2/0x203
  [&lt;ffffffff803ed0cd&gt;] dev_queue_xmit+0x263/0x39b
  [&lt;ffffffffa03a47cb&gt;] packet_sendmsg_spkt+0x1c4/0x20a [af_packet]
  [&lt;ffffffff803de0c2&gt;] sock_sendmsg+0xe4/0xfd
  [&lt;ffffffff803dec8f&gt;] sys_sendto+0xe4/0x10c
  [&lt;ffffffff8020bccb&gt;] system_call_fastpath+0x16/0x1b
  [&lt;ffffffffffffffff&gt;] 0xffffffffffffffff
irq event stamp: 1280
hardirqs last  enabled at (1279): [&lt;ffffffff80461a71&gt;]
                  _spin_unlock_irqrestore+0x44/0x4c
hardirqs last disabled at (1280): [&lt;ffffffff8020bad7&gt;]
                  save_args+0x67/0x70
softirqs last  enabled at (660): [&lt;ffffffff8024192c&gt;]
                  __do_softirq+0x14d/0x15d
softirqs last disabled at (651): [&lt;ffffffff8020ce9c&gt;]
                  call_softirq+0x1c/0x28

Signed-off-by: Larry Finger &lt;Larry.Finger@lwfinger.net&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>
On an SMP system, the following message is printed. The patch below gets
fixes the problem.

=================================
[ INFO: inconsistent lock state ]
2.6.29-Linus-05093-gc31f403 #57
---------------------------------
inconsistent {hardirq-on-W} -&gt; {in-hardirq-W} usage.
bash/4105 [HC1[1]:SC0[0]:HE0:SE1] takes:
 (&amp;kaweth-&gt;device_lock){+...}, at: [&lt;ffffffffa01aa286&gt;]
                 kaweth_usb_receive+0x77/0x1af [kaw eth]
{hardirq-on-W} state was registered at:
  [&lt;ffffffff80260503&gt;] __lock_acquire+0x753/0x1685
  [&lt;ffffffff8026148a&gt;] lock_acquire+0x55/0x71
  [&lt;ffffffff80461ba6&gt;] _spin_lock+0x31/0x3d
  [&lt;ffffffffa01aaa0c&gt;] kaweth_start_xmit+0x2b/0x1e1 [kaweth]
  [&lt;ffffffff803eccd3&gt;] dev_hard_start_xmit+0x22e/0x2ad
  [&lt;ffffffff803fe120&gt;] __qdisc_run+0xf2/0x203
  [&lt;ffffffff803ed0cd&gt;] dev_queue_xmit+0x263/0x39b
  [&lt;ffffffffa03a47cb&gt;] packet_sendmsg_spkt+0x1c4/0x20a [af_packet]
  [&lt;ffffffff803de0c2&gt;] sock_sendmsg+0xe4/0xfd
  [&lt;ffffffff803dec8f&gt;] sys_sendto+0xe4/0x10c
  [&lt;ffffffff8020bccb&gt;] system_call_fastpath+0x16/0x1b
  [&lt;ffffffffffffffff&gt;] 0xffffffffffffffff
irq event stamp: 1280
hardirqs last  enabled at (1279): [&lt;ffffffff80461a71&gt;]
                  _spin_unlock_irqrestore+0x44/0x4c
hardirqs last disabled at (1280): [&lt;ffffffff8020bad7&gt;]
                  save_args+0x67/0x70
softirqs last  enabled at (660): [&lt;ffffffff8024192c&gt;]
                  __do_softirq+0x14d/0x15d
softirqs last disabled at (651): [&lt;ffffffff8020ce9c&gt;]
                  call_softirq+0x1c/0x28

Signed-off-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usbnet: convert rndis driver to net_device_ops</title>
<updated>2009-03-22T02:55:35+00:00</updated>
<author>
<name>Stephen Hemminger</name>
<email>shemminger@vyatta.com</email>
</author>
<published>2009-03-20T19:36:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=0f2166dff6440bb6fb39e4fbe7bfca7cde95d650'/>
<id>0f2166dff6440bb6fb39e4fbe7bfca7cde95d650</id>
<content type='text'>
Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Acked-by: David Brownell &lt;dbrownell@users.sourceforge.net&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>
Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Acked-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
