- 10 Apr, 2002 2 commits
-
-
Johannes Erdfelt authored
On Mon, Apr 08, 2002, Oliver Neukum <oliver@neukum.org> wrote: > using sleep_on is a race. The attached patch replaces it with the > new wait_event macro from sched.h. The patch is against the 2.5 > from Greg. Greg, I've tested this against 2.4.19-pre6 as well and the attached patch is relative to that. Please apply. Thank Oliver!
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
- 09 Apr, 2002 12 commits
-
-
Robert Love authored
This patch implements the following calls to set and retrieve a task's CPU affinity: int sched_setaffinity(pid_t pid, unsigned int len, unsigned long *new_mask_ptr) int ched_getaffinity(pid_t pid, unsigned int len, unsigned long *user_mask_ptr)
-
Linus Torvalds authored
-
Alexander Viro authored
a) part of open_namei() done after we'd found vfsmount/dentry of the object we want to open had been split into a helper - may_open(). b) do_open() in fs/nfsctl.c didn't do any permission checks on the nfsd file it was opening - sudden idiocy attack on my part (I missed the fact that dentry_open() doesn't do permission checks - open_namei() does). Fixed by adding obvious may_open() calls.
-
Rusty Russell authored
As per David Mosberger's request, splits into per-arch files (solves the #include mess), and fixes my "was not an lvalue" bug.
-
Linus Torvalds authored
Cosmetic change: x86_capability. Makes it an unsigned long, and removes the gratuitous & operators (it is already an array). These produce warnings when set_bit() etc. takes an unsigned long * instead of a void *. Originally from Rusty Russell
-
Petko Manolov authored
This one is fixing the problems Oliver spoted. Namely: - double free in probe(); - Rx skb pool resolves the issue with OOM condition in read_bulk_callback() which potentially kills the Rx path;
-
David Brownell authored
USB GeneLink/NDIS tweaks This patch, from Oliver, discards slightly less data in cases where memory is very tight. The GeneLink framing can batch several packets in one transmission, so it's always possible to at least report the last one, since it's already sitting in an SKB and we won't need a new one. Random note, this seems to be the same issue I saw mentioned somewhere else recently: MSFT host drivers with high latency for submitting bulk packets, so rather than just queuing them as they arrive, it turns out to be a win on the MSFT side to batch packets.
-
David Brownell authored
USB net drivers, ethtool bus_info This patch makes the USB network drivers that have ethtool support expose only those stable IDs ... no more references to unstable values like dev->bus->busnum (changes depending on order of modprobe) or dev->devnum (assigned not quite randomly during enumeration :). This supports more intelligent policies for user mode tools, such as "always assign this address to the device on that port", as well as making troubleshooting more practical when there are multiple devices (of a given type) present ... you can tell which is which.
-
David Brownell authored
This provides something that gets discussed regularly: stable device IDs. Straightforward; most of it was already present: - Moves "bus_name" out of HCD framework into usb_bus. This accounts for _by far the bulk_ of this patch, since every use of that original field needed to change. - Make Vojtech's usb_make_path() use bus_name instead of unstable bus numbers ... and usb_device->devpath instead of recomputing that same info. Combine two stable IDs, and the result is still stable. And since both are precomputed, usb_make_path() turns into only an error check wrapped around snprintf() ... so I inlined it. - Minor tweak to usb_device->devpath construction. It still uses "/" for the root hub (better suggestions?) but Vojtech wanted "." for separators, so I changed that. - The older HCDs (uhci.c etc) initialize usb_bus.bus_name, as well as the sharable HCD framework - HCD framework no longer uses "bus" member. These IDs are currently exposed in "input" hotplugging, and my next patch addresses that for USB network devices.
-
Greg Kroah-Hartman authored
-
Linus Torvalds authored
-
Linus Torvalds authored
-
- 10 Apr, 2002 1 commit
-
-
Wim Van Sebroeck authored
i810_rng: add support for other i8xx chipsets to the Random Number Generator module. This is being done by adding the detection of the 82801BA(M) and 82801CA(M) I/O Controller Hub's.
-
- 09 Apr, 2002 4 commits
-
-
Martin Dalecki authored
- Eliminate the mate member of the ata_channel structure. The information provided by it is already present. This patch may have undesirable effects on the ns87415.c and trm290.c host chip drivers, but it's worth for structural reasons to have it. - Kill unused code, which was "fixing" interrupt routing from ide-pci.c Don't pass any "mate" between the functions there. - Don't define SUPPORT_VLB_SYNC unconditionally in ide-taskfile.c - Apply Vojtech Pavliks fix for piix host-chip driver crashes. - Add linux/types.h to ide-pnp.c. - Apply latest sis5513 host chip driver patch from by Lionel Bouton by hand. - Apply patch by Paul Macerras for power-mac. - Try to make the ns87415 driver a bit more reentrant.
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Greg Kroah-Hartman authored
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 08 Apr, 2002 14 commits
-
-
Greg Kroah-Hartman authored
cleaned up the comments to put them in proper docbook format.
-
David Brownell authored
sanity checking and cleanup on device disconnect. - Splits apart usb_dec_dev_use(), for driver use, and usb_free_dev(), for hub/hcd use. Both now have kerneldoc, and will BUG() if the refcount and the device tree get out of sync. (Except for cleanup of root hub init errors, refcount must go to zero only at the instant disconnect processing completes.) - More usbcore-internal function declarations are now moved out of <linux/usb.h> into hcd.h - Driver-accessible refcounting is now inlined; minor code shrinkage, it's using atomic inc/dec instructions not function calls. <note from greg k-h, there is still some work to be done with USB device reference counting, but this patch is a step in the right direction.>
-
David Brownell authored
This fixes some kerneldoc bugs for USB. It catches up with the recent rename, and includes a couple minor tweaks/fixes I happened to notice.
-
Richard Gooch authored
- Documentation updates - BKL removal (devfs doesn't need the BKL) - Changed <devfs_rmdir> to allow later additions if not yet empty - Added calls to <devfs_register_partitions> in drivers/block/blkpc.c <add_partition> and <del_partition> - Bug fixes in unique number and devnum allocators.
-
Brian Gerst authored
This patch moves the generation of the asm interrupt entry stubs from i8259.c to entry.S. This allows it to be done with less code and without needing duplicate definitions of SAVE_ALL, GET_CURRENT, etc.
-
Andries E. Brouwer authored
It is a step on the road to removal of the arrays. It also solves other things, like the fact that Linux is unable to read the last sector of a disk or partition with an odd number of sectors.
-
Anton Blanchard authored
Unfortunately the proc filesystem has a limit on the number of dynamic proc entries it can create. On large systems we can exhaust the default (4096) very quickly. The following patch increases the default to something more reasonable.
-
Anton Blanchard authored
We forgot to include linux/init.h in fs/nfsd/nfsctl.c.
-
Anton Blanchard authored
Since we do not set the task state to TASK_INTERRUPTIBLE, we busy loop. On larger SMP this can actually result in a lockup due to the way migration thread initalisation is done (nr_cpus threads are created and they all busy loop until the scheduler evenly distributes them, one on each cpu. With this rogue thread busy looping things can become unbalanced and the migration threads never distribute themselves onto all cpus).
-
Anton Blanchard authored
include/linux/seq_file.h uses memcpy and struct semaphore and so should include the relevant files.
-
Greg Kroah-Hartman authored
renamed the bluetooth.c file to bluettty.c to help prevent user confusion between this driver and the bluez bluetooth stack in the kernel.
-
Dan Streetman authored
This was originally created by David many months ago and posted to the list, but not put into the kernel. I modified the original patch to: -patch against the 2.5.7 kernel -use the 'real' interface number, not position (to do this I added 2 methods in usb.c)
-
Chris Hanson authored
Here is an updated patch using kmalloc that removes the page limit on bulk transfers in usbfs. I've tested it and it seems to work OK.
-
Linus Torvalds authored
-
- 09 Apr, 2002 1 commit
-
-
Anton Blanchard authored
(eg ppc64) where foo points to a function descriptor and .foo is the address of the actual function.
-
- 08 Apr, 2002 1 commit
-
-
Linus Torvalds authored
-
- 09 Apr, 2002 5 commits
-
-
Anton Blanchard authored
optimisations on some architectures.
-
Anton Blanchard authored
ppc64: remove local_flush_* functions, just define them directly
-
Anton Blanchard authored
-
Anton Blanchard authored
-
Anton Blanchard authored
-