- 30 Nov, 2002 4 commits
-
-
Oliver Neukum authored
-
Greg Kroah-Hartman authored
-
Oliver Neukum authored
-
Wayne Whitney authored
uhci-hcd.c currently calls usb_endpoint_halt() in the td_error: path of uhci_result_control(). David Brownell told me that "control endpoints don't halt" and that this is wrong. The patch below fixes this and allows my Belkin Universal UPS to work. [Although it still prints lots of "drivers/usb/input/hid-core.c: ctrl urb status -32 received" messages.] Greg K-H, could you merge this if it looks right? David mentioned that the same bug exists in 2.4.x.
-
- 29 Nov, 2002 7 commits
-
-
David Brownell authored
This reduces the quantity of messages, by using the newer dev_*() macros, and by deleting some messages.
-
David Brownell authored
This patch should improve behavior of the EHCI driver, particularly on VIA hardware. - A more careful reading of the EHCI spec turns up requirements not to change this register's value while the async schedule is enabled. That means in effect that it must never point to a QH that'd get unlinked ... driver now uses a dedicated QH. - Disables async schedule a bit faster: after 50msec idle, not 330msec idle. - Streamline the "can't init memory" failure path. - Start to use the dev_dbg()/dev_info()/... macros in more places. This version acts a bunch happier than the previous version, removing some failure modes I could never quite convince myself were hardware (they weren't!) I suspect it'll remove a lot of the "it hangs" failures that some folk have reported (mostly on 2.4 though).
-
David Brownell authored
This reduces the debug message volume a bit, mostly by using the new dev_dbg() macros instead of the usb dbg() ones in some places during HCD init/shutdown. Likewise dev_info().
-
David Brownell authored
This removes a printk that's been cluttering up my logs, especially when I do things like 'mkfs -c ...' it doesn't seem to be needed any more.
-
Duncan Sands authored
Here is a small cleanup patch for 2.5 that goes on top of my previous ones. It makes devio.c use the list traversal macros from list.h.
-
Greg Kroah-Hartman authored
[PATCH] USB serial: cleaned up the rest of the __MOD_INC and __MOD_DEC calls to use the new module API
-
Oliver Neukum authored
the serial subdrivers may be unloading while we open. This patch against 2.5 guards against that.
-
- 27 Nov, 2002 14 commits
-
-
bk://lsm.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Linus Torvalds authored
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/gregkh-2.5
-
Stuart MacDonald authored
1-fix-lowlat: QA found that running all four ports at 460800 would drop data. I traced it to data being dropped in the read callback because the flip buffers were full. Turning on the low latency flag fixed things. 2-fix-taint A side-effect of turning on low latency; the interrupt context from the callback is now passed through to the tty layer, passing it on to calls back into usb-serial.c. Which causes deadlocks when trying to re-acquire the per-port semaphore. We've already talked about this. This patch is my work-around for the usb-serial.c brokenness. Basically, implemement a buffering scheme, and schedule a software interrupt to handle the data handoff to the tty layer sometime later. urb_pool_size defaults to 8, but is a module parameter and can be modified at runtime. The buffering is needed so that the driver can run while data is waiting to be processed, but I could have used the tty layer scheduling instead of doing my own by turning off low latency. However, I looked at the tty layer and it seems to me that there's nothing preventing a really fast device from flipping one buffer, flipping the next, and flipping back to the still full buffer from before (actually, the flip just gets scheduled for later), so my driver needs to be able to hold onto buffered data and schedule them for processing later anyway. So, might as well leave low_latency on. diff -Naur linux-2.5.49-0-virgin/drivers/usb/serial/whiteheat.c linux-2.5.49-1-fix- lowlat/drivers/usb/serial/whiteheat.c
-
Stuart MacDonald authored
Attached is a patch that changes the 2.5.x disconnect to be similar to 2.4.x disconnect. This doesn't fix the race, but does shrink the window such that I've never seen it trigger, even under testing designed to do that. There doesn't seem to be a good way to fix the race. The fix should be to have _disconnect force any sleeping semaphore holders to run to completion between the end of the loop in the patch below and the spot where the underlying memory is freed, but I don't see a way to do that. diff -Naur linux-2.5.49-2-fix-taint/drivers/usb/serial/usb-serial.c linux-2.5.49-3-fix-drvdata/drivers/usb/serial/usb- serial.c
-
John Tyner authored
This patch cleans up the vicam_decode_color function by removing unused/useless variables and combining the two "x" loops inside the y loop into one. It also reduces the number of times that the "x" loop occurs from 512 to 320 which should provide a decent speed increase. It also fixes a bug in the y loop that wrote beyond its bound.
-
Nemosoft Unv. authored
After a little absence, here's a patch to bring the Philips Webcam driver up to version 8.9 (skipping 8.8 which has been available as a download on my website for a while). This patch is against 2.5.49, and includes some of the following: * New USB IDs for Logitech and Visionite webcams. * Better URB link/unlink sequence when opening/closing device and switching resolutions. * Adding probe for CCD/CMOS sensor type. * Removed remnants of YUV420 palette stuff. Also updated the description in 'Kconfig'.
-
Mark W. McClelland authored
-
Ganesh Varadarajan authored
-
- 26 Nov, 2002 15 commits
-
-
Miles Bader authored
Add `unlikely' to error-return path in v850 __syscall_return macro
-
Miles Bader authored
Shrink v850 exception-trap handling code a bit
-
Miles Bader authored
Change type of v850 function `gbus_int_disable_irqs' to void
-
Miles Bader authored
Make v850 syscall6 macro support both old and new gcc versions
-
Miles Bader authored
Add id for v850 `nb85e_uart' to serial_core.h
-
Miles Bader authored
Give a compile-time error on the v850 if MAX_ORDER is too large
-
Miles Bader authored
Make the v850 leds driver's seek routine always return a value
-
Miles Bader authored
Update make variable used by initramfs `binary blob' creation on v850
-
Miles Bader authored
Change the default baud rate of the `nb85e_uart' driver to 115200
-
Miles Bader authored
Tweak some v850 name strings [basically only affects printed output]
-
Miles Bader authored
Random whitespace tweaks in v850 files
-
Miles Bader authored
Add my name to CREDITS file
-
Miles Bader authored
Update includes in v850 files to reflect recent header changes
-
Miles Bader authored
Update v850 to use kstat_cpu in irqs.c
-
Miles Bader authored
The v850 doesn't need sys_old_getrlimit
-