14 Jun, 2020

1 commit

  • Since commit 84af7a6194e4 ("checkpatch: kconfig: prefer 'help' over
    '---help---'"), the number of '---help---' has been gradually
    decreasing, but there are still more than 2400 instances.

    This commit finishes the conversion. While I touched the lines,
    I also fixed the indentation.

    There are a variety of indentation styles found.

    a) 4 spaces + '---help---'
    b) 7 spaces + '---help---'
    c) 8 spaces + '---help---'
    d) 1 space + 1 tab + '---help---'
    e) 1 tab + '---help---' (correct indentation)
    f) 1 tab + 1 space + '---help---'
    g) 1 tab + 2 spaces + '---help---'

    In order to convert all of them to 1 tab + 'help', I ran the
    following commend:

    $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

28 May, 2020

1 commit


23 Jan, 2020

1 commit

  • Adjust indentation from spaces to tab (+optional two spaces) as in
    coding style with command like:
    $ sed -e 's/^ /\t/' -i */Kconfig

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Michael Ellerman
    Link: https://lore.kernel.org/r/20191120134115.14918-1-krzk@kernel.org

    Krzysztof Kozlowski
     

21 May, 2019

1 commit


31 Jul, 2018

3 commits

  • Now that the PowerMac via-pmu driver supports m68k PowerBooks,
    switch over to that driver and remove the via-pmu68k driver.

    Tested-by: Stan Johnson
    Signed-off-by: Finn Thain
    Reviewed-by: Geert Uytterhoeven
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Michael Ellerman

    Finn Thain
     
  • At present, CONFIG_ADB_PMU depends on CONFIG_PPC_PMAC. When this gets
    relaxed to CONFIG_PPC_PMAC || CONFIG_MAC, those Kconfig symbols with
    implicit deps on PPC_PMAC will need explicit deps. Add them now.
    No functional change.

    Tested-by: Stan Johnson
    Signed-off-by: Finn Thain
    Signed-off-by: Michael Ellerman

    Finn Thain
     
  • Put #ifdefs around the Open Firmware, xmon, interrupt dispatch,
    battery and suspend code. Add the necessary interrupt handling to
    support m68k PowerBooks.

    The pmu_kind value is available to userspace using the
    PMU_IOC_GET_MODEL ioctl. It is not clear yet what hardware classes
    are be needed to describe m68k PowerBook models, so pmu_kind is given
    the provisional value PMU_UNKNOWN.

    To find out about the hardware, user programs can use /proc/bootinfo
    or /proc/hardware, or send the PMU_GET_VERSION command using /dev/adb.

    Tested-by: Stan Johnson
    Signed-off-by: Finn Thain
    Signed-off-by: Michael Ellerman

    Finn Thain
     

07 Feb, 2017

1 commit


14 Nov, 2016

1 commit


27 Jun, 2016

1 commit


15 Oct, 2015

1 commit


20 Dec, 2014

1 commit


08 Dec, 2013

1 commit


31 Oct, 2013

1 commit

  • for quite some time the following is printed (twice) after doing
    "make oldconfig":

    [...]
    scripts/kconfig/conf --oldconfig Kconfig
    warning: (ADB_PMU_LED_IDE) selects LEDS_TRIGGER_IDE_DISK which has unmet direct dependencies (NEW_LEDS && IDE_GD_ATA && LEDS_TRIGGERS)
    warning: (ADB_PMU_LED_IDE) selects LEDS_TRIGGER_IDE_DISK which has unmet direct dependencies (NEW_LEDS && IDE_GD_ATA && LEDS_TRIGGERS)

    The following patch causes ADB_PMU_LED to depend on IDE_GD_ATA, so that
    the options above are only available when IDE_GD_ATA is actually selected
    and thus eliminates the warning.

    Signed-off-by: Christian Kujau
    Signed-off-by: Benjamin Herrenschmidt

    Christian Kujau
     

22 Jan, 2013

1 commit

  • The CONFIG_EXPERIMENTAL config item has not carried much meaning for a
    while now and is almost always enabled by default. As agreed during the
    Linux kernel summit, remove it from any "depends on" lines in Kconfigs.

    CC: Benjamin Herrenschmidt
    Signed-off-by: Kees Cook
    Signed-off-by: Greg Kroah-Hartman

    Kees Cook
     

30 Apr, 2012

1 commit


03 Dec, 2010

1 commit

  • It's not useful to build LED triggers when there's no LEDs that can be
    triggered by them. Therefore, fix up the dependencies so that this
    cannot happen, and fix a few users that select triggers to depend on
    LEDS_CLASS as well (there is also one user that also selects LEDS_CLASS,
    which is OK).

    Signed-off-by: Johannes Berg
    Reported-by: Randy Dunlap
    Acked-by: Randy Dunlap
    Tested-by: Ingo Molnar
    Cc: Arnd Hannemann
    Cc: Michal Hocko
    Cc: Richard Purdie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Berg
     

29 Oct, 2010

