1. 13 Oct, 2002 7 commits
    • Matthew Dharm's avatar
      [PATCH] usb-storage: convert to common transfer functions · e391d5f6
      Matthew Dharm authored
      This patch makes all sub-drivers use the same data-moving functions.  It
      also eliminates the duplicate functions from raw_bulk.c
      e391d5f6
    • Matthew Dharm's avatar
      [PATCH] usb-storage: generalize transfer functions · 2167f96c
      Matthew Dharm authored
      This patch generalizes the transfer functions.  This is in preparation for
      consolidating all sub-drivers to use a common set of functions.
      
      Oh, and this patch makes the residue field be initialized.  Making this the
      correct value is still on the TODO list.
      2167f96c
    • Matthew Dharm's avatar
      [PATCH] usb-storage: cache pipe values · 3f3279aa
      Matthew Dharm authored
      This patch to usb-storage makes all pipe values used by the driver an
      unsigned int (like they should be), and caches them in the device data
      structure.
      3f3279aa
    • Greg Kroah-Hartman's avatar
      [PATCH] USB: fix up previous pl2303 fix. · 781aa5f1
      Greg Kroah-Hartman authored
      This returns the proper value, and fixes a memory leak.
      781aa5f1
    • Barry K. Nathan's avatar
      [PATCH] USB: 2.5.42 partial fix for older pl2303 · 4972af26
      Barry K. Nathan authored
      On Sat, Oct 12, 2002 at 06:16:44PM -0700, Greg KH wrote:
      > Now, would you mind taking a look at 2.5, and fixing this there too? :)
      
      Here's a half-successful attempt. With this patch, the device no longer
      appears twice, and it always works on the first open (at least, so I've
      observed up to this point). The open following a successful open usually
      fails (roughly speaking, it appears to play dead), and the open following
      a failed open usually (always?) succeeds.
      
      So, on my PL-2303, it's not perfect but it's certainly livable.
      
      This patch is based on the one I did for 2.4, and in fact, this code
      functions when it's plugged into 2.4.20-pre10 instead of 2.5.42. In that
      scenario, the opens work 100% of the time.
      
      I'd be interested in suggestions or comments regarding this patch.
      Anyone who has a PL-2303 working under 2.5 might want to try this patch
      just to make sure it doesn't kill their working setup.
      
      -Barry K. Nathan <barryn@pobox.com>
      4972af26
    • Greg Kroah-Hartman's avatar
    • Joe Burks's avatar
      [PATCH] USB: Vicam driver update/rewrite · f83d142d
      Joe Burks authored
      Updates the vicam driver to the latest version from the sourceforge.net
      project.
      
      
      Binary files linux-2.5.41/drivers/usb/media/.usbvideo.c.swp and
      linux-2.5.41-vicam/drivers/usb/media/.usbvideo.c.swp differ
      diff -urN linux-2.5.41/drivers/usb/media/Makefile
      linux-2.5.41-vicam/drivers/usb/media/Makefile
      f83d142d
  2. 11 Oct, 2002 31 commits
    • Adam J. Richter's avatar
      [PATCH] linux-2.5.41/drivers/usb/core/hub.c called down() from interrupt context · 0c9fd8bb
      Adam J. Richter authored
      	On second thought after reading Oliver Neukum's question about
      "shaving off a cycle or two", here is version of my fix for down()
      being called from interrupt context that uses unlikely() to get the
      speed advantage that would be available from BUG_ON(), while still
      ensuring that the condition is executed even if assertions are
      compiled out.
      0c9fd8bb
    • William Lee Irwin III's avatar
      [PATCH] remove unused variable in wacom driver · 69a47015
      William Lee Irwin III authored
      wacom.c generates the following warning:
      
      drivers/usb/input/wacom.c: In function `wacom_probe':
      drivers/usb/input/wacom.c:405: warning: unused variable `rep_data'
      69a47015
    • Dan Streetman's avatar
      [PATCH] fix usbfs mount count · b41cd6f0
      Dan Streetman authored
      Hi, this patch fixes usbfs.  You can't use a single mount_count for 2
      different mounts.
      b41cd6f0
    • Randy Dunlap's avatar
      [PATCH] "nousb" for in-kernel USB · af358dcd
      Randy Dunlap authored
      Here's the updated "nousb" patch for vanilla 2.5.41.
      It applies with 2 small offsets to 2.5.41-bk3.
      af358dcd
    • Stuart MacDonald's avatar
      [PATCH] USB Whiteheat driver patches · 9a583d70
      Stuart MacDonald authored
      A couple patches on 2.5.41; issues discovered during QA.
      
      1: The hack to get around the unlinking bug. You said this was also in
      2.5.x, so I've included this.
      
      2: filp is NULL when called from usb_serial_disconnect. Fixes an oops.
      
      3: In the case where the module is reloaded; the endpoints in the
      usbsubsystem don't go away. So when the module comes back, the
      endpoints still have the unlink thing, and also need to be cleared.
      Otherwise the firmware appears not respond to the version nubmer query
      and the driver doesn't attach, and you have no device.
      9a583d70
    • Doug Ledford's avatar
      f7353c67
    • Doug Ledford's avatar
      [PATCH] aic7xxx_old update and a compile warning fix in scsi.c · 224896aa
      Doug Ledford authored
      Rework lots of cruft in the aic7xxx_old driver so that it can be more
      easily read and understood by other people and so it starts on the road
      to giving a clearer picture of how to interact with the scsi mid layer.
      224896aa
    • Doug Ledford's avatar
      [PATCH] tcq fixes for the issue on linux-kernel · e02b943b
      Doug Ledford authored
      This does 4 things.  Fixes the oversight James found about cmd_per_lun.
      Makes scsi_adjust_queue_depth() implement the usage of tagged that I
      described in my email to linux-scsi.  Updates some comments to highlight
      things that are going to go away shortly.  Removes the call to
      host->select_queue_depths() entirely since drivers that implement this
      will try to set SDptr->queue_depth to the desired depth, which in reality
      will do nothing but confuse the mid layer since that is now the actual
      allocated command counter, so it won't make the mid layer allocate more
      commands, it will make the mid layer think more commands have been
      allocated.
      e02b943b
    • Doug Ledford's avatar
    • Doug Ledford's avatar
      [PATCH] redo of scsi.h changes · 30f7395a
      Doug Ledford authored
      Start removing items from scsi.h that are driver specific and provide a
      patch to NCR53C9x.? that switches to driver private storage instead as
      an example of how drivers should do private struct storage
      30f7395a
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/net-drivers-2.5 · 3a756e7a
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      3a756e7a
    • Zwane Mwaikambo's avatar
      Add ethtool media support to smc91c92_cs net driver. · 9b425022
      Zwane Mwaikambo authored
      Also fixes a bug when UTP port is unplugged.
      9b425022
    • Jay Vosburgh's avatar
      Prevent EFAULT errors when checking link status, in bonding net driver. · eda607d8
      Jay Vosburgh authored
      Also some minor cleanups as well.
      
      [This patch qualifies for the cavemen ugh-lympics, because the driver does
      some really nasty things in interrupt context and this patch does
      not correct that.  However, the patch is an incremental improvement
      over the current code so it's still worth applying.  I'll fix it
      further if IBM does not fix it first.  -jgarzik]
      eda607d8
    • Jeb J. Cramer's avatar
      e1000 net driver minor fixes/cleanups: · 95dad872
      Jeb J. Cramer authored
      * don't read PCI bus for values stored in struct pci_dev
      * remove silly BUG() in e1000_sw_init, and
      * return error from e1000_sw_init
      95dad872
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/irda-2.5 · 2d1a3871
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      2d1a3871
    • Jean Tourrilhes's avatar
      irda update 6/6: · d1230b63
      Jean Tourrilhes authored
              o [CORRECT] Start timer before sending event to fix race condition
              o [FEATURE] Improve the IrLMP event debugging messages.
      d1230b63
    • Jean Tourrilhes's avatar
      irda update 5/6: · 38fea30d
      Jean Tourrilhes authored
              o [FEATURE] Fix some comments
              o [FEATURE] printk warning when we detect buggy QoS from peer
              o [CORRECT] Workaround NULL QoS bitfields
              o [CORRECT] Workaround oversized QoS bitfields
              o [FEATURE] Add sysctl "max_tx_window" to limit IrLAP Tx Window
      38fea30d
    • Jean Tourrilhes's avatar
      irda update 4/6: · d2dfa7d9
      Jean Tourrilhes authored
              o [FEATURE] Fix spelling UNITIALISED => UNINITIALISED
              o [CORRECT] Accept data from TTY before link initialisation
                      This seems necessary to avoid chat (via pppd) dropping chars
              o [CRITICA] Remember allocated skb size to avoid to over-write it
              o [FEATURE] Remove  LM-IAS object once connected
              o [CORRECT] Avoid declaring link ready when it's not true
      d2dfa7d9
    • Jean Tourrilhes's avatar
      irda update 3/6: · d06f2a68
      Jean Tourrilhes authored
              o [FEATURE] Export CRC16 helper so that drivers can use it
      d06f2a68
    • Jean Tourrilhes's avatar
      irda update 2/6: · c8dc801d
      Jean Tourrilhes authored
                      <Following patch from Martin Lucina & Christian Gennerat>
              o [FEATURE] Rewrite of the toshoboe driver using documentation
              o [FEATURE] Support Donau oboe chipsets.
              o [FEATURE] FIR support
              o [CORRECT] Probe chip before opening
              o [FEATURE] suspend/resume support
              o [FEATURE] Numerous other improvements/cleanups
              o [CORRECT] (me) Remove save_flags()/cli() for spinlock
                      <Currently, we keep the old toshoboe driver around>
              o [FEATURE] Config.help for ma600 driver (unrelated ;-)
      c8dc801d
    • Jean Tourrilhes's avatar
      irda update 1/6, big vlsi_ir driver update: · 644f894a
      Jean Tourrilhes authored
                      <Following patch from Martin Diehl>
              * merge+sync with changes from recent kernels: pci_[sg]et_drvdata,
                __devexit_p, netdev->last_rx, irda header cleanup
              * add netdev tx_timeout which re-initializes the whole thing
              * add power management support consistent with pci driver api
              * major rework of the ring descriptor operations
              * make correct usage of consistent and streaming pci dma api
              * nuke last virt_to_bus() and friends
              * support MIR/FIR highspeed interaction pulse (SIP)
              * review all paths for packet-size issues (rx and tx)
              * fix an old issue requiring hw powercycle caused by a race
                between IrLAP and hardware when switching _back_ to default
                speed at LAP disconnect. This was opened by the complete async
                behaviour of netdev->xmit but didn't happen before your latency
                improvements went into the stack.
              * add driver status readout under /proc/driver/vlsi_ir/irda%
                For 2.5, this will probably go into driverfs once things have
                stabilized.
              * fix potential deadlock in speed changing code
              * make identical driver working for both 2.4 and 2.5
              * add __attribute__((packed)) to hardware-exposed struct
              * add suggested pci_dma_prep_single() to flush cpu cache before
                streaming dma buffer gets reused for busmastering
      644f894a
    • Jeff Garzik's avatar
      Merge luckyluke.devel.redhat.com:/mnt/cvs/BK/linus-2.5 · 0c83531d
      Jeff Garzik authored
      into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
      0c83531d
    • Linus Torvalds's avatar
      Merge bk://linux-input.bkbits.net/linux-input · 9959faa8
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      9959faa8
    • Vojtech Pavlik's avatar
    • Andries E. Brouwer's avatar
      Since 2.5.32 the keyboard repeat code was broken. · 723a2459
      Andries E. Brouwer authored
      The reason Vojtech broke it was the stupid name of a field
      in struct kbd_repeat, namely "rate".  Every sane person
      expects that a rate has dimension [1/sec], but here the
      "rate" is a time period measured in msec.
      
      So, the patch below first of all fixes the code,
      and secondly changes the name.
      Since Vojtech used PERIOD as index, I also used period
      as field name in the struct.
      
      Half of the stuff below is actually from Alan Stern.
      
      Andries
      723a2459
    • Vojtech Pavlik's avatar
      Merge · 0c5daf6e
      Vojtech Pavlik authored
      0c5daf6e
    • Zach Welch's avatar
      Several fixes in the uinput.c userspace input driver. Size of fifo, · 3d29bf44
      Zach Welch authored
      handling of flag bits, etc.
      3d29bf44
    • Vojtech Pavlik's avatar
      84a42532
    • Vojtech Pavlik's avatar
    • Ingo Molnar's avatar
      [PATCH] sched-2.5.41-A0 · 31989cba
      Ingo Molnar authored
      This fixes the scheduler's migration code to not disable preemption.  It
      also fixes the bug that was hidden by the broken disable-preempt change:
      the migration thread did not kick idle CPUs if a task is migrated to
      them, which causes a hung boot when ksoftirqds are started.  It was pure
      luck it worked until now, it was broken pretty much from day 1 on.
      31989cba
    • Anton Blanchard's avatar
      [PATCH] fix NLS config.in · c0c7e476
      Anton Blanchard authored
      Quick fix for CONFIG_NLS, add a missing space.
      c0c7e476
  3. 10 Oct, 2002 2 commits