- Jan 09, 2009
-
-
Tony Vroon authored
GBLS and GBLL only differ in the clearing of the GHKS flag, so there is no need to have two backlight level readouts. Also, per Peter Gruber, the need for the BLNF check has disappeared. As a result, cleanups can be made in the code. This has been tested on the both the S6410 and the S6420 platforms and causes no functionality regressions, on the console without X or within X. One module parameter to disable the hotkeys is dropped, as we only ever took one codepath anyway. Signed-off-by:
Tony Vroon <tony@linx.net> Tested-by:
Peter Gruber <nokos@gmx.net> Tested-By:
Stephen Gildea <stepheng+linux@gildea.com> Acked-by:
Jonathan Woithe <jwoithe@physics.adelaide.edu.au> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Tony Vroon authored
The FUNC interface in the Fujitsu-Siemens DSDT was unused until now. It exposes state information that is now reported in additional platform files (whether the radios are killed by the hardware switch or operational, whether the machine is docked and whether the lid is open). Support for the backlight class is now extended with the ability to power the backlight on & off. Optional support for the LED class allows the keyboard headlamps found on the U810 netbook and the Fujitsu logo illumination on the P8010 notebook to be turned on & off. This was fed through checkpatch.pl and tested on the S6420, P8010 & U810 platforms. Signed-off-by:
Stephen Gildea <stepheng+linux@gildea.com> Tested-by:
Stephen Gildea <stepheng+linux@gildea.com> Tested-by:
Julian Brown <jules@panic.cs-bristol.org.uk> Signed-off-by:
Tony Vroon <tony@linx.net> Tested-by:
Peter Gruber <nokos@gmx.net> Acked-by:
Jonathan Woithe <jwoithe@physics.adelaide.edu.au> Signed-off-by:
Len Brown <len.brown@intel.com>
-
- Jan 08, 2009
-
-
Matthew Garrett authored
Add a driver for controlling Dell-specific backlight and rfkill interfaces. This driver makes use of the dcdbas interface to the Dell firmware to allow the backlight and rfkill interfaces on Dell systems to be driven through the standardised sysfs interfaces. Signed-off-by:
Matthew Garrett <mjg@redhat.com> Cc: Matt Domsch <Matt_Domsch@dell.com> Cc: Ivo van Doorn <ivdoorn@gmail.com> Cc: Len Brown <lenb@kernel.org> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Stephen Hemminger authored
Convert to net_device_ops and internal net_device_stats Signed-off-by:
Stephen Hemminger <shemminger@vyatta.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Jan 06, 2009
-
-
Brent Casavant authored
Modify ioc4 to always load the sgiioc4 IDE module if the board carrying the IOC4 hardware actually implements the IDE interface (not all boards bring this functionality off the IOC4 chip). A drive hosted on the IDE interface may contain the root filesystem, and sgiioc4 doesn't load automatically as ioc4 owns the PCI device ID, not sgiioc4. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by:
Michael Reed <mdr@sgi.com> Signed-off-by:
Brent Casavant <bcasavan@sgi.com> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Arjan van de Ven authored
Use the newly introduced pci_ioremap_bar() function in drivers/misc. pci_ioremap_bar() just takes a pci device and a bar number, with the goal of making it really hard to get wrong, while also having a central place to stick sanity checks. Signed-off-by:
Arjan van de Ven <arjan@linux.intel.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Kay Sievers authored
CC: Jack Steiner <steiner@sgi.com> Signed-off-by:
Kay Sievers <kay.sievers@vrfy.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Kay Sievers authored
Signed-off-by:
Kay Sievers <kay.sievers@vrfy.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Frederik Schwarzer authored
It is always "an" if there is a vowel _spoken_ (not written). So it is: "an hour" (spoken vowel) but "a uniform" (spoken 'j') Signed-off-by:
Frederik Schwarzer <schwarzerf@gmail.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Nick Andrew authored
Fix incorrect use of loose in event.c It should be 'lose', not 'loose'. Signed-off-by:
Nick Andrew <nick@nick-andrew.net> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Jan 05, 2009
-
-
Al Viro authored
... and don't bother in callers. Don't bother with zeroing i_blocks, while we are at it - it's already been zeroed. i_mode is not worth the effort; it has no common default value. Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
-
- Jan 02, 2009
-
-
Kay Sievers authored
[jejb: limit ioctl to returning 20 characters to avoid overrun on long device names and add a few more conversions] Signed-off-by:
Kay Sievers <kay.sievers@vrfy.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by:
James Bottomley <James.Bottomley@HansenPartnership.com>
-
- Dec 31, 2008
-
-
Lin Ming authored
External driver files should not include any private acpica headers. Signed-off-by:
Lin Ming <ming.m.lin@intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Lin Ming authored
ACPI_FUNCTION_TRACE is an internal acpica function. remove ACPI_FUNCTION_TRACE from driver file Signed-off-by:
Lin Ming <ming.m.lin@intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Lin Ming authored
Avoid using internal acpica structures acpi_namespace_node and acpi_operand_object Call acpi_get_object_info to get node ascii name and method arg count Signed-off-by:
Lin Ming <ming.m.lin@intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
-
- Dec 23, 2008
-
-
Corentin Chary authored
As len said: "Kconfig should offer users features, and not make users devine their dependencies. Signed-off-by:
Corentin Chary <corentincj@iksaif.net> Signed-off-by:
Len Brown <len.brown@intel.com>
-
- Dec 19, 2008
-
-
Len Brown authored
Move x86 platform specific drivers from drivers/misc/ to a new home under drivers/platform/x86/. The community has been maintaining x86 vendor-specific platform specific drivers under /drivers/misc/ for a few years. The oldest ones started life under drivers/acpi. They moved out of drivers/acpi/ because they don't actually implement the ACPI specification, but either simply use ACPI, or implement vendor-specific ACPI extensions. In the future we anticipate... drivers/misc/ will go away. other architectures will create drivers/platform/<arch> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Len Brown authored
tabs->space and delete unnecessary dummy build-in.o rule. Suggested-by:
Sam Ravnborg <sam@ravnborg.org> Signed-off-by:
Len Brown <len.brown@intel.com>
-
- Dec 16, 2008
-
-
Russ Anderson authored
Impact: fix crash xpc needs to pass the physical address, not virtual. Testing uncovered this problem. The virtual address happens to work most of the time due to the way bios was masking off the node bits. Passing the physical address makes it work all of the time. Signed-off-by:
Russ Anderson <rja@sgi.com> Acked-by:
Dean Nelson <dcn@sgi.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
-
- Dec 09, 2008
-
-
Jack Steiner authored
Eliminate compile error when compiling without CONFIG_HUGETLB_PAGE. Signed-off-by:
Jack Steiner <steiner@sgi.com> Signed-off-by:
Tony Luck <tony.luck@intel.com>
-
- Dec 04, 2008
-
-
Wang Chen authored
Simply replace netdev->priv with netdev_priv(). [ Kill unnecessary casts, noticed by Ilpo -DaveM ] Signed-off-by:
Wang Chen <wangchen@cn.fujitsu.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Dec 02, 2008
-
-
Dean Nelson authored
If xpc.ko and gru.ko are both statically linked into the kernel, then xpc_init() can get called before gru_init() and make a call to one of the gru's exported functions before the gru has initialized itself. The end result is a NULL dereference. Signed-off-by:
Dean Nelson <dcn@sgi.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Nov 27, 2008
-
-
Henrique de Moraes Holschuh authored
This fixes a regression from v2.6.27, caused by commit 5814f737e1cd2cfa2893badd62189acae3e1e1fd, "ACPI: thinkpad-acpi: attempt to preserve fan state on resume". It is possible for fan_suspend() to fail to properly initialize fan_control_desired_level as required by fan_resume(), resulting on the fan always being set to level 7 on resume if the user didn't touch the fan controller. In order to get fan sleep/resume handling to work right: 1. Fix the fan_suspend handling of the T43 firmware quirk. If it is still undefined, we didn't touch the fan yet and that means we have no business doing it on resume. 2. Store the fan level on its own variable to avoid any possible issues with hijacking fan_control_desired_level (which isn't supposed to have anything other than 0-7 in it, anyway). 3. Change the fan_resume code to me more straightforward to understand (although we DO optimize the boolean logic there, otherwise it looks disgusting). 4. Add comments to help understand what the code is supposed to be doing. 5. Change fan_set_level to be less strict about how auto and full-speed modes are requested. http://bugzilla.kernel.org/show_bug.cgi?id=11982 Signed-off-by:
Henrique de Moraes Holschuh <hmh@hmh.eng.br> Reported-by:
Tino Keitel <tino.keitel@tikei.de> Signed-off-by:
Len Brown <len.brown@intel.com>
-
- Nov 26, 2008
-
-
Alessandro Guido authored
There's no need to print "Sony: " just after "sony-laptop: " (DRV_PFX). Signed-off-by:
Alessandro Guido <ag@alessandroguido.name> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Alessandro Guido authored
After commit 540b8bb9: sony-laptop: fingers off backlight if video.ko is serving this functionality I can't set brightness on my sony laptop (nothing in /sys/class/backlight). dmesg says "sony-laptop: Sony: Brightness ignored, must be controlled by ACPI video driver". The function acpi_video_backlight_support returns 0 if we should use the vendor-specific backlight support, while non-0 if the ACPI generic should be used. Because of this, the check introduced by the said commit appears reversed. Signed-off-by:
Alessandro Guido <ag@alessandroguido.name> Signed-off-by:
Len Brown <len.brown@intel.com>
-
- Nov 20, 2008
-
-
Jack Steiner authored
Enable -D DEBUG in the GRU Makefile if CONFIG_SGI_GRU_DEBUG is selected. Signed-off-by:
Jack Steiner <steiner@sgi.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Nov 15, 2008
-
-
Geert Uytterhoeven authored
m68k allmodconfig: | drivers/misc/c2port/core.c: In function 'c2port_reset': | drivers/misc/c2port/core.c:73: error: dereferencing pointer to incomplete type | drivers/misc/c2port/core.c: In function 'c2port_strobe_ck': | drivers/misc/c2port/core.c:91: error: dereferencing pointer to incomplete type Include <linux/sched.h> to fix it, as m68k's local_irq_enable() needs to know about struct task_struct. Signed-off-by:
Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Nov 13, 2008
-
-
Rodolfo Giometti authored
Signed-off-by:
Rodolfo Giometti <giometti@linux.it> Cc: Greg KH <greg@kroah.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Rodolfo Giometti authored
C2port implements a two wire serial communication protocol (bit banging) designed to enable in-system programming, debugging, and boundary-scan testing on low pin-count Silicon Labs devices. Currently this code supports only flash programming through sysfs interface but extensions shoud be easy to add. Signed-off-by:
Rodolfo Giometti <giometti@linux.it> Cc: Greg KH <greg@kroah.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Darrick J. Wong authored
The ics932s401 is a clock generator chip. This driver allows users to read the current clock outputs. Signed-off-by:
Darrick J. Wong <djwong@us.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Nov 12, 2008
-
-
Tony Vroon authored
The Lifebook S6420 is the ICH9M-based follow-up to the S6410. The application panel contains the following keys: lock, mobility center, eco, info. Whilst key 4 might be more appropriate for help then key 2, I've done things the S6410 way. I can confirm that backlight control is functional, and that the lock key activates the Gnome screensaver as expected. Signed-off-by:
Tony Vroon <tony@linx.net> Acked-by:
Jonathan Woithe <jwoithe@physics.adelaide.edu.au> Signed-off-by:
Len Brown <len.brown@intel.com>
-
- Nov 11, 2008
-
-
Cliff Wickman authored
Impact: fix double entry creation in /proc There is a collision between two UV functions: both uv_ptc_init() and gru_proc_init() try to make /proc/sgi_uv So move it's creation to a single place: uv_system_init() Signed-off-by:
Cliff Wickman <cpw@sgi.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
-
- Nov 08, 2008
-
-
Thomas Renninger authored
Signed-off-by:
Thomas Renninger <trenn@suse.de> Acked-by:
Zhang Rui <rui.zhang@intel.com> Acked-by:
Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by:
Andi Kleen <ak@linux.intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Thomas Renninger authored
Signed-off-by:
Thomas Renninger <trenn@suse.de> Acked-by:
Zhang Rui <rui.zhang@intel.com> Signed-off-by:
Andi Kleen <ak@linux.intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Thomas Renninger authored
Signed-off-by:
Thomas Renninger <trenn@suse.de> Acked-by:
Zhang Rui <rui.zhang@intel.com> Signed-off-by:
Andi Kleen <ak@linux.intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Thomas Renninger authored
Signed-off-by:
Thomas Renninger <trenn@suse.de> Acked-by:
Zhang Rui <rui.zhang@intel.com> Signed-off-by:
Andi Kleen <ak@linux.intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Thomas Renninger authored
Signed-off-by:
Thomas Renninger <trenn@suse.de> Acked-by:
Zhang Rui <rui.zhang@intel.com> Signed-off-by:
Andi Kleen <ak@linux.intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Thomas Renninger authored
Signed-off-by:
Thomas Renninger <trenn@suse.de> Acked-by:
Zhang Rui <rui.zhang@intel.com> Signed-off-by:
Andi Kleen <ak@linux.intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Thomas Renninger authored
Signed-off-by:
Thomas Renninger <trenn@suse.de> Acked-by:
Zhang Rui <rui.zhang@intel.com> Signed-off-by:
Andi Kleen <ak@linux.intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
-
Thomas Renninger authored
Signed-off-by:
Thomas Renninger <trenn@suse.de> Acked-by:
Zhang Rui <rui.zhang@intel.com> Signed-off-by:
Andi Kleen <ak@linux.intel.com> Acked-by:
Carlos Corbacho <carlos@strangeworlds.co.uk> Signed-off-by:
Len Brown <len.brown@intel.com>
-