1. 17 Dec, 2002 15 commits
  2. 16 Dec, 2002 25 commits
    • Linus Torvalds's avatar
      Add "sysenter" support on x86, and a "vsyscall" page. · e2a6cbc0
      Linus Torvalds authored
      Instead of doing a "int 0x80" instruction for system calls,
      user space can do a "call 0xfffff000" which will do the right
      thing regardless of what kind of system call support the CPU
      has.
      e2a6cbc0
    • Greg Kroah-Hartman's avatar
      [PATCH] USB: usbserial: Add a short_name field to work better with sysfs. · e5ccffb2
      Greg Kroah-Hartman authored
      This cleans up the bus/usb-serial/drivers/ directory
      e5ccffb2
    • Oliver Neukum's avatar
    • Matthew Dharm's avatar
      [PATCH] usb-storage: fixup interpret_urb_result() · 02a82778
      Matthew Dharm authored
      This patch fixes interpret_urb_result in two major ways:
      (1) Uses a switch() instead of nested if() statements
      (2) Handle -EREMOTEIO to indicate a short scatter-gather transfer
      02a82778
    • Nemosoft Unv.'s avatar
      [PATCH] USB: PWC 8.10 for 2.5.51 · a256185c
      Nemosoft Unv. authored
      Well, two patches in one... These patches will bring the PWC (Philips
      Webcam) driver in both 2.4.20 and 2.5.51 up to version 8.10. Functionally,
      the two branches are the same (about 70% of the code is shared), but the
      differences in kernel architecture are too large to handle with a few
      #ifdefs.
      
      This patch fixes the following (this are only the differences between 8.9
      and 8.10):
      
      * Fixed ID for QuickCam Notebook pro
      * Added GREALSIZE ioctl() call
      * Fixed bug in case PWCX was not loaded and invalid size was set
      a256185c
    • Simon Evans's avatar
      [PATCH] 2.5.51 More typedef removal from usbvideo · f28bef0c
      Simon Evans authored
      This patch against 2.5.51 removes the remaining typedefs from usbvideo
      
      typedef enum { .. } ScanState_t -> enum ScanState
      typedef enum { .. } ParseState_t -> enum ParseState
      typedef enum { .. } FrameState_t -> enum FrameState
      typedef enum { .. } Deinterlace_t -> enum Deinterlace
      typedef struct { .. } usbvideo_t -> struct usbvideo
      f28bef0c
    • David Brownell's avatar
      [PATCH] ehci misc patches · 5c33addf
      David Brownell authored
      small fixes flushed by the hunt for bigger game:
      
      - terminate td lists with dummy, not list end marker
      - use alt_next only for real short control reads
      - un-halt async qhs before scheduling
      - deletes unused debug code, pointless assignments
      - surely nobody ever sees that memleak
      - terminate two related "while" loops the same way
      5c33addf
    • David Brownell's avatar
      [PATCH] usbnet: zaurus, oops, etc · bdd00dbd
      David Brownell authored
      This patch:
      
      - Removes Pavel's Zaurus-private crc32 code; the base patch
         was from Pavel.
      
      - Addresses two issues Toby Milne reported against the Zaurus:
         (a) if skbs had extra framing added (z, net1080, gl620a),
             the original size (now too small) was used on tx;
         (b) added FLAG_FRAMING_Z so rx packets had enough space
      
      - Removes an oops from the driver model conversion (saved
         the wrong pointer).  Disconnecting wasn't healthy.
      
      - Forward-ports some ethtool support from the 2.4 version:
         PDAs are always connected, so report them that way.
      
      - Stubs in some PXA-250 support for non-Zaurus PDAs.
         This is currently commented out; so far those PDAs
         only run Linux for bleeding edge developers.
      
      - Minor cleanups.
      bdd00dbd
    • David Brownell's avatar
      [PATCH] ehci-hcd (2/2): rest of tasklet remove · 24225eaa
      David Brownell authored
      This is the rest of the work to remove the tasklet: the non-syntax
      portions which affect work scheduling.  It's not quite davem's version;
      it's got locking updates, which among other things prevent a hang when
      the timer kicks in.
      
      This scheduling change is split out from the other parts in case more
      problems like that unlink race (fixed in my previous patch) show up.
      It doesn't fix (or help fix) any ehci bugs, but simpler code is fine.
      24225eaa
    • David Brownell's avatar
      [PATCH] ehci-hcd (1/2): portability (2.4), tasklet, · 97c17beb
      David Brownell authored
      This should be innocuous; I expect most folk won't notice anything
      better (or worse) from this patch unless they're using Intel EHCI.
      
      removing tasklet
           - parts of davem's patch (passing pt_regs down)
           - remove 'max_completions'
           - update cleanup after hc died
           - fix an urb unlink oops (null ptr) that happens more often this way
      
      talking to hardware
           - fixes for some short read issues (may still be others)
      	* use qtd->hw_alt_next to stop qh processing after short reads
      	* detect/report short reads differently
           - longer reset timeout (it was excessively short, broke Intel)
      
      other
           - simpler diagnostics portability to 2.4:  wrap dev_err() etc
           - urb unlink wait and non-wait unlink codepaths share most code
           - don't try ehci_stop() in interrupt context (bug from hcd layer)
           - minor stuff, including
      	* some "after hc died" paths were wrong
      	* verbose debug messages compile again
      	* don't break error irq count
      97c17beb
    • Linus Torvalds's avatar
      Merge bk://linux-dj.bkbits.net/agpgart · 4749dedc
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      4749dedc
    • Joe Thornber's avatar
      [PATCH] dm: fix sector calculation · 7db5b0d7
      Joe Thornber authored
      The linear target was getting the start sector wrong when doing a
      dm_get_device(). [Kevin Corry]
      7db5b0d7
    • Joe Thornber's avatar
      [PATCH] dm: bio split fix · d68017fa
      Joe Thornber authored
      The block layer does not honour bio->bi_size when issuing io, instead
      it performs io to the complete bvecs.  This means we have to change
      the bio splitting code slightly.
      
      Given a bio we repeatedly apply one of the following three operations
      until there is no more io left in the bio:
      
      1) The remaining io does not cross an io/target boundary, so just
         create a clone and issue all of the io.
      
      2) There are some bvecs at the start of the bio that are not split by
         a target boundary.  Create a clone for these bvecs only.
      
      3) The first bvec needs splitting, use bio_alloc() to create *two*
         bios, one for the first half of the bvec, the other for the second
         half.  A bvec can never contain more than one boundary.
      d68017fa
    • Joe Thornber's avatar
      [PATCH] dm: fix/simplify endio · bef272c4
      Joe Thornber authored
      o  If there's an error you still need to call bio_endio with bio->bi_size
         as the 'done' param.
      
      o  Simplify clone_endio.
      
      [Kevin Corry]
      bef272c4
    • Joe Thornber's avatar
      [PATCH] dm: remove verbose debug message · 6e7f2b77
      Joe Thornber authored
      Remove verbose debug message 'Splitting page'.
      6e7f2b77
    • Joe Thornber's avatar
      [PATCH] dm: remove highmem paranoia · f231d107
      Joe Thornber authored
      Remove some paranoia in highmem.c
      f231d107
    • Joe Thornber's avatar
      [PATCH] dm: fix bio duplication · 6e250403
      Joe Thornber authored
      Some fields in the duplicated bio weren't being set up properly in
      __split_page(). [Kevin Corry]
      6e250403
    • Joe Thornber's avatar
      [PATCH] dm: fix md->pending count · 41dbbb6e
      Joe Thornber authored
      md->pending was being incremented for each clone rather than just
      once. [Kevin Corry]
      41dbbb6e
    • Joe Thornber's avatar
      [PATCH] dm: avoid unnecessary locking · 2766fd78
      Joe Thornber authored
      dec_pending(): only bother spin locking if io->error is going to be
      updated. [Kevin Corry]
      2766fd78
    • Joe Thornber's avatar
      [PATCH] dm: flush pending IO before dm_suspend · a387dbb5
      Joe Thornber authored
      Add a blk_run_queues() call to encourage pending io to flush
      when we're doing a dm_suspend().
      a387dbb5
    • Joe Thornber's avatar
      [PATCH] dm: dm_suspend locking fix · 7be5382e
      Joe Thornber authored
      dm_suspend(): Stop holding the read lock around the while loop that
      waits for pending io to complete.
      7be5382e
    • Joe Thornber's avatar
      [PATCH] dm: check correct flag in queue_io() · 121fd6eb
      Joe Thornber authored
      queue_io() was checking the DMF_SUSPENDED flag rather than the new
      DMF_BLOCK_IO flag.  This meant suspend could deadlock under load.
      121fd6eb
    • Joe Thornber's avatar
      [PATCH] dm: per-device mempools · b4b88675
      Joe Thornber authored
      Give each device its own io mempool to avoid a potential
      deadlock with stacked devices.  [HM + EJT]
      b4b88675
    • Joe Thornber's avatar
      [PATCH] dm: stripe constructor validity check · 16f89b1d
      Joe Thornber authored
      There's a bug in the dm-stripe.c constructor failing top check if enough
      destinations are handed in. [Heinz Mauelshagen]
      16f89b1d
    • Joe Thornber's avatar
      [PATCH] dm: check chunksize before allocation · 9c11c61b
      Joe Thornber authored
      minor change for dm-stripe.c. Tests for correct chunksize before it allocates
      the stripe context. [Heinz Mauelshagen]
      9c11c61b