- 30 Oct, 2002 1 commit
-
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/gregkh-2.5
-
- 29 Oct, 2002 39 commits
-
-
David Brownell authored
This mentions the web page with information about how to use the 'usbtest' driver.
-
David Brownell authored
This is a version of a patch I sent out last Friday to help address some of the "bad entry" errors that some folk were seeing, seemingly only with control requests. The fix is just to not try being clever: remove one TD at a time and patch the ED as if that TD had completed normally, then do the next ... don't try to patch just once in this fault case. (And it nukes some debug info I accidently submitted.) I've gotten preliminary feedback that this helps.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
David Brownell authored
This patch splits up the usb structures to have two structs, "usb_XXX_descriptor" with just the descriptor, and "usb_host_XXX" (or something similar) to wrap it and add the "extra" pointers plus the array of related descriptors that the host parsed during enumeration. (2 or 3 words extra in each"usb_host_XXX".) This further matches the "on the wire" data and enables the gadget drivers to share the same header file. Covers all the linux/drivers/usb/* and linux/sound/usb/* stuff, but not a handful of other drivers (bluetooth, iforce, hisax, irda) that are out of the usb tree and will likely be affected.
-
Randy Dunlap authored
This removes a small thinko (2 of: n = *pos) in kernel/module.c's s_start() function.
-
Alexander Viro authored
Ok, with this simple fix loop builds and loop works no worse than the old shm/loop approach (better - it does boot). However, both 2.4.44+ and this animal have the same and rather odd breakage in loop-over-device. Loop-over-file works fine, but loop over device gives random crap on reads. And no, it's not a problem with underlying device itself - something happens in loop.c. I'm going down right now, so I'll be back in several hours and will try to debug it. Hopefully by the morning I'll have a fix.
-
John Levon authored
This ensures we deal properly with multiple perfctr overflow interrupts under high load.
-
John Levon authored
-
Brian Gerst authored
Make the test for supported GCC options into a macro, and add new checks for -march={winchip-c6,winchip2,c3}.
-
Rusty Russell authored
The new resource interface foolishly replicated the (obsolete, racy) spirit of the check_region call as check_resource. You should use request_resource/release_resource instead.
-
Alexander Viro authored
-
Adam Kropelin authored
Fix an off-by-one error in the simplified SD_MAJOR macro which not only botches up the sd majors but also steals away the major used by my favorite slow-than-dirt SCSI RAID controller: cpqarray. Please, can I have it back?
-
Alexander Viro authored
- add lo->lo_blocksize - kill lo_get_bs() - great name, but... - set ->lo_device only if we do have a block device - pull determination of ->lo_blocksize into both branches - bdev variant gets it from lo_device and file one uses ->i_blocksize. - switched the ioctl getting information about underlying object to lo->lo_device ? stat.rdev : stat.dev - i.e. st_rdev of underlying object if it's a device and st_dev - if it's a file. - reverted the bogosity in shmem.c
-
Neil Brown authored
-
http://gkernel.bkbits.net/misc-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Jeff Garzik authored
-
Jeff Garzik authored
into redhat.com:/home/jgarzik/repo/misc-2.5
-
Andrew Morton authored
Patch from Hugh Dickins Added shmem_readpage and shmem_prepare_write so tmpfs files can be used by the loop driver (together with simple_commit_write). shmem_getpage extended to accept file page passed in, which may have to be copied over from swap page. Use bdget and sb_set_blocksize so loop can see our preferred blocksize PAGE_CACHE_SIZE. Use copy_highpage, removed from highmem.h in 2.4.17: restore it but with kmap_atomics. Restore (a simple) copy_page to asm-sparc64/page.h, which alone of all arches discarded it.
-
Andrew Morton authored
Patch from Hugh Dickins From Matthew Wilcox <willy@debian.org>: shmem_getpage must flush_dcache_page after allocating and clearing a new page.
-
Andrew Morton authored
Patch from Hugh Dickins Checked shmem_file_write against recent filemap source, and against 2.4 and 2.4-ac: folded in missing fixes, mostly related to far file positions. Plus the new kmap_atomic copying technique. But for now, as before, no mark_page_accessed or SetPageReferenced in shmem.c: add those, or whatever, later on when akpm has reviewed usage elsewhere.
-
Andrew Morton authored
Patch from Hugh Dickins Added shmem_file_sendfile to allow sendfile from tmpfs. Checked do_shmem_file_read and shmem_file_read against filemap equivalents to add in any recent fixes (-EINVAL when count < 0 was missing).
-
Andrew Morton authored
Patch from Hugh Dickins Remove obsolete shmem_fs_type: we were in some doubt whether safe yet to do so, then found 2.5.4 typo changed it from 2.4's "shm" to "shmem" ever since: nobody complained, delete it - we're "tmpfs" since 2.4.4. Use libfs' simple_empty and simple_sync_file instead of homegrown. Remove exit_shmem_fs, it fools people that this might be a module. Allow for faint possibility that shm_mnt could not be initialized.
-
Andrew Morton authored
Patch from Hugh Dickins Here I intended a patch to remove the unsatisfactory shmem_recalc_inode (which tries to work out when vmscan has freed undirtied hole pages, to relax its blocks-in-use limit; but can only do so per-inode when it needs to be per-super). I had hoped to use the releasepage method, but it looks like it can't quite be bent to this task, the page might still be rebusied after release. 2.4-ac uses a removepage method dedicated to this, but I'm reluctant to ask for such a minor address_space_operation. So, leave shmem_recalc_inode as is, but avoid the issue as much as possible, by letting shmem_getpage use the empty_zero_page instead of allocating when a hole is read (but this cannot be done when it's being mapped, nowadays the nopage doesn't know if page will be copied or not). Whereupon shmem_getpage(,,,SGP_READ) can do partial trunc's holdpage.
-
Andrew Morton authored
Patch from Hugh Dickins The last set of tmpfs patches left shmem_getpage with an inadequate next_index test to guard against races with truncation. Now remove that check and settle the issue with checks against i_size within shmem_swp_alloc, which needs to know whether reading or writing.
-
Andrew Morton authored
Patch from Hugh Dickins shmem_getpage does need to lock its page (to secure it against shmem_writepage), but it's easier for its callers if it unlocks before returning. The only caller who appeared to be using the page lock was shmem_file_write, but it wasn't actually protecting against anything - i_sem prevents concurrent writes and truncates, and do_shmem_file_read was dropping the lock before copying anyway.
-
Alexander Viro authored
- name_to_kdev_t() turned into name_to_dev_t(), callers updated. - table of names is gone, we use driverfs instead. - root name is converted to dev_t only at prepare_namespace() time - we use to do it in setup and we need it after driver initialization. So setup only stores the root name and leaves the work to prepare_namespace(). - disk names for rd and cm206 changed to match the old behaviour of root= parser: ramdisks have ram<n> in ->disk_name now (instead of rd<n>) and cm206 - cm206cd (instead of cm206).
-
Pavel Machek authored
This uses better constraints that do not go through the register unneccessarily.
-
Pavel Machek authored
Do not oops when no swapfile is available and make it compile on DISCONTIGMEM machines.
-
Brian Gerst authored
This patch does a few cleanups/fixes with __verify_write: - Only compile it when needed. - Move test for KERNEL_DS out of line. - The mmap semaphore is needed to access the vma list. - Use fixmap for the WP test. - Removes an obsolete comment in fixmap.h
-
Brian Gerst authored
It was copied from i386 and is unused.
-
Christoph Hellwig authored
-
Brian Gerst authored
This fixes PTRACE_GETFPREGS to initilize the fpu struct correctly on cpus with fxsr, as well as removing redundant code.
-
Greg Kroah-Hartman authored
-
Josh Myer authored
In ush.h, there's a FIXME for the URB transfer flags. This patch is basically a global search and replace to change those all from USB_ to URB_. It touches a few things that aren't directly USB-related, and so should probably be passed by those authors, but I figured i should put it here to get feedback (ie: "No, moron, you did it all wrong!" or "Oops, that FIXME wasn't supposed to be there") before bothering them.
-