1 commit

  • The ams driver isn't a hardware monitoring driver, so it shouldn't
    live under driver/hwmon. drivers/macintosh seems much more
    appropriate, as the driver is only useful on PowerBooks and iBooks.

    Signed-off-by: Jean Delvare
    Cc: Guenter Roeck
    Cc: Stelian Pop
    Cc: Michael Hanselmann
    Cc: Benjamin Herrenschmidt
    Cc: Grant Likely

    Jean Delvare
     

30 Jan, 2010

2 commits

  • Not all systems require Mac-style button emulation, however distributions
    enable it by default so it is readily available. Allow compiling it as a
    module so it can be loaded only on systems that actually require it.

    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     
  • Current implementation of Mac mouse button emulation plugs into legacy
    keyboard driver, converts certain keys into button events on a separate
    device, and suppresses the real events from reaching tty. This worked
    well enough until user space started using evdev which was completely
    unaware of this arrangement and kept sending original key presses to
    its users. Change the implementation to use newly added input filter
    framework so that original key presses are not transmitted to any
    handlers.

    As a bonus remove SYSCTL dependencies from the code and use Kconfig
    instead; also do not create the emulated mouse device until user
    activates emulation.

    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     

22 Apr, 2009

1 commit


06 Jan, 2009

1 commit


29 Apr, 2008

1 commit

  • This implements a new driver named windfarm_pm121, which drives the
    fans on PowerMac 12,1 machines : iMac G5 iSight (rev C) 17" and
    20". It's based on the windfarm_pm81 driver from Benjamin
    Herrenschmidt.

    This includes fixes from David Woodhouse correcting the names of some
    of the sensors.

    Signed-off-by: Étienne Bersac
    Signed-off-by: David Woodhouse
    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Étienne Bersac
     

13 Oct, 2007

1 commit


26 Sep, 2007

1 commit


19 Aug, 2007

1 commit


23 Jun, 2007

1 commit


21 Jun, 2007

1 commit


02 Jun, 2007

1 commit


23 May, 2007

1 commit

  • Fix config warning related to select usage:

    drivers/macintosh/Kconfig:117:warning: 'select' used by config symbol 'PMAC_APM_EMU' refers to undefined symbol 'SYS_SUPPORTS_APM_EMULATION'

    Signed-off-by: Kumar Gala

    Kumar Gala
     

09 May, 2007

1 commit


02 May, 2007

2 commits


10 Feb, 2007

1 commit

  • As macbook/macbook pro's also have to live with a single mouse button the
    following patch just enables the Macintosh device drivers menu in Kconfig +
    adds the macintosh dir to the obj-* to make macbook* users happy (who use
    exactly that since months....

    Signed-off-by: Soeren Sonnenburg
    Cc: Benjamin Herrenschmidt
    Cc: Paul Mackerras
    Cc: Dmitry Torokhov
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Soeren Sonnenburg
     

08 Dec, 2006

1 commit


04 Dec, 2006

1 commit

  • This is a small driver for the Xserve G5 CPU-meter blue LEDs on the
    front-panel. It might work on the Xserve G4 as well though that was
    not tested. It's pretty basic and could use some improvements if
    somebody cares doing them. :)

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     

17 Nov, 2006

1 commit

  • Mouse button emulation for the one-button mouse Apple machines isn't
    restricted to older ADB based machines. There are PPC Powerbooks where
    the keyboard and the mouse are no longer on the ADB bus but regular USB,
    and users still like (and need) to be able to emulate the middle mouse
    button with F11 and the right mouse button with F12.

    Signed-off-by: Dmitry Torokhov

    Stelian Pop
     

04 Oct, 2006

1 commit


01 Aug, 2006

2 commits

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] Minor comment fix for misc_64.S
    [POWERPC] Use H_CEDE on non-SMT
    [POWERPC] force 64bit mode in fwnmi handlers to workaround firmware bugs
    [POWERPC] PMAC_APM_EMU should depend on ADB_PMU
    [POWERPC] Fix new interrupt code (MPIC detection)
    [POWERPC] Fix new interrupt code (MPIC endianness)
    [POWERPC] Add cpufreq support for Xserve G5
    [POWERPC] Xserve G5 thermal control fixes
    [POWERPC] Fix mem= handling when the memory limit is > RMO size
    [POWERPC] More offb/bootx fixes
    [POWERPC] Fix legacy_serial.c error handling on 32 bits
    [POWERPC] Fix default clock for udbg_16550
    [POWERPC] Fix non-MPIC CHRPs with CONFIG_SMP set
    [POWERPC] Fix 32 bits warning in prom_init.c
    [POWERPC] Workaround Pegasos incorrect ISA "ranges"
    [POWERPC] fix up front-LED Kconfig

    Linus Torvalds
     
  • This patch fixes several problems:
    - The legacy backlight value might be set at interrupt time. Introduced
    a worker to prevent it from directly calling the backlight code.
    - via-pmu allows the backlight to be grabbed, in which case we need to
    prevent other kernel code from changing the brightness.
    - Don't send PMU requests in via-pmu-backlight when the machine is about
    to sleep or waking up.
    - More Kconfig fixes.

    Signed-off-by: Michael Hanselmann
    Cc: Benjamin Herrenschmidt
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Hanselmann