- 19 Dec, 2002 14 commits
-
-
David Brownell authored
This ought to address a number of the problems with the recent "dummy td" update as well as some older ones: - Slims down the qh_append_tds() to remove two pairs of "should be duplicate" logic so that * qh_make() only creates and initializes; * qh_append_tds() calls it earlier; * always appends with dummy, no routine qh updates. - Reworked qh_completions() ... simpler, better. * two notable FIXMEs gone, and a bug related to how they interacted with scatterlist i/o * fixed bugs (including one oops) exposed by using dummies more. Passes basic testing: most 'usbtest' cases, usb2 hub with keyboard and CF adapter, storage enumeration. So it seems less troublesome, though it's still not as happy as I've seen it. However, "testusb -at12" (running 'write unlink' tests) still fails for me, and usb-storage gets unhappy when it decides (why? and unsuccessfully) to reset high speed devices. I'm still chasing those problems, which seem to come from higher up in the stack.
-
Greg Kroah-Hartman authored
Thanks to Randy Dunlap for pointing this out.
-
Oliver Neukum authored
cdc-ether has the same problem as cdc-acm. - usb_submit_urb() under spinlock or in interrupt must use GFP_ATOMIC
-
Oliver Neukum authored
the patch turns it into GFP_ATOMIC.
-
Oliver Neukum authored
this removes the spinlocks in close, so that the synchronous unlinking is safe.
-
Oliver Neukum authored
I am not sure what this code was supposed to do, but it can stop khubd indefinitely. It has to go.
-
Oliver Neukum authored
speedtouch povides an ioctl handler through usbfs. It must not be reentered. A semaphore ensures that.
-
Oliver Neukum authored
usb_clear_halt cannot be used from a completion handler because it sleeps As that code path would have crashed the driver, it's obviously not needed and can be removed.
-
Oliver Neukum authored
- simple spinlocks will do
-
Oliver Neukum authored
irqsave spinlocks in an interrupt handler are superfluous. Simple spinlocks are sufficient and quicker. As this is in interrupt context, every cycle counts.
-
Arnd Bergmann authored
The variable 'cams' should be static. Don't initialize to 0, while we're here.
-
Arnd Bergmann authored
Variables should not be defined in a header file. This slightly improves the driver by making them static instead of global.
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
bk://linuxusb@bkbits.net/linus-2.5Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
- 18 Dec, 2002 11 commits
-
-
Randy Dunlap authored
This simple intermezzo Makefile change allows it to build. OK'ed by Peter Braam.
-
Stephen Rothwell authored
This fixes the APM GDT entry allocation issue. Confirmed by Andrew Morton.
-
Linus Torvalds authored
fast system calls. They should now be fully comparable to traditional system calls. Fix SEP stack allocation to look like a real thread stack. This fixes the "Trap on first sysenter instruction" problem, which can happen either as a result of an NMI or a breakpoint trap (TF bit set). Also make the user trampoline save and restore EFLAGS, so that the TF bit gets restored after a fast system call (it will have been cleared to avoid trap faults in the kernel).
-
http://linux-scsi.bkbits.net/scsi-for-linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
James Bottomley authored
into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
-
Linus Torvalds authored
- add support for sending a signal on vblank - remove unhelpful AGP chipset strings - update radeon texture cache handling
-
http://linux-sound.bkbits.net/linux-soundLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jaroslav Kysela authored
into suse.cz:/home/perex/bk/linux-sound/work
-
http://linux.bkbits.net/linux-2.5Jaroslav Kysela authored
into suse.cz:/home/perex/bk/linux-sound/linux-sound
-
Jaroslav Kysela authored
- intel8x0 - added NVidia NForce2 Audio PCI ID - USB driver - clenaups in the disconnect routine - added ALSA-Configuration.txt and ControlNames.txt documents
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 17 Dec, 2002 15 commits
-
-
Jaroslav Kysela authored
- fixed compilation problem when debug is active
-
Jaroslav Kysela authored
into suse.cz:/home/perex/bk/linux-sound/work
-
http://linux.bkbits.net/linux-2.5Jaroslav Kysela authored
into suse.cz:/home/perex/bk/linux-sound/linux-sound
-
David Brownell authored
- some access to urb->hcpriv and urb->status needed to be locked using urb->lock - paranoia: don't depend on two values being in lock-step.
-
Greg Kroah-Hartman authored
-
Linus Torvalds authored
trampoline. Here's how: we re-load %ebp (arg6) in the kernel sysenter handler from the stack, and on system call re-play we jump back in user space to re-initialize %ebp to point to the stack pointer before re-doing the sysenter instruction.
-
bk://are.twiddle.net/axp-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
William Lee Irwin III authored
vm86 does broken tasklist scanning for matching task_struct pointers, which is oopsable. This registers a notifier for it to GC vm86 IRQ's in release_thread() and removes the broken tasklist scanning. This bugfix is in 2.4.x and has been in 2.5.x-dj for an extended period of time.
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/gregkh-2.5
-
Greg Kroah-Hartman authored
-
Richard Henderson authored
into are.twiddle.net:/home/rth/BK/axp-2.5
-
David Brownell authored
This patch converts most common hub diagnostics to use the device model diagnostic macros ... not all, someone should reduce the number of err() strings for "bogus hub" cases, and ideally streamline some of the dozen or so "here's what's special about this new hub" dbg() messages. So the messages become more useful: they id the port (and implicitly the device) involved, using a kernel-wide standard convention. Size overhead is smaller too. For folk running with USB debugging enabled, it also cuts the useless chatter on connections by deleting the per-poll success messages and a partial dup message when things change. And it deletes a newish diagnostic on a (non-hub) unlink path. It also makes Pete's new debounce message use the right port number -- one-based, not zero-based. My main issue with this patch is that it doesn't change more messages, but it seems reasonable to merge it anyway.
-
Oliver Neukum authored
unknown ioctls return -ENOTTY and nothing else.
-
Oliver Neukum authored
checking for -EINPROGRESS is wrong.
-
Oliver Neukum authored
-