1. 22 5月, 2010 3 次提交
    • E
      ext3: make barrier options consistent with ext4 · 0636c73e
      Eric Sandeen 提交于
      ext4 was updated to accept barrier/nobarrier mount options
      in addition to the older barrier=0/1.  The barrier story
      is complex enough, we should help people by making the options
      the same at least, even if the defaults are different.
      
      This patch allows the barrier/nobarrier mount options for ext3,
      while keeping nobarrier the default.
      
      It also unconditionally displays barrier status in show_options,
      and prints a message at mount time if barriers are not enabled,
      just as ext4 does.
      Signed-off-by: NEric Sandeen <sandeen@redhat.com>
      Signed-off-by: NJan Kara <jack@suse.cz>
      0636c73e
    • J
      i2c-i801: Let the user disable selected driver features · adff687d
      Jean Delvare 提交于
      Let the user disable selected features normally supported by the
      device. This makes it possible to work around possible driver or
      hardware bugs if the feature in question doesn't work as intended
      for whatever reason.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Felix Rubinstein <felixru@gmail.com>
      adff687d
    • S
      sysfs-namespaces: add a high-level Documentation file · b9d8b45e
      Serge E. Hallyn 提交于
      The first three paragraphs are almost verbatim taken from Eric's
      commit message on the patch introducing network ns tags.  The next
      two paragraphs I wrote to be a brief high level overview.  The last
      section is taken from the commit message on "Implement sysfs tagged
      directory support", but updated.  Hopefully correctly.
      Signed-off-by: NSerge E. Hallyn <serue@us.ibm.com>
      Cc: Eric W. Biederman <ebiederm@xmission.com>
      Cc: Tejun Heo <tj@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b9d8b45e
  2. 21 5月, 2010 12 次提交
    • J
      echi-dbgp: Add kernel debugger support for the usb debug port · 4fe1da4e
      Jason Wessel 提交于
      This patch adds the capability to use the usb debug port with the
      kernel debugger.  It is also still possible to use this functionality
      with or without the earlyprintk=dbgpX.  It is possible to use the
      kgdbwait boot argument to debug very early in the kernel start up code.
      
      There are two ways to use this driver extension with a kernel boot argument.
      
      1) kgdbdbgp=#   -- Where # is the number of the usb debug controller
      
         You must use sysrq-g to break into the kernel debugger on another
         connection type other than the dbgp.
      
      2) kgdbdbgp=#debugControlNum#,#Seconds#
      
         In this mode, the usb debug port is polled every #Seconds# for
         character input.  It is possible to use gdb or press control-c to
         break into the kernel debugger.
      
      From the implementation perspective there are 3 high level changes.
      
      1) Allow variable retries for the the hardware via dbgp_bulk_read().
      
         The amount of retries for the dbgp_bulk_read() needed to be
         variable instead of fixed.  We do not want to poll at all when the
         kernel is operating in interrupt driven mode.  The polling only
         occurs if the kernel was booted when specifying some number of
         seconds via the kgdbdbgp boot argument (IE kgdbdbgp=0,1).  In this
         case the loop count is reduced to 1 so as introduce the smallest
         amount of latency as possible.
      
      2) Save the bulk IN endpoint address for use by the kgdb code.
      
      3) The addition of the kgdb interface code.
      
         This consisted of adding in a character read function for the dbgp
         as well as a polling thread to allow the dbgp to interrupt the
         kernel execution.  The rest is the typical kgdb I/O api.
      
      CC: Eric Biederman <ebiederm@xmission.com>
      CC: Yinghai Lu <yhlu.kernel@gmail.com>
      CC: linux-usb@vger.kernel.org
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4fe1da4e
    • J
      kgdboc: Add ekgdboc for early use of the kernel debugger · 9731191f
      Jason Wessel 提交于
      The ekgdboc= differs from kgdboc= in that you can begin debuggin as
      soon as the exceptions are setup and the kgdb I/O driver is available,
      instead of waiting until the tty subsystem is available.
      
      CC: kgdb-bugreport@lists.sourceforge.net
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      9731191f
    • J
      kgdb,docs: Update the kgdb docs to include kdb · 84c08fd6
      Jason Wessel 提交于
      Update the kgdb docs to reflect the new directory structure and API.
      
      Merge in the kdb shell information.
      
      [Randy Dunlap <rdunlap@xenotime.net>: grammatical corrections]
      
      CC: Randy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      84c08fd6
    • J
      kgdboc,keyboard: Keyboard driver for kdb with kgdb · ada64e4c
      Jason Wessel 提交于
      This patch adds in the kdb PS/2 keyboard driver.  This was mostly a
      direct port from the original kdb where I cleaned up the code against
      checkpatch.pl and added the glue to stitch it into kgdb.
      
      This patch also enables early kdb debug via kgdbwait and the keyboard.
      
      All the access to configure kdb using either a serial console or the
      keyboard is done via kgdboc.
      
      If you want to use only the keyboard and want to break in early you
      would add to your kernel command arguments:
      
          kgdboc=kbd kgdbwait
      
      If you wanted serial and or the keyboard access you could use:
      
          kgdboc=kbd,ttyS0
      
      You can also configure kgdboc as a kernel module or at run time with
      the sysfs where you can activate and deactivate kgdb.
      
      Turn it on:
          echo kbd,ttyS0 > /sys/module/kgdboc/parameters/kgdboc
      
      Turn it off:
          echo "" > /sys/module/kgdboc/parameters/kgdboc
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      Reviewed-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      ada64e4c
    • A
      USB: remove URB_NO_SETUP_DMA_MAP · 85bcb5ee
      Alan Stern 提交于
      Now that URB_NO_SETUP_DMA_MAP is no longer in use, this patch (as1376)
      removes all references to it.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      85bcb5ee
    • F
      USB: Composite framework: Add suspended sysfs entry · f48cf80f
      Fabien Chouteau 提交于
      This patch adds a sysfs entry (/sys/devices/platform/_UDC_/gadget/suspended) to
      show the suspend state of an USB composite gadget.
      Signed-off-by: NFabien Chouteau <fabien.chouteau@barco.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f48cf80f
    • M
      USB: usbserial: mos7720: add support for parallel port on moschip 7715 · b69578df
      Mike Dunn 提交于
      Add support for the parallel port on the moschip MCS7715 device.  The port
      registers itself with the parport subsystem as a low-level driver.  A separate
      entry to the kernel configuration is added beneath that for the mos7720, to
      avoid the need to link with the parport subsystem code for users who don't have
      or don't want the parallel port.  Only compatibility mode is currently supported
      (no ECP/EPP).  Tested with both moschip devices (7720 and 7715) on UP and SMP
      hosts, including regression testing of serial port, concurrent operation of
      serial and parallel ports, and various connect / disconnect scenarios.
      Signed-off-by: NMike Dunn <mikedunn@newsguy.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b69578df
    • D
      USB: rename usb_buffer_alloc() and usb_buffer_free() users · 997ea58e
      Daniel Mack 提交于
      For more clearance what the functions actually do,
      
        usb_buffer_alloc() is renamed to usb_alloc_coherent()
        usb_buffer_free()  is renamed to usb_free_coherent()
      
      They should only be used in code which really needs DMA coherency.
      
      All call sites have been changed accordingly, except for staging
      drivers.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Pedro Ribeiro <pedrib@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      997ea58e
    • E
      USB: Short new 'graph for usb-serial.txt · 48679c6d
      Eric Raymond 提交于
      Documentation update
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      48679c6d
    • S
      USB: Support for allocating USB 3.0 streams. · eab1cafc
      Sarah Sharp 提交于
      Bulk endpoint streams were added in the USB 3.0 specification.  Streams
      allow a device driver to overload a bulk endpoint so that multiple
      transfers can be queued at once.
      
      The device then decides which transfer it wants to work on first, and can
      queue part of a transfer before it switches to a new stream.  All this
      switching is invisible to the device driver, which just gets a completion
      for the URB.  Drivers that use streams must be able to handle URBs
      completing in a different order than they were submitted to the endpoint.
      
      This requires adding new API to set up xHCI data structures to support
      multiple queues ("stream rings") per endpoint.  Drivers will allocate a
      number of stream IDs before enqueueing URBs to the bulk endpoints of the
      device, and free the stream IDs in their disconnect function.  See
      Documentation/usb/bulk-streams.txt for details.
      
      The new mass storage device class, USB Attached SCSI Protocol (UASP), uses
      these streams API.
      Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      eab1cafc
    • A
      USB: deprecate the power/level sysfs attribute · a9030986
      Alan Stern 提交于
      This patch (as1367) deprecates USB's power/level sysfs attribute in
      favor of the power/control attribute provided by the runtime PM core.
      The two attributes do the same thing.
      
      It would be nice to replace power/level with a symlink to
      power/control, but at the moment sysfs doesn't offer any way to do so.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      a9030986
    • F
      USB: gadget: add HID gadget driver · 71adf118
      Fabien Chouteau 提交于
      g_hid is a USB gadget driver implementing the Human Interface Device class
      specification. The driver handles basic HID protocol handling in the
      kernel, and allows userspace to read/write HID reports trough /dev/hidgX
      character devices.
      Signed-off-by: NFabien Chouteau <fabien.chouteau@barco.com>
      Signed-off-by: NPeter Korsgaard <peter.korsgaard@barco.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      71adf118
  3. 20 5月, 2010 1 次提交
  4. 19 5月, 2010 19 次提交
  5. 18 5月, 2010 5 次提交