31 Jul, 2009

1 commit


09 Jul, 2009

1 commit


16 Jun, 2009

1 commit

  • Many developers use "/debug/" or "/debugfs/" or "/sys/kernel/debug/"
    directory name to mount debugfs filesystem for ftrace according to
    ./Documentation/tracers/ftrace.txt file.

    And, three directory names(ex:/debug/, /debugfs/, /sys/kernel/debug/) is
    existed in kernel source like ftrace, DRM, Wireless, Documentation,
    Network[sky2]files to mount debugfs filesystem.

    debugfs means debug filesystem for debugging easy to use by greg kroah
    hartman. "/sys/kernel/debug/" name is suitable as directory name
    of debugfs filesystem.
    - debugfs related reference: http://lwn.net/Articles/334546/

    Fix inconsistency of directory name to mount debugfs filesystem.

    * From Steven Rostedt
    - find_debugfs() and tracing_files() in this patch.

    Signed-off-by: GeunSik Lim
    Acked-by : Inaky Perez-Gonzalez
    Reviewed-by : Steven Rostedt
    Reviewed-by : James Smart
    CC: Jiri Kosina
    CC: David Airlie
    CC: Peter Osterlund
    CC: Ananth N Mavinakayanahalli
    CC: Anil S Keshavamurthy
    CC: Masami Hiramatsu
    Signed-off-by: Greg Kroah-Hartman

    GeunSik Lim
     

15 Jun, 2009

1 commit


21 May, 2009

1 commit

  • Moving information from config_interface to bss_info_changed
    removed struct ieee80211_if_conf which the documentation still
    refers to, additionally there's one kernel-doc description too
    much and one other missing, fix all this.

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

    Johannes Berg
     

18 May, 2009

1 commit


15 May, 2009

1 commit


07 May, 2009

1 commit


01 May, 2009

3 commits

  • Document irqs for the newly created docbook.

    [ Impact: add documentation ]

    Signed-off-by: Jason Baron
    Acked-by: Randy Dunlap
    Cc: akpm@linux-foundation.org
    Cc: rostedt@goodmis.org
    Cc: fweisbec@gmail.com
    Cc: mathieu.desnoyers@polymtl.ca
    Cc: wcohen@redhat.com
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Jason Baron
     
  • Add tracepoint docbook. This will help us document and understand
    what tracepoints are in the kernel. Since there are multiple
    macros, and files that contain tracepoints.

    [ Impact: add documentation ]

    Signed-off-by: Jason Baron
    Acked-by: Randy Dunlap
    Cc: akpm@linux-foundation.org
    Cc: rostedt@goodmis.org
    Cc: fweisbec@gmail.com
    Cc: mathieu.desnoyers@polymtl.ca
    Cc: wcohen@redhat.com
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Jason Baron
     
  • Missed index.html in "make cleandocs", so add it.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Sam Ravnborg

    Randy Dunlap
     

23 Apr, 2009

1 commit


11 Apr, 2009

1 commit


07 Apr, 2009

2 commits


03 Apr, 2009

1 commit


02 Apr, 2009

1 commit

  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (88 commits)
    PCI: fix HT MSI mapping fix
    PCI: don't enable too much HT MSI mapping
    x86/PCI: make pci=lastbus=255 work when acpi is on
    PCI: save and restore PCIe 2.0 registers
    PCI: update fakephp for bus_id removal
    PCI: fix kernel oops on bridge removal
    PCI: fix conflict between SR-IOV and config space sizing
    powerpc/PCI: include pci.h in powerpc MSI implementation
    PCI Hotplug: schedule fakephp for feature removal
    PCI Hotplug: rename legacy_fakephp to fakephp
    PCI Hotplug: restore fakephp interface with complete reimplementation
    PCI: Introduce /sys/bus/pci/devices/.../rescan
    PCI: Introduce /sys/bus/pci/devices/.../remove
    PCI: Introduce /sys/bus/pci/rescan
    PCI: Introduce pci_rescan_bus()
    PCI: do not enable bridges more than once
    PCI: do not initialize bridges more than once
    PCI: always scan child buses
    PCI: pci_scan_slot() returns newly found devices
    PCI: don't scan existing devices
    ...

    Fix trivial append-only conflict in Documentation/feature-removal-schedule.txt

    Linus Torvalds
     

31 Mar, 2009

