- 02 Apr, 2004 1 commit
-
-
David Brownell authored
Generalize the driver a bit: - PCI-specific handling is restricted to a small chunk of init code. Non-PCI implementations are in the pipeline. - Merge support from ARC International (Craig Nadler) for their integrated root hub transaction translators (on PCI). Other implementations should be similar.
-
- 31 Mar, 2004 14 commits
-
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/usb-2.6
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
David Brownell authored
Remove usb_interface.driver, and along with it the "half bound" state previously associated with drivers binding with claim() instead of probe(). This changes usb_driver_claim_interface() semantics slightly: drivers must now be prepared to accept disconnect() callbacks. Fixes more locking bugs, and a claim() oops that snuck in with a recent patch.
-
David Brownell authored
-
Alan Stern authored
When David added an entry to the gadget_chips.h file for the dummy_hcd driver, he mistakenly used the name "dummy_udc" rather than "dummy_hcd". The mistake is understandable, since other controllers use "_udc" in their names and it is illogical to put "_hcd" in a _device_ controller's name. This patch updates the dummy_hcd driver and changes the gadget name to agree with the gadget_chips.h entry.
-
Alan Stern authored
This patch changes the UHCI driver's bus-release routine; now it will correctly finish all pending but not-yet-completed URBs. This fixes a reported bug, when trying to rmmod uhci-hcd while using a USB mouse under X. Also, the patch changes a variable name from ...hs... to ...fs... ("high speed" -> "full speed") -- something I accidentally omitted in an earlier patch.
-
Alan Stern authored
This patch imports the endpoint auto-config library into the file-storage gadget, simplifying the code needed for endpoint selection and removing almost all dependencies on the controller type from the driver. It also changes some log messages for reporting fatal problems from INFO to ERROR.
-
Alan Stern authored
This patch imports the config-buffer library into the file-storage gadget, simplifying and decreasing the amount of code needed for assembling configuration descriptors. It also changes the driver to remove any pretense at bus-powered operation and to use the new DUALSPEED configuration option. This is in line with recent changes made to other gadget drivers.
-
Alexander Stohr authored
This cleans up a larger amount of superfluos ";;" statements in current Linux kernel sources by converting them to the regular single ";" statments. It seems to be a common problem that at the end of a line the semicolon key is producing an echo.
-
http://linux-sound.bkbits.net/linux-soundLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Rusty Russell <rusty@rustcorp.com.au> The iSeries has an arch-specific mapping from physical <-> absolute addresses. Fortunately this is only used in a few places. However, the following arch-specific macros/functions are provided in addition to the standard macros: __a2p() __a2v() __p2a() __p2v() __v2a() __v2p() absolute_to_phys() phys_to_absolute() virt_to_absolute() absolute_to_virt() Reduce them to these, with slightly shorter names, and taking either pointers or unsigned long (as per __va and __pa) rather than making the caller cast: abs_to_phys() phys_to_abs() And helper macros: virt_to_abs() abs_to_virt() As is standard, virtual addresses are returned as void *, physical and absolute as unsigned long. Note that the change the iSeries_setup is a little subtle: ea is set to __va(pa) above, so "phys_to_abs(pa)" is the same as "virt_to_abs(ea)". Also, REALADDR is renamed to ISERIES_HV_ADDR and used in a couple of places where appropriate.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Stephen Rothwell <sfr@canb.auug.org.au> This patch just ensures that the RI bit is set really early as it seems it is not on iSeries Power4 machines (or maybe OS400 v5r3 does this).
-
- 30 Mar, 2004 25 commits
-
-
Jaroslav Kysela authored
-
Jaroslav Kysela authored
au88x0 driver Cleanups - removed duplicate PCI IDs
-
Jaroslav Kysela authored
USB generic driver add usb_device->speed wrapper for compiling with 2.2.x kernels
-
Jaroslav Kysela authored
into suse.cz:/home/perex/bk/linux-sound/linux-sound
-
Linus Torvalds authored
People were getting quite excited about this.
-
David Brownell authored
> Oops, you forgot to grep: > > CC [M] drivers/media/dvb/ttusb-dec/ttusb_dec.o > drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c: In function `ttusb_setup_interfaces': > drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c:1011: warning: implicit declaration of function `usb_set_configuration' Well, when I did the grep that bug wasn't there; it was just integrated on Feb 26! > Care to send a patch to fix it up before Andrew gets grumpy with me for > breaking his build? :) The first part makes it use usb_reset_configuration() like it did before ... I'm surprised this driver hasn't been generating "it deadlocks during probe" reports. The second part prints a diagnostic if the configuration wasn't set right; the fix would use hotplug and sysfs.
-
Dave Jones authored
-
Greg Kroah-Hartman authored
This backs out Maneesh's sysfs patch that was recently added to the kernel. In its defense, the original patch did solve some fixes that could be duplicated on SMP machines, but the side affect of the patch caused lots of problems. Basically it caused kobjects to get their references incremented when files that are not present in the kobject are asked for (udev can easily trigger this when it looks for files call "dev" in directories that do not have that file). This can cause easy oopses when the VFS later ages out those old dentries and the kobject has its reference finally released (usually after the module that the kobject lived in was removed.) I will continue to work with Maneesh to try to solve the original bug, but for now, this patch needs to be applied.
-
Richard Henderson authored
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru> The memory reserved for PCI probe is not freed properly in some cases, for instance with a 3.5Gb of RAM. Forward port from 2.4.
-
Alessandro Zummo authored
here's a small patch for omninet.c .
-
Marcel Holtmann authored
> > I like to see this rename as soon as possible. So if nobody minds I send > > a patch to LKML and ask Linus for inclusion. > > Go ahead, but also please patch all relevant documentation in the > kernel. the attached patch should do the renaming everywhere hid or hid.o was mentioned. It also removes all references to *.o module names.
-
David Brownell authored
Whoops, I missed something. You should apply this patch too. The RNDIS spec license agreement does NOT require tacking any GPL-incompatible restrictions on the results of _using_ the spec: "... may be used solely for the purpose of implementing the RNDIS protocol message set to interface with ..." (the two cases identified in the text) And that's all the implementation does -- end of story.
-
Dave Jones authored
This died a while ago, but lingers on in defconfigs.
-
Andries E. Brouwer authored
datafab.c has an often-seen bug: the SCSI READ_CAPACITY command does not need the number of sectors but the last sector. I just tried the CF and SM parts of a 5-in-1 card reader. The CF part works with US_PR_DATAFAB when the bug mentioned is fixed. The SM part works with US_PR_SDDR55. (Revision Number is 17.08 - that in case the 0000-ffff should prove to be too optimistic.) We still must discuss what setup to use for readers like this - I have several of them - that require different drivers for different LUNs. As it is now one has to compile usb-storage twice, once with CONFIG_USB_STORAGE_DATAFAB defined and once without, and remove one usb-storage.ko and insert the other to go from CF to SM. (And that hangs with 2.6.4 so a reboot is required..)
-
Paulo Marques authored
This patch fixes a bug in ftdi_sio.c where the driver wouldn't unlink the read urb if the user application cleared the HUPCL flag on termios->c_cflag.
-
Andrew Morton authored
drivers/usb/gadget/epautoconf.c: In function `ep_matches': drivers/usb/gadget/epautoconf.c:175: error: `typeof' applied to a bit-field
-
Benjamin Herrenschmidt authored
Oops, there was two different code path affected by this bug (strace and normal) and I fixed only one. Here's the other one:
-
Benjamin Herrenschmidt authored
For the same reason as ppc32, we need to ensure that all stores done on a CPU has reached the coherency domain and are visible to loads done by another CPU when context switching as the same thread may be rescheduled almost right away there.
-
Benjamin Herrenschmidt authored
This updates the ppc32 PCI mmap facility to allow mmap'ing of space outside of the actual devices, using the host bridge resources instead. This allow userland to map things like legacy IO space by either using the bridge device itself, or simply any PCI device on the same bus domain
-
Benjamin Herrenschmidt authored
On ppc32, CONFIG_PREEMPT wasn't settable along with CONFIG_SMP for historical reasons (smp_processor_id() races). Those races have been fixes since then (well, should have been at least) so it's now safe to allow both options.
-
Benjamin Herrenschmidt authored
This fixes a few issues with context switch on ppc32: - Makes sure we properly flush out all stores to the coherency domain when switching out, since the same thread could be switched back in on another CPU right away, those stores must be visible to all other CPUs. - Remove dssall in the assembly calls and do it now once in switch_mm (stop vmx streams). Assume the G5 doesn't need a sync after dssall. - Remove bogus isync in the loop setting the userland segment registers - Do not switch the userland segments when the mm stays the same
-
Benjamin Herrenschmidt authored
enable_kernel_fp is exported both in ppc_ksyms and near it's definition in process.c, remove the former.
-
Benjamin Herrenschmidt authored
Add a warning if enable_kernel_{fp,altivec} is called with preempt enabled since this is always an error, and make sure the alignement exception handler properly disables preempt when doing FP operations.
-
Srivatsa Vaddagiri authored
We don't set the task state to TASK_INTERRUPTIBLE _before_ checking for kthread_should_stop in do_stop.
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-