- 08 Jan, 2003 7 commits
-
-
Neil Turton authored
I got a PL2303 USB serial converter a few days ago, and got your driver up and running fairly quickly. The problem is that I got an oops when I rmmod-ed the drivers. The pl2303 uses two interfaces but registers only the second (technically wrong, I guess, but should work). When pl2303.o is removed, it attempts to deregister the first interface (which has no effect), so the second interface remains registered with usbserial. The old struct serial still points at the removed pl2303 driver so things go pop when anything touches it. I think the PL2303 hack in usb_serial_probe should not change the "interface" variable, which gets stored in serial->interface, since usbcore will register whatever "ifnum" says. I think that's enough waffle. The patch is below. Keep up the good work!
-
Henning Meier-Geinitz authored
Hi, On Wed, Jan 08, 2003 at 08:29:36AM -0800, Greg KH wrote: > On Tue, Dec 24, 2002 at 05:44:55PM +0100, Henning Meier-Geinitz wrote: > > Hi, > > > > On Tue, Dec 24, 2002 at 12:40:06AM +0100, Oliver Neukum wrote: > > > > > > > Well, the reason I didn't use one was that I didn't found one in > > > > usb.h/usb_ch9.h for 16. It's also not listed on www.usb.org. > > > > > > > > lsusb calls it "Data". However, I'm not sure if this is a hex/dec > > > > error and they really mean "Data" = dec 10, not 0x10 (=dec 16). > > > > > > > > Shall I define a local symbolic name (e.g. > > > > STRANGE_HP_SCANJET_INTERFACE_CLASS)? But I really don't know what this > > > > class is. I only know that it's used by a Hewlett-Packard ScanJet > > > > 3300c and Genius HR6 USB - Vivid III. > > > > > > Better that than a bare number. > > > > Patch attached. > > Applied to my 2.4 tree, sorry for the delay. Here is the same for 2.5.44:
-
Duncan Sands authored
speedtouch and friends: add GPL notices (yes, the module was released by Alcatel under the GPL) and fix some typos.
-
Duncan Sands authored
speedtouch: remove udsl_version in favour of DRIVER_VERSION (which it duplicated).
-
Duncan Sands authored
speedtouch: add __init and __exit to the module init/exit routines.
-
Duncan Sands authored
atmsar is not a module in its own right, it is an auxiliary library for speedtouch. So remove module code from atmsar and build module speedtch from speedtouch and atmsar. Note the module name change speedtouch -> speedtch (speedtch is the name used for the original 2.4 module, and is the name used in the online documentation).
-
Henning Meier-Geinitz authored
This patch makes endpoint detection more generic. Basically, only one bulk-in endpoint is required, everything else is optional. The patch is on top of the PV8630 removal patch.
-
- 07 Jan, 2003 33 commits
-
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/gregkh-2.5
-
Anton Blanchard authored
Add a missing inline, shows up when modules are turned off.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
This is only used by pci hotplug and cardbus systems.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
This is needed for drivers that want to use the driver_info field.
-
Henning Meier-Geinitz authored
This patch removes the inofficial ioctls that were used to support the PV8630 USB-over-Parport chipset. They were alreaded ifdefed out. Instead of them, the more generic (and official) SCANNER_IOCTL_CTRLMSG should be used. The last software that used the old ioctl (sane-hp4200) switched to the new ioctls a long time ago. This patch is ontop of the "user-supplied" patch.
-
Pablo Menichini authored
-
Henning Meier-Geinitz authored
With this patch, information about user-supplied ids is printed only once at startup instead of everytime any USB device is plugged in. The patch is on top of the new ids patch.
-
Henning Meier-Geinitz authored
This patch adds vendor/product ids for two Visioneer scanners. The patch is on top of the ioctl patch.
-
Henning Meier-Geinitz authored
This patch removes the link in Kconfig to Documentation/usb/scanner-hp-sane.txt which was removed by the documentation update.
-
Henning Meier-Geinitz authored
This patch updates the documentation for the USB scanner driver. The details: Documentation/usb/scanner.txt: - Amended for linux-2.5.54 - Added information about read_timeout - Added more details about /proc/bus/usb/devices - Added/updated links - Added pointers two "special" scanner drivers - Reordering, spell-checking, formatting - Used /dev/usb/scanner[0-15] instead of /dev/usbscanner[0-15] - Removed some basic USB configuration stuff - Added EHCI - Removed some more references to HP Documentation/usb/scanner-hp-sane.txt: Removed completely. This was a very outdated text for some HP scanners. All of this is explained in the documentation of the user-space SANE tools. Links and a short explanation about SANE was added to scanner.txt instead. This is the (slightly adapted) patch you already apllied for 2.4.
-
Henning Meier-Geinitz authored
This patch adds locking to ioctl_scanner() which was completely lacking until now. The patch is originally from Oliver Neukum <oliver@neukum.name>. The patch was forward-ported from 2.4.
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
This was suggested by many people, Randy Dunlap being the most vocal :)
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.5
-
Ravikiran G. Thirumalai authored
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.5
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Martin J. Bligh authored
OK, the grand finale ... NUMA-Q is now moved into subarch, so we can kill off the last vestiges - CONFIG_CLUSTERED_APIC, clustered_apic_mode, and smpboot.h (which only contains machine specific stuff now anyway). the esr_disable switch was the last bit, that goes to subarch too. If you end up with an empty smpboot.h due to patch / bitkeeper interactions, please remove it after this ...
-
Martin J. Bligh authored
This removes clustered_apic_mode from smpboot.c into subarch, creating a headerfile "mach_wakecpu" for all the cpu wakeup stuff. This is pretty much the last of clustered_apic_mode ... ;-)
-
Martin J. Bligh authored
To be honest, I have no idea what I was smoking when I wrote this originally, and it's kind of coincidental that it works at all currently. We never use physical apicids after the cpus are all booted, so we should just store the logical IDs which all subsequent things use. The only things that were using the apicid->cpu mapping were hokey anyway, and it's hard to maintain for machines that have a large apic addressing space (eg P4s in clustered mode). Rips out everything except the mapping from logical_apic_id -> cpu.
-
Martin J. Bligh authored
Moves check_phys_apicid_present() into subarch, and cleans up a couple of stupid errors, and some bracketing issues in the macros.
-
Martin J. Bligh authored
Patch from James Cleverdon Changes do_boot_cpu to return an error code, instead of trying to work it out later by magic and voodoo. Removes the other usage of apicid->cpu which is hard to maintain cleanly.
-
Martin J. Bligh authored
Patch originally by Matt Dobson. Reworked a little by me. Stores the mappings between cpus and nodes in an array, instead of working them out every time. Gives about 4% off systime for kernel compile (we use these for every page allocation), and removes one of the two only usages of apicid->cpu mapping, which is really awkward to keep for systems with large apic spaces, and is genererally pretty useless anyway (later patch removes).
-
Martin J. Bligh authored
Create a generalised apicid_to_node mapping, replacing the local apicid_to_quad I had just locally in NUMA-Q subarch before.
-
http://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Dave Kleikamp authored
This simply uses generic_file_aio_read and generic_file_aio_write
-