18 Oct, 2008

1 commit

  • The following patch introduces a new f_obex.c function driver.
    It allows userspace obex servers to use usb as transport layer
    for their messages.

    [ dbrownell@users.sourceforge.net: various fixes and cleanups ]

    Signed-off-by: Felipe Balbi
    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Felipe Balbi
     

17 Oct, 2008

3 commits

  • * 'docs' of git://git.lwn.net/linux-2.6:
    Document panic_on_unrecovered_nmi sysctl
    Add a reference to paper to SubmittingPatches
    Add kerneldoc documentation for new printk format extensions
    Remove videobook.tmpl
    doc: Test-by?
    Add the development process document
    Documentation/block/data-integrity.txt: Fix section numbers

    Linus Torvalds
     
  • Update Erik Mouw's email address & affiliation in DocBook.

    Signed-off-by: Randy Dunlap
    Acked-by: Erik Mouw
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • This document describes the long-deprecated V4L1 interface. In-tree, it
    can only serve to encourage developers to write drivers to the wrong API.
    Remove it in favor of the V4L2 documentation which must surely show up
    someday.

    Acked-by: Alan Cox
    Acked-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Jonathan Corbet
     

12 Oct, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1075 commits)
    myri10ge: update driver version number to 1.4.3-1.369
    r8169: add shutdown handler
    r8169: preliminary 8168d support
    r8169: support additional 8168cp chipset
    r8169: change default behavior for mildly identified 8168c chipsets
    r8169: add a new 8168cp flavor
    r8169: add a new 8168c flavor (bis)
    r8169: add a new 8168c flavor
    r8169: sync existing 8168 device hardware start sequences with vendor driver
    r8169: 8168b Tx performance tweak
    r8169: make room for more specific 8168 hardware start procedure
    r8169: shuffle some registers handling around (8168 operation only)
    r8169: new phy init parameters for the 8168b
    r8169: update phy init parameters
    r8169: wake up the PHY of the 8168
    af_key: fix SADB_X_SPDDELETE response
    ath9k: Fix return code when ath9k_hw_setpower() fails on reset
    ath9k: remove nasty FAIL macro from ath9k_hw_reset()
    gre: minor cleanups in netlink interface
    gre: fix copy and paste error
    ...

    Linus Torvalds
     

11 Oct, 2008

1 commit

  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
    selinux: Fix an uninitialized variable BUG/panic in selinux_secattr_to_sid()
    selinux: use default proc sid on symlinks
    file capabilities: uninline cap_safe_nice
    Update selinux info in MAINTAINERS and Kconfig help text
    SELinux: add gitignore file for mdp script
    SELinux: add boundary support and thread context assignment
    securityfs: do not depend on CONFIG_SECURITY
    selinux: add support for installing a dummy policy (v2)
    security: add/fix security kernel-doc
    selinux: Unify for- and while-loop style
    selinux: conditional expression type validation was off-by-one
    smack: limit privilege by label
    SELinux: Fix a potentially uninitialised variable in SELinux hooks
    SELinux: trivial, remove unneeded local variable
    SELinux: Trivial minor fixes that change C null character style
    make selinux_write_opts() static

    Linus Torvalds
     

09 Oct, 2008

1 commit


16 Sep, 2008

1 commit

  • A few errors sneaked in over time, some functions no longer exist,
    for some alternatives exist. This changes the docbook template to
    include the right things.

    Signed-off-by: Johannes Berg
    Signed-off-by: John W. Linville

    Johannes Berg
     

28 Aug, 2008

1 commit


20 Aug, 2008

1 commit


13 Aug, 2008

