<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/host, branch v2.6.13</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.13</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.13'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2005-08-05T04:32:46Z</updated>
<entry>
<title>[PATCH] USB: Fix setup packet initialization in isp116x-hcd</title>
<updated>2005-08-05T04:32:46Z</updated>
<author>
<name>Olav Kongas</name>
<email>ok@artecdesign.ee</email>
</author>
<published>2005-08-05T01:06:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f10eff26831159f52353e8f15c37cdb2935d5fbf'/>
<id>urn:sha1:f10eff26831159f52353e8f15c37cdb2935d5fbf</id>
<content type='text'>
When recently addressing remarks by Alexey Dobriyan about
the isp116x-hcd, I introduced a bug in the driver. Please
apply the attached patch to fix it.

Signed-off-by: Olav Kongas &lt;ok@artecdesign.ee&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: ehci: microframe handling fix</title>
<updated>2005-08-05T04:32:46Z</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2005-08-05T01:06:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7dedacf4270a810fadcca887ac85d267b5f1882d'/>
<id>urn:sha1:7dedacf4270a810fadcca887ac85d267b5f1882d</id>
<content type='text'>
This patch has a one line oops fix, plus related cleanups.

 - The bugfix uses microframe scheduling data given to the hardware to
   test "is this a periodic QH", rather than testing for nonzero period.
   (Prevents an oops by providing the correct answer.)

 - The cleanup going along with the patch should make it clearer what's
   going on whenever those bitfields are accessed.

The bug came about when, around January, two new kinds of EHCI interrupt
scheduling operation were added, involving both the high speed (24 KBytes
per millisec) and low/full speed (1-64 bytes per millisec) microframe
scheduling.  A driver for the Edirol UA-1000 Audio Capture Unit ran into
the oops; it used one of the newly supported high speed modes.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: fix in usb_calc_bus_time</title>
<updated>2005-07-29T20:12:54Z</updated>
<author>
<name>Dan Streetman</name>
<email>ddstreet@ieee.org</email>
</author>
<published>2005-07-29T19:18:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=498f78e6fcf558d0dec31f5648f43426ae16433f'/>
<id>urn:sha1:498f78e6fcf558d0dec31f5648f43426ae16433f</id>
<content type='text'>
This patch does the same swap, i.e. use the ISO macro if (isoc).
Additionally, it fixes the return value - the usb_calc_bus_time function
returns the time in nanoseconds (I didn't notice that before) while the
HS_USECS and HS_USECS_ISO are microseconds.  This fixes the function to
return nanoseconds always, and adjusts ehci-q.c (the only high-speed
caller of the function) to wrap the call in NS_TO_US().

Signed-off-by: Dan Streetman &lt;ddstreet@ieee.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: add S3C24XX USB Host driver support</title>
<updated>2005-07-29T20:12:53Z</updated>
<author>
<name>Ben Dooks</name>
<email>ben-linux-usb@fluff.org</email>
</author>
<published>2005-07-29T19:18:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3eb0c5f4b539873ca88f8597db6a49e83ddfd7e2'/>
<id>urn:sha1:3eb0c5f4b539873ca88f8597db6a49e83ddfd7e2</id>
<content type='text'>
USB (OHCI) Host driver for S3C2410/S3C2440 based systems

Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: fix ohci merge glitch</title>
<updated>2005-07-12T18:52:57Z</updated>
<author>
<name>david-b@pacbell.net</name>
<email>david-b@pacbell.net</email>
</author>
<published>2005-06-29T14:03:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=edfd6aee1f073ae645bd3e60ef96090fc9f0957b'/>
<id>urn:sha1:edfd6aee1f073ae645bd3e60ef96090fc9f0957b</id>
<content type='text'>
A patch re-organizing some parts of root hub initialization deleted the
code initializing the bus-neutral reboot/shutdown notifier for OHCI.
This patch just restores that deleted code.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: ohci-omap pm updates</title>
<updated>2005-07-12T18:52:57Z</updated>
<author>
<name>david-b@pacbell.net</name>
<email>david-b@pacbell.net</email>
</author>
<published>2005-06-29T13:59:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b404a5b02abf84812e5333bda201af464925d7a6'/>
<id>urn:sha1:b404a5b02abf84812e5333bda201af464925d7a6</id>
<content type='text'>
The recent "pm_message_t" changes removed functionality from the Linux
PM framework.  This patch removes it from the OMAP OHCI too, removing
the distinction between (previous) PM_SUSPEND_MEM and PM_SUSPEND_DISK
state transitions ... now the only suspend semantics supportable are
what was previously PM_SUSPEND_DISK (4) and is now "PMSG_SUSPEND" (3).

From: Todd Poynor &lt;tpoynor@mvista.com&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: coverity: (desc-&gt;bitmap)[] overrun fix</title>
<updated>2005-07-12T18:52:56Z</updated>
<author>
<name>KAMBAROV, ZAUR</name>
<email>kambarov@berkeley.edu</email>
</author>
<published>2005-06-25T05:20:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b2134bcd2e1bf989e0566dd1b0e59a792722b671'/>
<id>urn:sha1:b2134bcd2e1bf989e0566dd1b0e59a792722b671</id>
<content type='text'>
The length of the array desc-&gt;bitmap is 3, and not 4:

Definitions involved:

In drivers/usb/core/hcd.h

464  	#define bitmap 	DeviceRemovable

In drivers/usb/host/ohci-hub.c

395  		struct usb_hub_descriptor	*desc

In drivers/usb/core/hub.h

130  	struct usb_hub_descriptor {
131  		__u8  bDescLength;
132  		__u8  bDescriptorType;
133  		__u8  bNbrPorts;
134  		__u16 wHubCharacteristics;
135  		__u8  bPwrOn2PwrGood;
136  		__u8  bHubContrCurrent;
137  		    	/* add 1 bit for hub status change; round to bytes */
138  		__u8  DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8];
139  		__u8  PortPwrCtrlMask[(USB_MAXCHILDREN + 1 + 7) / 8];
140  	} __attribute__ ((packed));