1 commit

  • Setting ->owner as done currently (pde->owner = THIS_MODULE) is racy
    as correctly noted at bug #12454. Someone can lookup entry with NULL
    ->owner, thus not pinning enything, and release it later resulting
    in module refcount underflow.

    We can keep ->owner and supply it at registration time like ->proc_fops
    and ->data.

    But this leaves ->owner as easy-manipulative field (just one C assignment)
    and somebody will forget to unpin previous/pin current module when
    switching ->owner. ->proc_fops is declared as "const" which should give
    some thoughts.

    ->read_proc/->write_proc were just fixed to not require ->owner for
    protection.

    rmmod'ed directories will be empty and return "." and ".." -- no harm.
    And directories with tricky enough readdir and lookup shouldn't be modular.
    We definitely don't want such modular code.

    Removing ->owner will also make PDE smaller.

    So, let's nuke it.

    Kudos to Jeff Layton for reminding about this, let's say, oversight.

    http://bugzilla.kernel.org/show_bug.cgi?id=12454

    Signed-off-by: Alexey Dobriyan

    Alexey Dobriyan
     

28 Mar, 2009

1 commit

  • Add IEEE80211_HW_BEACON_FILTERING flag so that driver inform that it supports
    beacon filtering. Drivers need to call the new function
    ieee80211_beacon_loss() to notify about beacon loss.

    Signed-off-by: Kalle Valo
    Signed-off-by: John W. Linville

    Kalle Valo
     

27 Mar, 2009

3 commits

  • * 'irq-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (32 commits)
    x86: disable __do_IRQ support
    sparseirq, powerpc/cell: fix unused variable warning in interrupt.c
    genirq: deprecate obsolete typedefs and defines
    genirq: deprecate __do_IRQ
    genirq: add doc to struct irqaction
    genirq: use kzalloc instead of explicit zero initialization
    genirq: make irqreturn_t an enum
    genirq: remove redundant if condition
    genirq: remove unused hw_irq_controller typedef
    irq: export remove_irq() and setup_irq() symbols
    irq: match remove_irq() args with setup_irq()
    irq: add remove_irq() for freeing of setup_irq() irqs
    genirq: assert that irq handlers are indeed running in hardirq context
    irq: name 'p' variables a bit better
    irq: further clean up the free_irq() code flow
    irq: refactor and clean up the free_irq() code flow
    irq: clean up manage.c
    irq: use GFP_KERNEL for action allocation in request_irq()
    kernel/irq: fix sparse warning: make symbol static
    irq: optimize init_kstat_irqs/init_copy_kstat_irqs
    ...

    Linus Torvalds
     
  • Conflicts:
    drivers/net/wimax/i2400m/usb-notif.c

    David S. Miller
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6: (61 commits)
    Dynamic debug: fix pr_fmt() build error
    Dynamic debug: allow simple quoting of words
    dynamic debug: update docs
    dynamic debug: combine dprintk and dynamic printk
    sysfs: fix some bin_vm_ops errors
    kobject: don't block for each kobject_uevent
    sysfs: only allow one scheduled removal callback per kobj
    Driver core: Fix device_move() vs. dpm list ordering, v2
    Driver core: some cleanup on drivers/base/sys.c
    Driver core: implement uevent suppress in kobject
    vcs: hook sysfs devices into object lifetime instead of "binding"
    driver core: fix passing platform_data
    driver core: move platform_data into platform_device
    sysfs: don't block indefinitely for unmapped files.
    driver core: move knode_bus into private structure
    driver core: move knode_driver into private structure
    driver core: move klist_children into private structure
    driver core: create a private portion of struct device
    driver core: remove polling for driver_probe_done(v5)
    sysfs: reference sysfs_dirent from sysfs inodes
    ...

    Fixed conflicts in drivers/sh/maple/maple.c manually

    Linus Torvalds
     

25 Mar, 2009

1 commit

  • If a UIO device has several memory mappings, it can be difficult for userspace
    to find the right one. The situation becomes even worse if the UIO driver can
    handle different versions of a card that have different numbers of mappings.
    Benedikt Spranger has such cards and pointed this out to me. Thanks, Bene!

    To address this problem, this patch adds "name" sysfs attributes for each
    mapping. Userspace can use these to clearly identify each mapping. The name
    string is optional. If a driver doesn't set it, an empty string will be
    returned, so this patch won't break existing drivers.

    The same problem exists for port region information, so a "name" attribute is
    added there, too.

    Signed-off-by: Hans J. Koch
    Signed-off-by: Greg Kroah-Hartman

    Hans J. Koch
     

21 Mar, 2009

1 commit


13 Mar, 2009

1 commit


09 Mar, 2009

1 commit

  • Move ALSA docbooks to be with the rest of the kernel docbooks and add
    them to the Makefile so that they build. Latter required a few minor
    changes to alsa .tmpl files.
    (I did not remove all of the trailing whitespace in the .tmpl files.)

    Fixes kernel bugzilla #12726: http://bugzilla.kernel.org/show_bug.cgi?id=12726

    Signed-off-by: Randy Dunlap
    Cc: documentation_man-pages@kernel-bugs.osdl.org
    Cc: Nicola Soranzo
    Signed-off-by: Takashi Iwai

    Randy Dunlap
     

