- 13 Oct, 2002 4 commits
-
-
Greg Kroah-Hartman authored
This returns the proper value, and fixes a memory leak.
-
Barry K. Nathan authored
On Sat, Oct 12, 2002 at 06:16:44PM -0700, Greg KH wrote: > Now, would you mind taking a look at 2.5, and fixing this there too? :) Here's a half-successful attempt. With this patch, the device no longer appears twice, and it always works on the first open (at least, so I've observed up to this point). The open following a successful open usually fails (roughly speaking, it appears to play dead), and the open following a failed open usually (always?) succeeds. So, on my PL-2303, it's not perfect but it's certainly livable. This patch is based on the one I did for 2.4, and in fact, this code functions when it's plugged into 2.4.20-pre10 instead of 2.5.42. In that scenario, the opens work 100% of the time. I'd be interested in suggestions or comments regarding this patch. Anyone who has a PL-2303 working under 2.5 might want to try this patch just to make sure it doesn't kill their working setup. -Barry K. Nathan <barryn@pobox.com>
-
Greg Kroah-Hartman authored
-
Joe Burks authored
Updates the vicam driver to the latest version from the sourceforge.net project. Binary files linux-2.5.41/drivers/usb/media/.usbvideo.c.swp and linux-2.5.41-vicam/drivers/usb/media/.usbvideo.c.swp differ diff -urN linux-2.5.41/drivers/usb/media/Makefile linux-2.5.41-vicam/drivers/usb/media/Makefile
-
- 11 Oct, 2002 31 commits
-
-
Adam J. Richter authored
On second thought after reading Oliver Neukum's question about "shaving off a cycle or two", here is version of my fix for down() being called from interrupt context that uses unlikely() to get the speed advantage that would be available from BUG_ON(), while still ensuring that the condition is executed even if assertions are compiled out.
-
William Lee Irwin III authored
wacom.c generates the following warning: drivers/usb/input/wacom.c: In function `wacom_probe': drivers/usb/input/wacom.c:405: warning: unused variable `rep_data'
-
Dan Streetman authored
Hi, this patch fixes usbfs. You can't use a single mount_count for 2 different mounts.
-
Randy Dunlap authored
Here's the updated "nousb" patch for vanilla 2.5.41. It applies with 2 small offsets to 2.5.41-bk3.
-
Stuart MacDonald authored
A couple patches on 2.5.41; issues discovered during QA. 1: The hack to get around the unlinking bug. You said this was also in 2.5.x, so I've included this. 2: filp is NULL when called from usb_serial_disconnect. Fixes an oops. 3: In the case where the module is reloaded; the endpoints in the usbsubsystem don't go away. So when the module comes back, the endpoints still have the unlink thing, and also need to be cleared. Otherwise the firmware appears not respond to the version nubmer query and the driver doesn't attach, and you have no device.
-
Doug Ledford authored
-
Doug Ledford authored
Rework lots of cruft in the aic7xxx_old driver so that it can be more easily read and understood by other people and so it starts on the road to giving a clearer picture of how to interact with the scsi mid layer.
-
Doug Ledford authored
This does 4 things. Fixes the oversight James found about cmd_per_lun. Makes scsi_adjust_queue_depth() implement the usage of tagged that I described in my email to linux-scsi. Updates some comments to highlight things that are going to go away shortly. Removes the call to host->select_queue_depths() entirely since drivers that implement this will try to set SDptr->queue_depth to the desired depth, which in reality will do nothing but confuse the mid layer since that is now the actual allocated command counter, so it won't make the mid layer allocate more commands, it will make the mid layer think more commands have been allocated.
-
Doug Ledford authored
-
Doug Ledford authored
Start removing items from scsi.h that are driver specific and provide a patch to NCR53C9x.? that switches to driver private storage instead as an example of how drivers should do private struct storage
-
http://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Zwane Mwaikambo authored
Also fixes a bug when UTP port is unplugged.
-
Jay Vosburgh authored
Also some minor cleanups as well. [This patch qualifies for the cavemen ugh-lympics, because the driver does some really nasty things in interrupt context and this patch does not correct that. However, the patch is an incremental improvement over the current code so it's still worth applying. I'll fix it further if IBM does not fix it first. -jgarzik]
-
Jeb J. Cramer authored
* don't read PCI bus for values stored in struct pci_dev * remove silly BUG() in e1000_sw_init, and * return error from e1000_sw_init
-
http://gkernel.bkbits.net/irda-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Jean Tourrilhes authored
o [CORRECT] Start timer before sending event to fix race condition o [FEATURE] Improve the IrLMP event debugging messages.
-
Jean Tourrilhes authored
o [FEATURE] Fix some comments o [FEATURE] printk warning when we detect buggy QoS from peer o [CORRECT] Workaround NULL QoS bitfields o [CORRECT] Workaround oversized QoS bitfields o [FEATURE] Add sysctl "max_tx_window" to limit IrLAP Tx Window
-
Jean Tourrilhes authored
o [FEATURE] Fix spelling UNITIALISED => UNINITIALISED o [CORRECT] Accept data from TTY before link initialisation This seems necessary to avoid chat (via pppd) dropping chars o [CRITICA] Remember allocated skb size to avoid to over-write it o [FEATURE] Remove LM-IAS object once connected o [CORRECT] Avoid declaring link ready when it's not true
-
Jean Tourrilhes authored
o [FEATURE] Export CRC16 helper so that drivers can use it
-
Jean Tourrilhes authored
<Following patch from Martin Lucina & Christian Gennerat> o [FEATURE] Rewrite of the toshoboe driver using documentation o [FEATURE] Support Donau oboe chipsets. o [FEATURE] FIR support o [CORRECT] Probe chip before opening o [FEATURE] suspend/resume support o [FEATURE] Numerous other improvements/cleanups o [CORRECT] (me) Remove save_flags()/cli() for spinlock <Currently, we keep the old toshoboe driver around> o [FEATURE] Config.help for ma600 driver (unrelated ;-)
-
Jean Tourrilhes authored
<Following patch from Martin Diehl> * merge+sync with changes from recent kernels: pci_[sg]et_drvdata, __devexit_p, netdev->last_rx, irda header cleanup * add netdev tx_timeout which re-initializes the whole thing * add power management support consistent with pci driver api * major rework of the ring descriptor operations * make correct usage of consistent and streaming pci dma api * nuke last virt_to_bus() and friends * support MIR/FIR highspeed interaction pulse (SIP) * review all paths for packet-size issues (rx and tx) * fix an old issue requiring hw powercycle caused by a race between IrLAP and hardware when switching _back_ to default speed at LAP disconnect. This was opened by the complete async behaviour of netdev->xmit but didn't happen before your latency improvements went into the stack. * add driver status readout under /proc/driver/vlsi_ir/irda% For 2.5, this will probably go into driverfs once things have stabilized. * fix potential deadlock in speed changing code * make identical driver working for both 2.4 and 2.5 * add __attribute__((packed)) to hardware-exposed struct * add suggested pci_dma_prep_single() to flush cpu cache before streaming dma buffer gets reused for busmastering
-
Jeff Garzik authored
into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
-
bk://linux-input.bkbits.net/linux-inputLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Vojtech Pavlik authored
-
Andries E. Brouwer authored
The reason Vojtech broke it was the stupid name of a field in struct kbd_repeat, namely "rate". Every sane person expects that a rate has dimension [1/sec], but here the "rate" is a time period measured in msec. So, the patch below first of all fixes the code, and secondly changes the name. Since Vojtech used PERIOD as index, I also used period as field name in the struct. Half of the stuff below is actually from Alan Stern. Andries
-
Vojtech Pavlik authored
-
Zach Welch authored
handling of flag bits, etc.
-
Vojtech Pavlik authored
-
Vojtech Pavlik authored
-
Ingo Molnar authored
This fixes the scheduler's migration code to not disable preemption. It also fixes the bug that was hidden by the broken disable-preempt change: the migration thread did not kick idle CPUs if a task is migrated to them, which causes a hung boot when ksoftirqds are started. It was pure luck it worked until now, it was broken pretty much from day 1 on.
-
Anton Blanchard authored
Quick fix for CONFIG_NLS, add a missing space.
-
- 10 Oct, 2002 5 commits
-
-
Jeff Garzik authored
(contributed by Adam Kropelin)
-
Zwane Mwaikambo authored
-
Jeff Garzik authored
-
Vojtech Pavlik authored
-
Vojtech Pavlik authored
-