In include/linux/usb.h

306  	#define USB_MAXCHILDREN		(16)

This defect was found automatically by Coverity Prevent, a static analysis
tool.

(akpm: this code should be shot.  Field `bitmap' doesn't exist in struct
usb_hub_descriptor.  And this .c file is #included in
drivers/usb/host/ohci-hcd.c, and someone somewhere #defines `bitmap' to
`DeviceRemovable'.

&gt;From a maintainability POV it would be better to memset the whole array
beforehand - I changed the patch to do that)

Signed-off-by: Zaur Kambarov &lt;zkambarov@coverity.com&gt;
Cc: &lt;linux-usb-devel@lists.sourceforge.net?
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: Fix kmalloc's flags type in USB</title>
<updated>2005-07-12T18:52:56Z</updated>
<author>
<name>Olav Kongas</name>
<email>ok@artecdesign.ee</email>
</author>
<published>2005-06-23T17:25:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5db539e49fc7471e23bf3c94ca304f008cb7b7f3'/>
<id>urn:sha1:5db539e49fc7471e23bf3c94ca304f008cb7b7f3</id>
<content type='text'>
Greg,

This patch fixes the kmalloc() flags argument type in USB
subsystem; hopefully all of its occurences. The patch was
made against patch-2.6.12-git2 from Jun 20.

Cleanup of flags for kmalloc() in USB subsystem.

Signed-off-by: Olav Kongas &lt;ok@artecdesign.ee&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: isp116x-hcd cleanup</title>
<updated>2005-07-12T18:52:55Z</updated>
<author>
<name>Olav Kongas</name>
<email>ok@artecdesign.ee</email>
</author>
<published>2005-06-23T17:12:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=17f8bb7312fa9b00f80c3c0f8d5a5d698eb97bbd'/>
<id>urn:sha1:17f8bb7312fa9b00f80c3c0f8d5a5d698eb97bbd</id>
<content type='text'>
Sorry that it took so long. Here comes a cleanup patch that
addresses the remarks by Alexey Dobriyan about
gregkh-usb-usb-isp116x-hcd-add.patch EXCEPT the remark about
the typecasting of mem_flags argument for kcalloc; this will
be addressed in a later patch.

OlavCleanup of isp116x-hcd.

Signed off by: Olav Kongas &lt;ok@artecdesign.ee&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] pcmcia: remove references to pcmcia/version.h</title>
<updated>2005-07-08T01:24:07Z</updated>
<author>
<name>Dominik Brodowski</name>
<email>linux@dominikbrodowski.net</email>
</author>
<published>2005-07-08T00:59:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=44670d2b50efd2443c3810239d6ea3fd02f8ef64'/>
<id>urn:sha1:44670d2b50efd2443c3810239d6ea3fd02f8ef64</id>
<content type='text'>
As a follow-up, remove the inclusion of pcmcia/version.h in many files.

Signed-off-by: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