24 Feb, 2009

1 commit


23 Feb, 2009

1 commit

  • The kernel-api docbook was much larger than any of the others,
    so processing it took longer and needed some docbook extras in
    some cases, so split it into kernel-api (infrastructure etc.)
    and device drivers/device subsystems. This allows these docbooks
    to be generated in parallel. (This reduced the docbook processing
    time on my 4-proc system with make -j4 from about 5min:16sec to
    about 2min:01sec.)

    The chapters that were moved from kernel-api to device-drivers are:

    Driver Basics
    Device drivers infrastructure
    Parallel Port Devices
    Message-based devices
    Sound Devices
    16x50 UART Driver
    Frame Buffer Library
    Input Subsystem
    Serial Peripheral Interface (SPI)
    I2C and SMBus Subsystem

    Signed-off-by: Randy Dunlap
    Acked-by: Sam Ravnborg
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

04 Feb, 2009

1 commit


30 Jan, 2009

2 commits

  • This modifies hardware flags for powersave to support three different
    flags:
    * IEEE80211_HW_SUPPORTS_PS - indicates general PS support
    * IEEE80211_HW_PS_NULLFUNC_STACK - indicates nullfunc sending in software
    * IEEE80211_HW_SUPPORTS_DYNAMIC_PS - indicates dynamic PS on the device

    It also adds documentation for all this which explains how to set the
    various flags.

    Additionally, it fixes a few things:
    * a spot where && was used to test flags
    * enable CONF_PS only when associated again

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

    Johannes Berg
     
  • Not all drivers are capable of passing properly aligned frames,
    in particular with mesh networking no hardware will support
    completely aligning it correctly.

    This patch adds code to align the data payload to a 4-byte
    boundary in memory for those platforms that require this, or
    when CONFIG_MAC80211_DEBUG_PACKET_ALIGNMENT is set.

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

    Johannes Berg
     

29 Jan, 2009

1 commit

  • The following features were added to the UIO framework in the near past:

    * Generic drivers for platform devices (uio_pdrv, uio_pdrv_genirq)
    * an "offset" sysfs attribute for memory mappings

    Unfortunately, all this went in without documentation (won't happen again...)

    This patch updates UIO documentation.

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

    Hans J. Koch
     

09 Jan, 2009

1 commit

  • Add a basic DocBook manual for the regulator API. This is much more
    skeletal than the existing text documentation, the main benefit is to
    provide a skeleton for automatic generation of a manual based on the
    kerneldoc for the API.

    Since large portions of the text are lifted from the existing text format
    documentation written by Liam Girdwood much of the credit belongs to
    him.

    Signed-off-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Mark Brown
     

08 Jan, 2009

1 commit


07 Jan, 2009

2 commits


22 Nov, 2008

1 commit


31 Oct, 2008

2 commits

  • Acked-by: Randy Dunlap
    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • The total width of the command name plus spaces should be
    8 characters, but were 7 and 9, respectively. With 8 chars,
    all commands are now lining up nicely.

    The mandocs, psdocs, xmldocs commands are OK.

    Before:
    HOSTCC scripts/basic/docproc
    DOCPROC Documentation/DocBook/deviceiobook.xml
    HTML Documentation/DocBook/deviceiobook.html
    DOCPROC Documentation/DocBook/wanbook.xml
    PDF Documentation/DocBook/wanbook.pdf

    After:
    HOSTCC scripts/basic/docproc
    DOCPROC Documentation/DocBook/deviceiobook.xml
    HTML Documentation/DocBook/deviceiobook.html
    DOCPROC Documentation/DocBook/wanbook.xml
    PDF Documentation/DocBook/wanbook.pdf

    Signed-off-by: Hans Ulrich Niedermann
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hans Ulrich Niedermann
     

27 Oct, 2008

1 commit

  • Fix docbook fatal errors (file location changed):

    docproc: lin2628-rc1/include/asm-x86/io_32.h: No such file or directory
    make[1]: *** [Documentation/DocBook/deviceiobook.xml] Error 1

    docproc: lin2628-rc1/include/asm-x86/atomic_32.h: No such file or directory
    make[1]: *** [Documentation/DocBook/kernel-api.xml] Error 1

    docproc: lin2628-rc1/include/asm-x86/mca_dma.h: No such file or directory
    make[1]: *** [Documentation/DocBook/mcabook.xml] Error 1

    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Randy Dunlap