- 14 Jun, 2002 4 commits
-
-
Greg Kroah-Hartman authored
- moved the firmware download to probe() time
-
Greg Kroah-Hartman authored
- added calc_num_ports() ability to determine the number of actual ports the device has on the fly. This should help out with some of the Palm and Sony devices.
-
Greg Kroah-Hartman authored
- added calc_num_ports() callback so that driver can override the fixed num_ports value after querying the device. - split startup() callback into probe() and attach() in anticipation of the driverfs api changes - probe() is called before the usb_serial structure is set up, and can be used to download firmware to a device, and other early initialization. - attach() is called after the usb_serial structure is completely setup, allowing the device to create private structures, and have full access to the device.
-
Takashi Iwai authored
during debugging ALSA's usb audio driver, it's found out that there are devices with insuccessive alternate settings. for example, m-audio's quattro usb audio has audio streaming descriptors jumping from altset 0 to 4 or 3. apparently, usb_set_interface() sends the array index instead of the actual altset value. the attached patch fixes this behavior.
-
- 13 Jun, 2002 3 commits
-
-
Flavien Lebarbé authored
ioctl(LPGETSTATUS) is known to put the status into an int. The usblp driver has a problem in this area as it does not put it into an int but into a char. Let's see : from drivers/char/lp.c : lp_ioctl : int status copy_to_user((int *) arg, &status, sizeof(int)) from drivers/usb/printer.c : usblp_ioctl : unsigned char status; copy_to_user ((unsigned char *)arg, &status, 1) Even though in most cases it can work unnoticed on little-endian machines ;o), it's broken on non-little-endian machines (I got bitten on PPC).
-
Oliver Neukum authored
this saves memory by making the buffer for firmware temporary.
-
David Brownell authored
Here's a followup patch, should apply on top of what I sent this morning ... please do so! (Sorry, same name but the patch is different.) Along with some cleanups, this actually restores a line that was dropped somewhere in 2.5 ... basically, at least SiS and OPTi violate the OHCI spec so they don't init "by the book".
-
- 12 Jun, 2002 2 commits
-
-
Greg Kroah-Hartman authored
removed __devinitdata and __devinit on structures and functions that should not have them. Thanks to Tom Rini for pointing this out.
-
David Brownell authored
I tracked down some of those "can't enumerate" problems to a chip init problem. This patch detects and reports that case (better than the current nasty failure mode, and worth keeping even after we have a fix that works on OPTi/SiS/...) as well as doing some other minor cleanup.
-
- 11 Jun, 2002 31 commits
-
-
Peter Chubb authored
This patch fixes the Compaq WL210 problems I've been having. The symptoms were that no interupts were ever received from the card; the BIOS reported it had assigned INTA to IRQ 10; but the yenta driver reported IRQ 17. The fix is not to rely on the BIOS's initialisation of interrupt routing in the TI1410, but to do it explicitly. This may break laptops that actually use the parallel ISA IRQ mechanism.
-
Linus Torvalds authored
on non-x86 architectures)
-
Linus Torvalds authored
in structures and unions (and why not other variables too..)
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Andi Kleen authored
Many old ISA drivers are not 64bit clean. To avoid dealing with them on x86-64 I guarded them with CONFIG_ISA. This is also helpful for other archs (including modern x86) that do not have ISA slots anymore. The patch has been reviewed by Linux-Kernel, with some additional cleanups by me. It misses some directories like ISDN or sound drivers.
-
Andi Kleen authored
This fixes a potential security issue on i386. FXRSTOR raises an #GP when the MXCSR field in the FXSAVE frame contains illegal values. By putting an signal frame just at a border to an unmapped page a malicious user could potentially cause an exception in the context switch using this. When the EFAULT occurs in the last bytes of the signal frame the MXCSR check would be skipped in the old code, but the rogue value would be already in task_struct, causing problems later. Here is the minimal fix for this. Originally discovered by Andrea while doing x86-64 work. It was fixed in a different way a bit more intrusive way on x86-64 - all FXRSTOR in the kernel are guarded by exception handlers.
-
Andi Kleen authored
It's nearly impossible to get the correct CPU names for AMD CPUs in the MP table (would need BIOS calls etc.). The decoding of CPU names form the mptable doesn't look too useful anyways, because the correct CPU name from CPUID is printed only a few lines later. This patch just removes the name table and replaces it with a printout of the hex value. This mirrors a change in x86-64
-
Andi Kleen authored
Remove myself as networking maintainer. I haven't done much for networking for a long time and it doesn't look likely it'll change anytime soon. Also David/Alexey are doing a fine job without me.
-
Andi Kleen authored
Here is the big 2.5.21 x86-64 sync patch. It only touches arch/x86_64 and include/asm-x86_64. It requires a few other changes that I'm sending in separate mail. Changes: - merge wit 2.5.21 - merge from 2.5.21/i386 (new PCI code, new LDT code etc.) - sync with 2.4-x86_64 tree. - minor updates to 32bit emulation - better early console; including serial support. - now set up dummy PDA for booting to avoid problems - Fix GS reloading in context switch one instruction race - Remove hardcoded names from mpparse code - Fix inline assembly for RAID-5 xor (similar change needed for i386) - Real per cpu data support based on PDA field - Cleanup of offset.c generation requested by Kai: it only puts structure offsets into offset.h now. - Fix i387 fxsave signal frame problems. - Add uname emulation via personality ("linux32") - New SSE optimized checksum-copy, copy*user, memcpy, clear_page, copy_page functions. Other tunings/cleanups in checksum and other user memory access function. - check if exception table is really sorted - Cleanups in page table handling in preparation of non executable pages support. - Cleanup PDA access to not require offset.h (thanks to kai for kicking me to this) - use long long for u64/s64 to avoid more warnings - remove CONFIG_ISA - fix various bugs and other cleanups
-
Linus Torvalds authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Ingo Molnar authored
-
Ingo Molnar authored
-
Ingo Molnar authored
enable/disable preemption to not spend too much time with preemption disabled. wait_task_inactive() can take quite some time occasionally ...
-
Ingo Molnar authored
set p->thread_info->cpu directly if the task is not running and is not on any runqueue.
-
Ingo Molnar authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Brad Heilbrun authored
Recent header cleanup broke this driver. Needs #include <linux/init.h>
-
Andy Grover authored
ACPI interpreter update Change non-interpreter code to account for the interpreter changes.
-
Andy Grover authored
This update gets things compiling again after a device model change.
-
Andy Grover authored
This adds preliminary support for _TRA resource on PCI root bridges (Bjorn Helgaas)
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Alexander Viro authored
end_request(int) turned to end_request(req, int); all old callers are converted to end_request(CURRENT, value). Now we can start killing CURRENT/QUEUE - end_request() was the last obstacle to that.
-
Alexander Viro authored
ditto for DEVICE_INTR/CLEAR_INTR. do_mfm/do_acsi/do_hd/... are explicitly declared in the drivers that use DEVICE_INTR stuff; DEVICE_INTR/CLEAR_INTR is gone from blk.h.
-
Alexander Viro authored
#define DEVICE_NAME ... removed from the drivers that never use that macro.
-
Alexander Viro authored
monstrous cascade of #ifdefs is gone from blk.h. This is the first step of cleanup - we move #define in question into the code that includes blk.h (i.e. DEVICE_NR, DEVICE_NAME and DEVICE_INTR are explicitly set by drivers).
-