- 21 Aug, 2002 9 commits
-
-
Greg Kroah-Hartman authored
Patch originally from Richard Purdie <rpurdie@rpsys.net> but tweaked by me.
-
Brian Beattie authored
-
Simon Evans authored
This patch replaces static const char proc[] = <function name> with __FUNCTION__
-
Matthew Dharm authored
Based on my discussions with Pete Zaitcev <zaitcev@redhat.com>, I'm convinced that globally re-writing the START_STOP command into a TEST_UNIT_READY command is a good idea. This is supported by the fact that: (1) Lots of devices don't support START_STOP (2) Those that do support it often don't do a good job (3) Win/Mac will never send these commands over a USB bus So, here's a patch that re-writes them into Test Unit Ready commands. It seems to work on my system, but needs more testing. There may be a problem with this code still.... it seems that the SCSI layer can get convinced that the unit is not ready permanently. I'm honestly not certain what bit of code is wrong where, so reports from others would be greatly appreciated.
-
Matthew Dharm authored
Apparently, some new 2.5 scsi code tries to get the vital product data pages using the INQUIRY command. Unfortunately, most USB devices do not support this. The following patch intercepts all EVPD requests and responds with the per-spec response of "Illegal Request: Invalid field in CDB".
-
Simon Evans authored
This patch uses the setVideoMode callback in usbvideo to allow the VIDIOCSWIN ioctl() to set the size and speed of the camera.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
Ported it from 2.4, any breakage is my fault :)
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
- 20 Aug, 2002 9 commits
-
-
Linus Torvalds authored
but some files still did (and got the wrong results on UP). Since they didn't actually _use_ the BKL anyway, remove the include.
-
Linus Torvalds authored
since it was generic. Remove all architecture-specific <asm/smplock.h> files.
-
Trond Myklebust authored
- Use req->rq_received to determine the message length instead of assuming that it goes to the end of the page. - If the server returned an illegal record so that we cannot make progress by retrying the request on a fresh page, truncate the entire listing and return a syslog error.
-
Trond Myklebust authored
- Fix the check for whether or not the received message length has somehow been truncated: we need to use req->rq_received rather than the receive buffer length (req->rq_rlen). - Ensure that we set res->eof correctly. In particular, we need to clear it if we find ourselves attempting to recover from a truncated READ. - Don't set PageUptodate() on those pages that are the victim of message truncation.
-
Robert Love authored
- cleanup #defines: I do not follow the rationale behind the odd line-wrapped defines at the beginning of the file. If we have to use multiple lines, then we might as well do so cleanly and according to normal practice... - Remove a level of indirection: do not have spin_lock_foo use spin_lock - just explicitly call what is needed. - we do not need to define the spin_lock functions twice, once for CONFIG_PREEMPT and once for !CONFIG_PREEMPT. Defining them once with the preempt macros will optimize away fine. - cleanup preempt.h too - other misc. cleanup, improved comments, reordering, etc.
-
Ingo Molnar authored
This fixes the ptrace wait4() anomaly that can be observed in any previous Linux kernel i could get my hands at. If the parent still has other children (that are being traced by somebody), we wait for them or return immediately without an error in case of WNOHANG.
-
Dave Jones authored
Finally, this chunk removes the references to the UFS & ROMFS entries in struct superblock, leaving just ext3 and hpfs as the only remaining fs's to be fixed up.
-
Dave Jones authored
This one from Brian Gerst seperates UFS from the struct superblock union.
-
Dave Jones authored
This patch from Christoph Hellwig divorces ROMFS from the struct superblock union, as has been done to various other filesystems during 2.5
-
- 19 Aug, 2002 7 commits
-
-
Andrew Morton authored
try_to_unmap() dies if the to-be-unmapped page has a non-NULL ->mapping. But the preceding logic in shrink_cache() forgot about the rarely-occurring pages which have buffers and no ->mapping.
-
Andrew Morton authored
I have a test_and_set_bit(PG_chainlock, page->flags) in page reclaim. Which works fine on SMP. But on uniprocessor, we made pte_chain_unlock() a no-op, so all pages end up with PG_chainlock set. refill_inactive() cannot move any pages onto the inactive list and the machine dies. The patch removes the test_and_set_bit optimisation in there and just uses pte_chain_lock(). If we want that (dubious) optimisation back then let's do it right and create pte_chain_trylock().
-
Andrew Morton authored
__page_cache_release() needs to recheck the page count inside the LRU lock, because shrink_cache() may have found the page on the LRU and incremented its refcount again. Which is carefully documented over __pagevec_release(). Duh.
-
Dave Hansen authored
-
Dave Hansen authored
Here's a patch from Andrea's tree that uses IRQ_BALANCE_INTERVAL to define how often interrupts are balanced, staying independent from HZ. It also makes sure that there _is_ a change to the configuration before it actually writes it. It reminds me of the mod_timer optimization.
-
Linus Torvalds authored
-
Ingo Molnar authored
the attached patch updates a number of items: - adds cleanups suggested by Christoph Hellwig: needed unlikely() statements, a superfluous #define and line length problems. - splits up the global ptrace list into per-task ptrace lists. This was pretty straightforward, and this makes the worst-case exit() latency O(nr_children). the per-task ptrace lists unearthed a bug that the previous code did not take care of: tasks on the ptrace list have to be correctly reparented as well. This patch passed my stresstests as well.
-
- 18 Aug, 2002 5 commits
-
-
Greg Kroah-Hartman authored
-
Simon Evans authored
This patch adds a callback for VIDIOCSWIN ioctl to usbvideo so the webcam miniport drivers can implement handling for the ioctl. It also makes VIDIOCGWIN return the frame size for the current mode rather than the canvas size. For current drivers uvd->canvas == uvd->videosize since the frame size is set when the module is loaded.
-
Matthew Dharm authored
Whoops! Accidentally introduced a typo. This patch should fix the typo... it's designed to apply after the last one.
-
Matthew Dharm authored
This should be the final patch to make the abort mechanisms work properly.
-
David Brownell authored
Another cleanup patch: - removes more usbcore-internal symbols from sight of device drivers * some are only for the uhci driver * most are shared just a bit more widely - DEVNUM_ROUND_ROBIN is no longer an internal option - usb_root_hub_string() gone, per the FIXME - various kerneldoc fixes and updates - uses legal value (en-us) for root hub strings - hub driver only shows port fixed/removable for compound devices
-
- 17 Aug, 2002 6 commits
-
-
Ganesh Varadarajan authored
this fixes HP's vendor ID in ipaq.h
-
Simon Evans authored
This patch presents the snapshot button on the camera as an event input device.
-
Simon Evans authored
This patch against 2.5.31 cleans up the RingQueue_* functions - make the buffer length be a power of 2 to speed up index manipulation - make RingQueue_Dequeue use memcpy() rather than a byte by byte copy - make RingQueue_Enqueue use memcpy() instead of memmove() as the memory regions do not overlap - Add RingQueue_Flush() and RingQueue_GetFreeSpace() - make RingQueue_GetLength() an inline
-
Ingo Molnar authored
oh, setup.S. nasty indeed, bogus GDT limit.
-
Ingo Molnar authored
This updates the CLONE_CLEARTID case to use futexes to make it easier to wait for a thread exit. glibc/pthreads had been updated to use the TID-futex, this removes an extra system-call and it also simplifies the pthread_join() code. The pthreads testcode works just fine with the new kernel and does not work with a kernel that does not do the futex wakeup, so it's working fine.
-
Linus Torvalds authored
and the call trace instead.
-
- 16 Aug, 2002 4 commits
-
-
Petr Vandrovec authored
This is the second part of "broken cfb* support in the 2.5.31-bk". I needed fbcon-cfb2 on one of my systems, and so I went through all fbcon-* drivers and fixed them. line_length, type, type_aux and visual were moved from display to fb_info in last James Simmon's fbdev update. Unfortunately lowlevel support modules were not updated.
-
bk://matroxfb.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andrew Morton authored
I want to find a way to get all those PageReserved tests out of there, because they are very expensive. But now is not the time.
-
Petr Vandrovec authored
Make sure that the VC tty pointer is cleared when the tty is free'd.
-