1. 31 Mar, 2004 14 commits
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/greg/linux/BK/bleed-2.6 · 15fea3db
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/usb-2.6
      15fea3db
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
    • David Brownell's avatar
      [PATCH] USB: remove usb_interface.driver field · e0d47b75
      David Brownell authored
      Remove usb_interface.driver, and along with it the "half bound" state
      previously associated with drivers binding with claim() instead of probe().
      This changes usb_driver_claim_interface() semantics slightly: drivers must
      now be prepared to accept disconnect() callbacks.
      
      Fixes more locking bugs, and a claim() oops that snuck in with a
      recent patch.
      e0d47b75
    • David Brownell's avatar
      33c65459
    • Alan Stern's avatar
      [PATCH] USB Gadget: Rename the dummy_hcd's gadget · 1114cf18
      Alan Stern authored
      When David added an entry to the gadget_chips.h file for the dummy_hcd
      driver, he mistakenly used the name "dummy_udc" rather than "dummy_hcd".
      The mistake is understandable, since other controllers use "_udc" in their
      names and it is illogical to put "_hcd" in a _device_ controller's name.
      
      This patch updates the dummy_hcd driver and changes the gadget name to
      agree with the gadget_chips.h entry.
      1114cf18
    • Alan Stern's avatar
      [PATCH] USB: Complete all URBs in UHCI when releasing the bus · 915801c3
      Alan Stern authored
      This patch changes the UHCI driver's bus-release routine; now it will
      correctly finish all pending but not-yet-completed URBs.  This fixes a
      reported bug, when trying to rmmod uhci-hcd while using a USB mouse under
      X.  Also, the patch changes a variable name from ...hs... to ...fs...
      ("high speed" -> "full speed") -- something I accidentally omitted in an
      earlier patch.
      915801c3
    • Alan Stern's avatar
      [PATCH] USB Gadget: Use automatic endpoint selection in file-storage · a5bbb7ea
      Alan Stern authored
      This patch imports the endpoint auto-config library into the file-storage
      gadget, simplifying the code needed for endpoint selection and removing
      almost all dependencies on the controller type from the driver.  It also
      changes some log messages for reporting fatal problems from INFO to ERROR.
      a5bbb7ea
    • Alan Stern's avatar
      [PATCH] USB Gadget: Use configuration-buffer library in file-storage · 354e8872
      Alan Stern authored
      This patch imports the config-buffer library into the file-storage gadget,
      simplifying and decreasing the amount of code needed for assembling
      configuration descriptors.  It also changes the driver to remove any
      pretense at bus-powered operation and to use the new DUALSPEED
      configuration option.  This is in line with recent changes made to other
      gadget drivers.
      354e8872
    • Alexander Stohr's avatar
      [PATCH] double semicolon cleanup · 96531b37
      Alexander Stohr authored
      This cleans up a larger amount of superfluos ";;" statements in current
      Linux kernel sources by converting them to the regular single ";"
      statments.
      
      It seems to be a common problem that at the end of a line the semicolon
      key is producing an echo.
      96531b37
    • Linus Torvalds's avatar
      Merge http://linux-sound.bkbits.net/linux-sound · fe6a9c21
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      fe6a9c21
    • Andrew Morton's avatar
      [PATCH] ppc64: clean up virtual <-> absolute code · 807b9692
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
            Rusty Russell <rusty@rustcorp.com.au>
      
      The iSeries has an arch-specific mapping from physical <-> absolute
      addresses.  Fortunately this is only used in a few places.  However, the
      following arch-specific macros/functions are provided in addition to the
      standard macros:
      
      	__a2p()
      	__a2v()
      	__p2a()
      	__p2v()
      	__v2a()
      	__v2p()
      	absolute_to_phys()
      	phys_to_absolute()
      	virt_to_absolute()
      	absolute_to_virt()
      
      Reduce them to these, with slightly shorter names, and taking either pointers
      or unsigned long (as per __va and __pa) rather than making the caller cast:
      
      	abs_to_phys()
      	phys_to_abs()
      
      And helper macros:
      
      	virt_to_abs()
      	abs_to_virt()
      
      As is standard, virtual addresses are returned as void *, physical and
      absolute as unsigned long.
      
      Note that the change the iSeries_setup is a little subtle: ea is set to
      __va(pa) above, so "phys_to_abs(pa)" is the same as "virt_to_abs(ea)".
      
      Also, REALADDR is renamed to ISERIES_HV_ADDR and used in a couple of places
      where appropriate.
      807b9692
    • Andrew Morton's avatar
      [PATCH] ppc64: make iSeries boot mostly · dd054a0b
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
            Stephen Rothwell <sfr@canb.auug.org.au>
      
      This patch just ensures that the RI bit is set really early as it seems it
      is not on iSeries Power4 machines (or maybe OS400 v5r3 does this).
      dd054a0b
  2. 30 Mar, 2004 26 commits
    • Jaroslav Kysela's avatar
      ALSA - 1.0.4rc2 · 42628d82
      Jaroslav Kysela authored
      42628d82
    • Jaroslav Kysela's avatar
      ALSA CVS update - Jaroslav Kysela <perex@suse.cz> · 759b2d20
      Jaroslav Kysela authored
      au88x0 driver
      Cleanups - removed duplicate PCI IDs
      759b2d20
    • Jaroslav Kysela's avatar
      ALSA CVS update - Clemens Ladisch <clemens@ladisch.de> · b3752d2b
      Jaroslav Kysela authored
      USB generic driver
      add usb_device->speed wrapper for compiling with 2.2.x kernels
      b3752d2b
    • Jaroslav Kysela's avatar
      Merge suse.cz:/home/perex/bk/linux-sound/linux-2.5 · 7dcf8717
      Jaroslav Kysela authored
      into suse.cz:/home/perex/bk/linux-sound/linux-sound
      7dcf8717
    • Linus Torvalds's avatar
      Fix serious naming problem. · 1edcedd9
      Linus Torvalds authored
      People were getting quite excited about this.
      1edcedd9
    • David Brownell's avatar
      [PATCH] USB: fix dvb-ttusb-budget driver due to set_configuration locking cleanups · 6334e786
      David Brownell authored
      > Oops, you forgot to grep:
      >
      > CC [M]  drivers/media/dvb/ttusb-dec/ttusb_dec.o
      > drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c: In function `ttusb_setup_interfaces':
      > drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c:1011: warning: implicit declaration of function `usb_set_configuration'
      
      Well, when I did the grep that bug wasn't there; it
      was just integrated on Feb 26!
      
      
      > Care to send a patch to fix it up before Andrew gets grumpy with me for
      > breaking his build?  :)
      
      The first part makes it use usb_reset_configuration() like
      it did before ... I'm surprised this driver hasn't been
      generating "it deadlocks during probe" reports.
      
      The second part prints a diagnostic if the configuration
      wasn't set right; the fix would use hotplug and sysfs.
      6334e786
    • Dave Jones's avatar
      [PATCH] USB: w9968cf driver misplaced ; · d4f1dca6
      Dave Jones authored
      d4f1dca6
    • Greg Kroah-Hartman's avatar
      [PATCH] back out sysfs reference count change · ab955e9f
      Greg Kroah-Hartman authored
      This backs out Maneesh's sysfs patch that was recently added to the
      kernel.
      
      In its defense, the original patch did solve some fixes that could be
      duplicated on SMP machines, but the side affect of the patch caused lots
      of problems.  Basically it caused kobjects to get their references
      incremented when files that are not present in the kobject are asked for
      (udev can easily trigger this when it looks for files call "dev" in
      directories that do not have that file).  This can cause easy oopses
      when the VFS later ages out those old dentries and the kobject has its
      reference finally released (usually after the module that the kobject
      lived in was removed.)
      
      I will continue to work with Maneesh to try to solve the original bug,
      but for now, this patch needs to be applied.
      ab955e9f
    • Richard Henderson's avatar
      [PATCH] Alpha: UP1500 pci_mem fix · fec1d37f
      Richard Henderson authored
      From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      
      The memory reserved for PCI probe is not freed properly in some cases,
      for instance with a 3.5Gb of RAM.
      
      Forward port from 2.4.
      fec1d37f
    • Alessandro Zummo's avatar
      [PATCH] USB: omninet patch · 1510776b
      Alessandro Zummo authored
        here's a small patch for omninet.c .
      1510776b
    • Marcel Holtmann's avatar
      [PATCH] USB: Rename the USB HID driver · ff533b76
      Marcel Holtmann authored
      > > I like to see this rename as soon as possible. So if nobody minds I send
      > > a patch to LKML and ask Linus for inclusion.
      >
      > Go ahead, but also please patch all relevant documentation in the
      > kernel.
      
      the attached patch should do the renaming everywhere hid or hid.o was
      mentioned. It also removes all references to *.o module names.
      ff533b76
    • David Brownell's avatar
      [PATCH] USB: RNDIS/Ethernet Gadget Driver comment changes · fea7770c
      David Brownell authored
      Whoops, I missed something.  You should apply this patch too.
      
      The RNDIS spec license agreement does NOT require tacking any
      GPL-incompatible restrictions on the results of _using_ the
      spec:
      
         "... may be used solely for the purpose of implementing
          the RNDIS protocol message set to interface with ..."
         (the two cases identified in the text)
      
      And that's all the implementation does -- end of story.
      fea7770c
    • Dave Jones's avatar
      [PATCH] USB: kill off CONFIG_USB_BRLVGER detritus. · 38c2c0e8
      Dave Jones authored
      This died a while ago, but lingers on in defconfigs.
      38c2c0e8
    • Andries E. Brouwer's avatar
      [PATCH] USB Storage: datafab fix and unusual devices · 45fbc50e
      Andries E. Brouwer authored
      datafab.c has an often-seen bug: the SCSI READ_CAPACITY command
      does not need the number of sectors but the last sector.
      
      I just tried the CF and SM parts of a 5-in-1 card reader.
      The CF part works with US_PR_DATAFAB when the bug mentioned is fixed.
      The SM part works with US_PR_SDDR55.
      (Revision Number is 17.08 - that in case the 0000-ffff
      should prove to be too optimistic.)
      
      We still must discuss what setup to use for readers like this -
      I have several of them - that require different drivers for
      different LUNs. As it is now one has to compile usb-storage
      twice, once with CONFIG_USB_STORAGE_DATAFAB defined and once
      without, and remove one usb-storage.ko and insert the other
      to go from CF to SM. (And that hangs with 2.6.4 so a reboot
      is required..)
      45fbc50e
    • Paulo Marques's avatar
      [PATCH] USB: ftdi_sio.c: not unlinking urb on ftdi_close · c3e08bc4
      Paulo Marques authored
      This patch fixes a bug in ftdi_sio.c where the driver wouldn't unlink the
      read urb if the user application cleared the HUPCL flag on termios->c_cflag.
      c3e08bc4
    • Andrew Morton's avatar
      [PATCH] USB: drivers/usb/gadget/epautoconf.c gcc-3.5 build fix · cf2bbebe
      Andrew Morton authored
      drivers/usb/gadget/epautoconf.c: In function `ep_matches':
      drivers/usb/gadget/epautoconf.c:175: error: `typeof' applied to a bit-field
      cf2bbebe
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc64: More incorrect syscall error test · 7a538652
      Benjamin Herrenschmidt authored
      Oops, there was two different code path affected by this
      bug (strace and normal) and I fixed only one. Here's the
      other one:
      7a538652
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc64: Add a sync in context switch on SMP · 0ef9775d
      Benjamin Herrenschmidt authored
      For the same reason as ppc32, we need to ensure that all stores
      done on a CPU has reached the coherency domain and are visible
      to loads done by another CPU when context switching as the same
      thread may be rescheduled almost right away there.
      0ef9775d
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc32: PCI mmap update · 585d744b
      Benjamin Herrenschmidt authored
      This updates the ppc32 PCI mmap facility to allow mmap'ing of space
      outside of the actual devices, using the host bridge resources instead. 
      
      This allow userland to map things like legacy IO space by either using
      the bridge device itself, or simply any PCI device on the same bus
      domain
      585d744b
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc32: Allow PREEMPT with SMP in KConfig · f2c371c7
      Benjamin Herrenschmidt authored
      On ppc32, CONFIG_PREEMPT wasn't settable along with CONFIG_SMP
      for historical reasons (smp_processor_id() races). Those races have
      been fixes since then (well, should have been at least) so it's now
      safe to allow both options.
      f2c371c7
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc32: context switch fixes · ae4e82bd
      Benjamin Herrenschmidt authored
      This fixes a few issues with context switch on ppc32:
      
       - Makes sure we properly flush out all stores to the coherency domain
         when switching out, since the same thread could be switched back in
         on another CPU right away, those stores must be visible to all other
         CPUs. 
      
       - Remove dssall in the assembly calls and do it now once in switch_mm
         (stop vmx streams).  Assume the G5 doesn't need a sync after dssall. 
      
       - Remove bogus isync in the loop setting the userland segment registers
      
       - Do not switch the userland segments when the mm stays the same
      ae4e82bd
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc32: Remove duplicate export · e810a048
      Benjamin Herrenschmidt authored
      enable_kernel_fp is exported both in ppc_ksyms and near it's
      definition in process.c, remove the former.
      e810a048
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc32: Even more preempt fixes · f9f57267
      Benjamin Herrenschmidt authored
      Add a warning if enable_kernel_{fp,altivec} is called with preempt
      enabled since this is always an error, and make sure the alignement
      exception handler properly disables preempt when doing FP operations.
      f9f57267
    • Srivatsa Vaddagiri's avatar
      [PATCH] Fix obvious stupid race in do_stop · ff1581f7
      Srivatsa Vaddagiri authored
      We don't set the task state to TASK_INTERRUPTIBLE _before_ checking for
      kthread_should_stop in do_stop.
      ff1581f7
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.6 · 360f2ed0
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      360f2ed0
    • Marcelo Tosatti's avatar
      [PATCH] pc300 driver misplaced ; · 023bba10
      Marcelo Tosatti authored
      From Dave Jones.
      
      Oops.
      023bba10