2 commits

  • Add MODULE_LICENSE() to DocBook/procfs_example.c since modpost complained
    about a missing license there.

    Remove tty procfs removal since the creation was deleted long ago
    (http://git.kernel.org/?p=linux/kernel/git/tglx/history.git;a=commitdiff;h=5ad9cb65e9b15e5b83e2dd1c10a4bcaccc4ec644).

    Signed-off-by: Randy Dunlap
    Cc:
    Cc: Sam Ravnborg
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Currently source files in the Documentation/ sub-dir can easily bit-rot
    since they are not generally buildable, either because they are hidden in
    text files or because there are no Makefile rules for them. This needs to
    be fixed so that the source files remain usable and good examples of code
    instead of bad examples.

    Add the ability to build source files that are in the Documentation/ dir.
    Add to Kconfig as "BUILD_DOCSRC" config symbol.

    Use "CONFIG_BUILD_DOCSRC=1 make ..." to build objects from the
    Documentation/ sources. Or enable BUILD_DOCSRC in the *config system.
    However, this symbol depends on HEADERS_CHECK since the header files need
    to be installed (for userspace builds).

    Built (using cross-tools) for x86-64, i386, alpha, ia64, sparc32,
    sparc64, powerpc, sh, m68k, & mips.

    Signed-off-by: Randy Dunlap
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

09 Aug, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (99 commits)
    pkt_sched: Fix actions referencing
    bnx2x: fix logical op
    tcp: (whitespace only) fix confusing indentation
    pkt_sched: Fix qdisc config when link is down.
    [Bluetooth] Add full quirk implementation for btusb driver
    [Bluetooth] Removal of unnecessary ignore module parameter
    [Bluetooth] Add parameters to control BNEP header compression
    ath9k: Revamp wireless mode usage
    ath9k: More unused macros
    ath9k: Remove a few unused macros and fix indentation
    ath9k: Use mac80211's band macros and remove enum hal_freq_band
    ath9k: Remove redundant data structure ath9k_txq_info
    ath9k: Cleanup data structures related to HW capabilities
    ath9k: work around gcc ICEs
    ath9k: Add new Atheros IEEE 802.11n driver
    ath5k: remove Atheros 11n devices from supported list
    list.h: add list_cut_position()
    list.h: Add list_splice_tail() and list_splice_tail_init()
    p54: swap short slot time dcf values
    rt2x00: Block all unsupported modes
    ...

    Linus Torvalds
     

07 Aug, 2008

2 commits


06 Aug, 2008

1 commit


05 Aug, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (29 commits)
    sh: enable maple_keyb in dreamcast_defconfig.
    SH2(A) cache update
    nommu: Provide vmalloc_exec().
    add addrespace definition for sh2a.
    sh: Kill off ARCH_SUPPORTS_AOUT and remnants of a.out support.
    sh: define GENERIC_HARDIRQS_NO__DO_IRQ.
    sh: define GENERIC_LOCKBREAK.
    sh: Save NUMA node data in vmcore for crash dumps.
    sh: module_alloc() should be using vmalloc_exec().
    sh: Fix up __bug_table handling in module loader.
    sh: Add documentation and integrate into docbook build.
    sh: Fix up broken kerneldoc comments.
    maple: Kill useless private_data pointer.
    maple: Clean up maple_driver_register/unregister routines.
    input: Clean up maple keyboard driver
    maple: allow removal and reinsertion of keyboard driver module
    sh: /proc/asids depends on MMU.
    arch/sh/boards/mach-se/7343/irq.c: removed duplicated #include
    arch/sh/boards/board-ap325rxa.c: removed duplicated #include
    sh/boards/Makefile typo fix
    ...

    Linus Torvalds
     

04 Aug, 2008

1 commit


01 Aug, 2008

2 commits

  • A regression to the kgdb core was found in the case of using the
    CONFIG_DEBUG_RODATA kernel option. When this option is on, a breakpoint
    cannot be written into any readonly memory page. When an external
    debugger requests a breakpoint to get set, the
    kgdb_validate_break_address() was only checking to see if the address
    to place the breakpoint was readable and lacked a write check.

    This patch changes the validate routine to try reading (via the
    breakpoint set request) and also to try immediately writing the break
    point. If either fails, an error is correctly returned and the
    debugger behaves correctly. Then an end user can make the
    descision to use hardware breakpoints.

    Also update the documentation to reflect that using
    CONFIG_DEBUG_RODATA will inhibit the use of software breakpoints.

    Signed-off-by: Jason Wessel

    Jason Wessel
     
  • There is no technical reason that the kgdb core requires frame
    pointers. It is up to the end user of KGDB to decide if they need
    them or not.

    [ anemo@mba.ocn.ne.jp: removed frame pointers on mips ]

    Signed-off-by: Jason Wessel

    Jason Wessel
     

26 Jul, 2008

1 commit

  • Having trailing   entities in a revision numer seems pretty pointless
    to me. More so, it's causing me pains, so just drop them since no other
    guide is doing this.

    Signed-off-by: Mike Frysinger
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mike Frysinger
     

24 Jul, 2008

2 commits


22 Jul, 2008

6 commits

  • The Userspace I/O HOWTO template sets two different sections with the same
    html output name (about.html). This clearly won't work, so change the
    first one to a unique "aboutthis.html" to prevent clobbering.

    Signed-off-by: Mike Frysinger
    Acked-by: Hans J. Koch
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Mike Frysinger
     
  • The Userspace I/O HOWTO document uses straight tags and plain text
    to describe copyright/legal information. It should instead use the
    and tags like all other documents in the kernel.

    Signed-off-by: Mike Frysinger
    Acked-by: Hans J. Koch
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Mike Frysinger
     
  • Sometimes it is necessary to enable/disable the interrupt of a UIO device
    from the userspace part of the driver. With this patch, the UIO kernel driver
    can implement an "irqcontrol()" function that does this. Userspace can write
    an s32 value to /dev/uioX (usually 0 or 1 to turn the irq off or on). The
    UIO core will then call the driver's irqcontrol function.

    Signed-off-by: Hans J. Koch
    Acked-by: Uwe Kleine-König
    Acked-by: Magnus Damm
    Signed-off-by: Greg Kroah-Hartman

    Hans J. Koch
     
  • Split out the generic serial support into a "function driver". This
    closely mimics the ACM support, but with a MUCH simpler control model.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • Split out CDC ACM parts of "gadget serial" to a "function driver".
    Some key structural differences from the previous ACM support, shared
    with with the generic serial function (next patch):

    - As a function driver, it can be combined with other functions.
    One gadget configuration could offer both serial and network
    links, as an example.

    - One serial port can be exposed in multiple configurations;
    the /dev/ttyGS0 node could be exposed regardless of which
    config the host selected.

    - One configuration can expose multiple serial ports, such as
    ttyGS0, ttyGS1, ttyGS2, and ttyGS3.

    This code should be a lot easier to understand than the previous
    all-in-one-big-file version of the driver.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • Add interfaces for composite gadget drivers, and
    basic implementation support behind it:

    - struct usb_function ... groups one or more interfaces into a function
    managed as one unit within a configuration, to which it's added by
    usb_add_function().

    - struct usb_configuration ... groups one or more such functions into
    a configuration managed as one unit by a driver, to which it's added
    by usb_add_config(). These operate at either high or full/low speeds
    and at a given bMaxPower.

    - struct usb_composite_driver ... groups one or more such configurations
    into a gadget driver, which may be registered or unregistered.

    - struct usb_composite_dev ... a usb_composite_driver manages this; it
    wraps the usb_gadget exposed by the controller driver.

    This also includes some basic kerneldoc.

    How to use it (the short version): provide a usb_composite_driver with a
    bind() that calls usb_add_config() for each of the needed configurations.
    The configurations in turn have bind() calls, which will usb_add_function()
    for each function required. Each function's bind() allocates resources
    needed to perform its tasks, like endpoints; sometimes configurations will
    allocate resources too.

    Separate patches will convert most gadget drivers to this infrastructure.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     

24 Jun, 2008

1 commit


23 May, 2008

1 commit


05 May, 2008

1 commit


30 Apr, 2008

2 commits


29 Apr, 2008

1 commit


28 Apr, 2008

1 commit

  • Add to the generated kerneldoc, with some overview
    to go along with those per-function descriptions.

    Signed-off-by: David Brownell
    Cc: Russell King
    Cc: Alessandro Zummo
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     

26 Apr, 2008

1 commit


22 Apr, 2008

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial: (24 commits)
    DOC: A couple corrections and clarifications in USB doc.
    Generate a slightly more informative error msg for bad HZ
    fix typo "is" -> "if" in Makefile
    ext*: spelling fix prefered -> preferred
    DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs.
    KEYS: Fix the comment to match the file name in rxrpc-type.h.
    RAID: remove trailing space from printk line
    DMA engine: typo fixes
    Remove unused MAX_NODES_SHIFT
    MAINTAINERS: Clarify access to OCFS2 development mailing list.
    V4L: Storage class should be before const qualifier (sn9c102)
    V4L: Storage class should be before const qualifier
    sonypi: Storage class should be before const qualifier
    intel_menlow: Storage class should be before const qualifier
    DVB: Storage class should be before const qualifier
    arm: Storage class should be before const qualifier
    ALSA: Storage class should be before const qualifier
    acpi: Storage class should be before const qualifier
    firmware_sample_driver.c: fix coding style
    MAINTAINERS: Add ati_remote2 driver
    ...

    Fixed up trivial conflicts in firmware_sample_driver.c

    Linus Torvalds
     
  • A couple of corrections and clarifications in USB
    documentation.

    Signed-off-by: Robert P. J. Day
    Signed-off-by: Jesper Juhl

    Robert P. J. Day
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6: (36 commits)
    SCSI: convert struct class_device to struct device
    DRM: remove unused dev_class
    IB: rename "dev" to "srp_dev" in srp_host structure
    IB: convert struct class_device to struct device
    memstick: convert struct class_device to struct device
    driver core: replace remaining __FUNCTION__ occurrences
    sysfs: refill attribute buffer when reading from offset 0
    PM: Remove destroy_suspended_device()
    Firmware: add iSCSI iBFT Support
    PM: Remove legacy PM (fix)
    Kobject: Replace list_for_each() with list_for_each_entry().
    SYSFS: Explicitly include required header file slab.h.
    Driver core: make device_is_registered() work for class devices
    PM: Convert wakeup flag accessors to inline functions
    PM: Make wakeup flags available whenever CONFIG_PM is set
    PM: Fix misuse of wakeup flag accessors in serial core
    Driver core: Call device_pm_add() after bus_add_device() in device_add()
    PM: Handle device registrations during suspend/resume
    block: send disk "change" event for rescan_partitions()
    sysdev: detect multiple driver registrations
    ...

    Fixed trivial conflict in include/linux/memory.h due to semaphore header
    file change (made irrelevant by the change to mutex).

    Linus Torvalds