rename ibm-acpi driver to thinkpad-acpi
Subsystems (3)
Len,
Please pull from:git://repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git
branch for-upstream/acpi-test
to receive the following patches *already* in acpi-test:
ACPI: ibm-acpi: kill trailing whitespace
ACPI: ibm-acpi: rename some identifiers
ACPI: ibm-acpi: add header file
ACPI: ibm-acpi: organize code
ACPI: ibm-acpi: update copyright notice
ACPI: ibm-acpi: update documentation
ACPI: ibm-acpi: move driver to drivers/misc hierarchy
and to receive the following **new** patches:
ACPI: ibm-acpi: rename driver to thinkpad-acpi
ACPI: thinkpad-acpi: cleanup Kconfig for thinkpad-acpi
ACPI: thinkpad-acpi: add compatibility MODULE_ALIAS entry
ACPI: thinkpad-acpi: cleanup after rename
ACPI: thinkpad-acpi: update MAINTAINERS
As you can notice from the above, the branch contains the patches you have already pulled into acpi-test. I don't know how well git will handle the merging as some *have* been rebased and whitespace-modified since you last pulled them (they are now exactly the same of what you have in acpi-test).
I suppose you could just drop the ones already in acpi-test and get them all again from the above branch, or you can get just the new ones from this thread using git-am. I didn't base the branch on acpi-test, as you previously told me not to do that as it would make matters worse for you.
If you'd rather I prepare these branches in a different way, just tell me how you'd like them done.
Signature · 10 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): 11751443243976-git-send-email-hmh-N3TV7GIv+o9fyO9Q7EP/[email protected]
PATCH 1/5 ACPI: ibm-acpi: rename driver to thinkpad-acpi
Rename the ibm-acpi driver to thinkpad-acpi. ThinkPads are not even made by IBM anymore, so it is high time to rename the driver...
The name thinkpad-acpi was used sometime ago by a thinkpad-specific hotkey driver by Erik Rigtorp, around the 2.6.8-2.6.10 time frame. The driver apparently never got merged into mainline (it did make some trips through -mm). ibm-acpi was merged soon after, making its debut in 2.6.10.
The reuse of the thinkpad-acpi name shouldn't be a problem as far as user confusion goes, as Erik's thinkpad-acpi apparently didn't get widespread use in the Linux ThinkPad community and most hits for thinkpad-acpi in google point to ibm-acpi anyway.
Erik, if you read this, please consider the reuse of the thinkpad-acpi name as a compliment to your effort to make ThinkPads more useful to all of us.
---
Documentation/{ibm-acpi.txt => thinkpad-acpi.txt} | 0
drivers/misc/Makefile | 2 +-
drivers/misc/{ibm_acpi.c => thinkpad_acpi.c} | 2 +-
drivers/misc/{ibm_acpi.h => thinkpad_acpi.h} | 0
4 files changed, 2 insertions(+), 2 deletions(-)
rename Documentation/{ibm-acpi.txt => thinkpad-acpi.txt} (100%)
rename drivers/misc/{ibm_acpi.c => thinkpad_acpi.c} (100%)
rename drivers/misc/{ibm_acpi.h => thinkpad_acpi.h} (100%)Documentation/thinkpad-acpi.txt renamed from Documentation/ibm-acpi.txt +0 -0
drivers/misc/Makefile +1 -1
@@ -12,4 +12,4 @@ obj-$(CONFIG_TIFM_CORE) += tifm_core.o obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o obj-$(CONFIG_SGI_IOC4) += ioc4.o obj-$(CONFIG_SONY_LAPTOP) += sony-laptop.o -obj-$(CONFIG_ACPI_IBM) += ibm_acpi.o +obj-$(CONFIG_ACPI_IBM) += thinkpad_acpi.o
drivers/misc/thinkpad_acpi.c renamed from drivers/misc/ibm_acpi.c +1 -1
@@ -79,7 +79,7 @@* 2004-08-09 0.1 initial release, support for X series */ -#include "ibm_acpi.h" +#include "thinkpad_acpi.h" MODULE_AUTHOR ("Borislav Deianov, Henrique de Moraes Holschuh" );MODULE_DESCRIPTION (IBM_DESC );
drivers/misc/thinkpad_acpi.h renamed from drivers/misc/ibm_acpi.h +0 -0
Signature · 8 lines
1.5.0.3 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
PATCH 2/5 ACPI: thinkpad-acpi: cleanup Kconfig for thinkpad-acpi
In reply to a message not in the archiveSince ibm-acpi was renamed to thinkpad-acpi, rename and update its Kconfig entries and Kconfig-related symbols accordingly.
--- drivers/misc/Kconfig | 37 ++++++++++++++++++++----------------- drivers/misc/Makefile | 2 +- drivers/misc/thinkpad_acpi.c | 26 +++++++++++++------------- drivers/misc/thinkpad_acpi.h | 8 ++++---- 4 files changed, 38 insertions(+), 35 deletions(-)
drivers/misc/Kconfig +20 -17
@@ -122,40 +122,43 @@ config SONY_LAPTOP Read <file:Documentation/sony-laptop.txt> for more information. -config ACPI_IBM - tristate "IBM ThinkPad Laptop Extras" +config THINKPAD_ACPI + tristate "ThinkPad ACPI Laptop Extras" depends on X86 && ACPI select BACKLIGHT_CLASS_DEVICE ---help--- - This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds + This is a driver for the IBM and Lenovo ThinkPad laptops. It adds support for Fn-Fx key combinations, Bluetooth control, video output switching, ThinkLight control, UltraBay eject and more. - For more information about this driver see <file:Documentation/ibm-acpi.txt> - and <http://ibm-acpi.sf.net/> . + For more information about this driver see + <file:Documentation/thinkpad-acpi.txt> and <http://ibm-acpi.sf.net/> . - If you have an IBM ThinkPad laptop, say Y or M here. + This driver was formely known as ibm-acpi. -config ACPI_IBM_DOCK + If you have an IBM or Lenovo ThinkPad laptop, say Y or M here. + +config THINKPAD_ACPI_DOCK bool "Legacy Docking Station Support" - depends on ACPI_IBM + depends on THINKPAD_ACPI depends on ACPI_DOCK=n default n ---help--- - Allows the ibm_acpi driver to handle docking station events. - This support is obsoleted by CONFIG_HOTPLUG_PCI_ACPI. It will - allow locking and removing the laptop from the docking station, - but will not properly connect PCI devices. + Allows the thinkpad_acpi driver to handle docking station events. + This support was made obsolete by the generic ACPI docking station + support (CONFIG_ACPI_DOCK). It will allow locking and removing the + laptop from the docking station, but will not properly connect PCI + devices. If you are not sure, say N here. -config ACPI_IBM_BAY +config THINKPAD_ACPI_BAY bool "Legacy Removable Bay Support" - depends on ACPI_IBM + depends on THINKPAD_ACPI default y ---help--- - Allows the ibm_acpi driver to handle removable bays. It will allow - disabling the device in the bay, and also generate notifications when - the bay lever is ejected or inserted. + Allows the thinkpad_acpi driver to handle removable bays. It will + eletrically disable the device in the bay, and also generate + notifications when the bay lever is ejected or inserted. If you are not sure, say Y here.
drivers/misc/Makefile +1 -1
@@ -12,4 +12,4 @@ obj-$(CONFIG_TIFM_CORE) += tifm_core.o obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o obj-$(CONFIG_SGI_IOC4) += ioc4.o obj-$(CONFIG_SONY_LAPTOP) += sony-laptop.o -obj-$(CONFIG_ACPI_IBM) += thinkpad_acpi.o +obj-$(CONFIG_THINKPAD_ACPI) += thinkpad_acpi.o
drivers/misc/thinkpad_acpi.c +13 -13
@@ -1040,7 +1040,7 @@ static int light_write(char *buf)/* don't list other alternatives as we install a notify handler on the 570 */ IBM_HANDLE (pci, root,"\\_SB.PCI" );/* 570 */ -#ifdef CONFIG_ACPI_IBM_DOCK +#ifdef CONFIG_THINKPAD_ACPI_DOCK IBM_HANDLE(dock, root, "\\_SB.GDCK", /* X30, X31, X40 */ "\\_SB.PCI0.DOCK", /* 600e/x,770e,770x,A2xm/p,T20-22,X20-21 */
@@ -1111,13 +1111,13 @@ static int dock_write(char *buf) return 0; } -#endif /* CONFIG_ACPI_IBM_DOCK */ +#endif /* CONFIG_THINKPAD_ACPI_DOCK */ /************************************************************************* * Bay subdriver */ -#ifdef CONFIG_ACPI_IBM_BAY +#ifdef CONFIG_THINKPAD_ACPI_BAY static int bay_status_supported;static int bay_status2_supported;static int bay_eject_supported;
@@ -1208,7 +1208,7 @@ static int bay_write(char *buf) return 0; } -#endif /* CONFIG_ACPI_IBM_BAY */ +#endif /* CONFIG_THINKPAD_ACPI_BAY */ /************************************************************************* * CMOS subdriver
@@ -2477,7 +2477,7 @@ static struct ibm_struct ibms[] = { .read = light_read, .write = light_write, }, -#ifdef CONFIG_ACPI_IBM_DOCK +#ifdef CONFIG_THINKPAD_ACPI_DOCK { .name = "dock", .read = dock_read,
@@ -2494,7 +2494,7 @@ static struct ibm_struct ibms[] = { .type = ACPI_SYSTEM_NOTIFY, },#endif -#ifdef CONFIG_ACPI_IBM_BAY +#ifdef CONFIG_THINKPAD_ACPI_BAY { .name = "bay", .init = bay_init,
@@ -2504,7 +2504,7 @@ static struct ibm_struct ibms[] = { .handle = &bay_handle, .type = ACPI_SYSTEM_NOTIFY, }, -#endif /* CONFIG_ACPI_IBM_BAY */ +#endif /* CONFIG_THINKPAD_ACPI_BAY */ { .name = "cmos", .read = cmos_read,
@@ -2686,12 +2686,12 @@ IBM_PARAM(hotkey);IBM_PARAM (bluetooth);IBM_PARAM (video);IBM_PARAM (light); -#ifdef CONFIG_ACPI_IBM_DOCK +#ifdef CONFIG_THINKPAD_ACPI_DOCK IBM_PARAM (dock);#endif -#ifdef CONFIG_ACPI_IBM_BAY +#ifdef CONFIG_THINKPAD_ACPI_BAY IBM_PARAM (bay); -#endif /* CONFIG_ACPI_IBM_BAY */ +#endif /* CONFIG_THINKPAD_ACPI_BAY */ IBM_PARAM (cmos);IBM_PARAM (led);IBM_PARAM (beep);
@@ -2725,18 +2725,18 @@ static int __init acpi_ibm_init(void)IBM_HANDLE_INIT (hkey);IBM_HANDLE_INIT (lght);IBM_HANDLE_INIT (cmos); -#ifdef CONFIG_ACPI_IBM_DOCK +#ifdef CONFIG_THINKPAD_ACPI_DOCK IBM_HANDLE_INIT (dock);#endif IBM_HANDLE_INIT (pci); -#ifdef CONFIG_ACPI_IBM_BAY +#ifdef CONFIG_THINKPAD_ACPI_BAY IBM_HANDLE_INIT (bay);if (bay_handle)IBM_HANDLE_INIT (bay_ej);IBM_HANDLE_INIT (bay2);if (bay2_handle)IBM_HANDLE_INIT (bay2_ej); -#endif /* CONFIG_ACPI_IBM_BAY */ +#endif /* CONFIG_THINKPAD_ACPI_BAY */ IBM_HANDLE_INIT (beep);IBM_HANDLE_INIT (ecrd);IBM_HANDLE_INIT (ecwr);
drivers/misc/thinkpad_acpi.h +4 -4
@@ -163,7 +163,7 @@ static int register_ibmacpi_subdriver(struct ibm_struct *ibm);* Bay subdriver */ -#ifdef CONFIG_ACPI_IBM_BAY +#ifdef CONFIG_THINKPAD_ACPI_BAY static int bay_status_supported, bay_eject_supported;static int bay_status2_supported, bay_eject2_supported;
@@ -174,7 +174,7 @@ static int bay_init(void);static void bay_notify (struct ibm_struct *ibm,u32 event);static int bay_read (char *p);static int bay_write (char *buf); -#endif /* CONFIG_ACPI_IBM_BAY */ +#endif /* CONFIG_THINKPAD_ACPI_BAY */ /*
@@ -229,13 +229,13 @@ static int cmos_write(char *buf);*/ static acpi_handle pci_handle; -#ifdef CONFIG_ACPI_IBM_DOCK +#ifdef CONFIG_THINKPAD_ACPI_DOCK static acpi_handle dock_handle;static void dock_notify (struct ibm_struct *ibm,u32 event);static int dock_read (char *p);static int dock_write (char *buf); -#endif /* CONFIG_ACPI_IBM_DOCK */ +#endif /* CONFIG_THINKPAD_ACPI_DOCK */ /*
Signature · 8 lines
1.5.0.3 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
PATCH 3/5 ACPI: thinkpad-acpi: add compatibility MODULE_ALIAS entry
In reply to a message not in the archiveAdd a ibm_acpi module alias for userpace, so that modprobe ibm_acpi will still load the correct driver. This alias can be removed in the future, probably two years from now if nothing warrants removing it sooner.
--- drivers/misc/thinkpad_acpi.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/misc/thinkpad_acpi.c +3 -0
@@ -86,6 +86,9 @@ MODULE_DESCRIPTION(IBM_DESC);MODULE_VERSION (IBM_VERSION );MODULE_LICENSE ("GPL" ); +/* Please remove this in year 2009 */ +MODULE_ALIAS ("ibm_acpi" ); +#define __unused __attribute__ ((unused))/****************************************************************************
Signature · 8 lines
1.5.0.3 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
PATCH 4/5 ACPI: thinkpad-acpi: cleanup after rename
In reply to a message not in the archiveCleanup documentation, driver strings and other misc stuff, now that the driver is named "thinkpad-acpi".
--- Documentation/thinkpad-acpi.txt | 46 ++++++++++++++++++++++---------------- drivers/misc/thinkpad_acpi.c | 18 +++++++++------ drivers/misc/thinkpad_acpi.h | 21 +++++++++-------- 3 files changed, 49 insertions(+), 36 deletions(-)
Documentation/thinkpad-acpi.txt +27 -19
@@ -1,17 +1,22 @@ - IBM ThinkPad ACPI Extras Driver + ThinkPad ACPI Extras Driver - Version 0.13 - 31 December 2006 + Version 0.14 + March 26th, 2007 Borislav Deianov <[email protected]> Henrique de Moraes Holschuh <hmh-N3TV7GIv+o9fyO9Q7EP/[email protected]> http://ibm-acpi.sf.net/ -This is a Linux ACPI driver for the IBM ThinkPad laptops. It supports -various features of these laptops which are accessible through the -ACPI framework but not otherwise fully supported by the generic Linux -ACPI drivers. +This is a Linux driver for the IBM and Lenovo ThinkPad laptops. It +supports various features of these laptops which are accessible +through the ACPI and ACPI EC framework, but not otherwise fully +supported by the generic Linux ACPI drivers. + +This driver used to be named ibm-acpi until kernel 2.6.21 and release +0.13-20070314. It used to be in the drivers/acpi tree, but it was +moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel +2.6.22, and release 0.14. Status
@@ -43,6 +48,8 @@ Please include the following information in your report: - ThinkPad model name - a copy of your DSDT, from /proc/acpi/dsdt + - a copy of the output of dmidecode, with serial numbers + and UUIDs masked off - which driver features work and which don't - the observed behavior of non-working features
@@ -53,8 +60,9 @@ Installation ------------ If you are compiling this driver as included in the Linux kernel -sources, simply enable the CONFIG_ACPI_IBM option (Power Management / -ACPI / IBM ThinkPad Laptop Extras). +sources, simply enable the CONFIG_THINKPAD_ACPI option, and optionally +enable the CONFIG_THINKPAD_ACPI_BAY option if you want the +thinkpad-specific bay functionality. Features --------
@@ -210,7 +218,7 @@ hot plugging of devices in the Linux ACPI framework. If the laptop was booted while not in the dock, the following message is shown in the logs: - Mar 17 01:42:34 aero kernel: ibm_acpi: dock device not present + Mar 17 01:42:34 aero kernel: thinkpad_acpi: dock device not present In this case, no dock-related events are generated but the dock and undock commands described below still work. They can be executed
@@ -270,7 +278,7 @@ This is due to the current lack of support for hot plugging of devices in the Linux ACPI framework. If the laptop was booted without the UltraBay, the following message is shown in the logs: - Mar 17 01:42:34 aero kernel: ibm_acpi: bay device not present + Mar 17 01:42:34 aero kernel: thinkpad_acpi: bay device not present In this case, no bay-related events are generated but the eject command described below still works. It can be executed manually or
@@ -637,12 +645,12 @@ range. The fan cannot be stopped or started with this command. The ThinkPad's ACPI DSDT code will reprogram the fan on its own when certain conditions are met. It will override any fan programming done -through ibm-acpi. +through thinkpad-acpi. -The ibm-acpi kernel driver can be programmed to revert the fan level -to a safe setting if userspace does not issue one of the fan commands: -"enable", "disable", "level" or "watchdog" within a configurable -ammount of time. To do this, use the "watchdog" command. +The thinkpad-acpi kernel driver can be programmed to revert the fan +level to a safe setting if userspace does not issue one of the fan +commands: "enable", "disable", "level" or "watchdog" within a +configurable ammount of time. To do this, use the "watchdog" command. echo 'watchdog <interval>' > /proc/acpi/ibm/fan
@@ -686,8 +694,8 @@ separating them with commas, for example: echo enable,0xffff > /proc/acpi/ibm/hotkey echo lcd_disable,crt_enable > /proc/acpi/ibm/video -Commands can also be specified when loading the ibm_acpi module, for -example: +Commands can also be specified when loading the thinkpad-acpi module, +for example: - modprobe ibm_acpi hotkey=enable,0xffff video=auto_disable + modprobe thinkpad_acpi hotkey=enable,0xffff video=auto_disable
drivers/misc/thinkpad_acpi.c +11 -7
@@ -1,5 +1,5 @@/* -* ibm_acpi.c - IBM ThinkPad ACPI Extras +* thinkpad_acpi.c - ThinkPad ACPI Extras * * * Copyright (C) 2004-2005 Borislav Deianov <[email protected]>
@@ -21,10 +21,12 @@* 02110-1301, USA. */ -#define IBM_VERSION "0.13" +#define IBM_VERSION "0.14"/* * Changelog: +* 2007-03-27 0.14 renamed to thinkpad_acpi and moved to +* drivers/misc. * * 2006-11-22 0.13 new maintainer * changelog now lives in git commit history, and will
@@ -318,7 +320,9 @@ static int __init setup_notify(struct ibm_struct *ibm) }acpi_driver_data (ibm->device) = ibm; -sprintf (acpi_device_class (ibm->device),"%s/%s" ,IBM_NAME , ibm->name); +sprintf (acpi_device_class (ibm->device),"%s/%s" , +IBM_ACPI_EVENT_PREFIX , + ibm->name); status =acpi_install_notify_handler (*ibm->handle, ibm->type, dispatch_notify, ibm);
@@ -458,7 +462,7 @@ static char *next_cmd(char **cmds)* ibm-acpi init subdriver */ -static int ibm_acpi_driver_init (void ) +static int thinkpad_acpi_driver_init (void ) {printk (IBM_INFO "%s v%s\n" ,IBM_DESC ,IBM_VERSION );printk (IBM_INFO "%s\n" ,IBM_URL );
@@ -470,7 +474,7 @@ static int ibm_acpi_driver_init(void)return 0 ; } -static int ibm_acpi_driver_read (char *p) +static int thinkpad_acpi_driver_read (char *p) {int len =0 ;
@@ -2440,8 +2444,8 @@ static struct proc_dir_entry *proc_dir = NULL;static struct ibm_struct ibms[] = { { .name ="driver" , - .init = ibm_acpi_driver_init, - .read = ibm_acpi_driver_read, + .init = thinkpad_acpi_driver_init, + .read = thinkpad_acpi_driver_read, }, { .name ="hotkey" ,
drivers/misc/thinkpad_acpi.h +11 -10
@@ -1,5 +1,5 @@/* -* ibm_acpi.h - IBM ThinkPad ACPI Extras +* thinkpad_acpi.h - ThinkPad ACPI Extras * * * Copyright (C) 2004-2005 Borislav Deianov <[email protected]>
@@ -21,8 +21,8 @@* 02110-1301, USA. */ -#ifndef __IBM_ACPI_H__ -#define __IBM_ACPI_H__ +#ifndef __THINKPAD_ACPI_H__ +#define __THINKPAD_ACPI_H__#include <linux/kernel.h> #include <linux/module.h>
@@ -47,12 +47,13 @@* Main driver */ -#define IBM_NAME "ibm" -#define IBM_DESC "IBM ThinkPad ACPI Extras" -#define IBM_FILE "ibm_acpi" +#define IBM_NAME "thinkpad" +#define IBM_DESC "ThinkPad ACPI Extras" +#define IBM_FILE "thinkpad_acpi"#define IBM_URL "http://ibm-acpi.sf.net/" -#define IBM_DIR IBM_NAME +#define IBM_DIR "ibm" +#define IBM_ACPI_EVENT_PREFIX "ibm"#define IBM_LOG IBM_FILE ": "#define IBM_ERR KERN_ERR IBM_LOG
@@ -99,8 +100,8 @@ static void ibm_handle_init(char *name,/* procfs support */ static struct proc_dir_entry *proc_dir; -static int ibm_acpi_driver_init (void ); -static int ibm_acpi_driver_read (char *p); +static int thinkpad_acpi_driver_init (void ); +static int thinkpad_acpi_driver_read (char *p);/* procfs helpers */ static int dispatch_read(char *page, char **start, off_t off, int count,
@@ -434,4 +435,4 @@ static int wan_read(char *p);static int wan_write (char *buf); -#endif /* __IBM_ACPI_H */ +#endif /* __THINKPAD_ACPI_H */
Signature · 8 lines
1.5.0.3 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
PATCH 5/5 ACPI: thinkpad-acpi: update MAINTAINERS
In reply to a message not in the archiveUpdate MAINTAINERS file for the ibm-acpi -> thinkpad-acpi renaming.
--- MAINTAINERS | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-)
MAINTAINERS +9 -9
@@ -1618,15 +1618,6 @@ W: http://www.ia64-linux.org/ T: git kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6.git S: Maintained -IBM ACPI EXTRAS DRIVER -P: Henrique de Moraes Holschuh -M: ibm-acpi-N3TV7GIv+o9fyO9Q7EP/[email protected] -L: [email protected] -W: http://ibm-acpi.sourceforge.net -W: http://thinkwiki.org/wiki/Ibm-acpi -T: git repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git -S: Maintained - SN-IA64 (Itanium) SUB-PLATFORM P: Jes Sorensen M: jes-sJ/[email protected]
@@ -3118,6 +3109,15 @@ P: Chris Zankel M: [email protected] S: Maintained +THINKPAD ACPI EXTRAS DRIVER +P: Henrique de Moraes Holschuh +M: ibm-acpi-N3TV7GIv+o9fyO9Q7EP/[email protected] +L: [email protected] +W: http://ibm-acpi.sourceforge.net +W: http://thinkwiki.org/wiki/Ibm-acpi +T: git repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git +S: Maintained + UltraSPARC (sparc64): P: David S. Miller M: davem-fT/PcQaiUtIeIZ0/[email protected]
Signature · 8 lines
1.5.0.3 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Len Brown
reviewer+MODULE_ALIAS("ibm_acpi");
good
Quoted 7 lines
Len,
Please pull from:
git://repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git
branch for-upstream/acpi-test
Quoted 8 lines
to receive the following patches *already* in acpi-test:
ACPI: ibm-acpi: kill trailing whitespace
ACPI: ibm-acpi: rename some identifiers
ACPI: ibm-acpi: add header file
ACPI: ibm-acpi: organize code
ACPI: ibm-acpi: update copyright notice
ACPI: ibm-acpi: update documentation
ACPI: ibm-acpi: move driver todrivers/mischierarchy
had these already.
Quoted 6 lines
and to receive the following **new** patches:
ACPI: ibm-acpi: rename driver to thinkpad-acpi
ACPI: thinkpad-acpi: cleanupKconfigfor thinkpad-acpi
ACPI: thinkpad-acpi: add compatibilityMODULE_ALIASentry
ACPI: thinkpad-acpi: cleanup after rename
ACPI: thinkpad-acpi: updateMAINTAINERS
applied these.
Quoted 5 lines
As you can notice from the above, the branch contains the patches you have already pulled into acpi-test. I don't know how well git will handle the merging as some *have* been rebased and whitespace-modified since you last pulled them (they are now exactly the same of what you have in acpi-test).
Quoted 7 lines
I suppose you could just drop the ones already in acpi-test and get them all again from the above branch, or you can get just the new ones from this thread using git-am. I didn't base the branch on acpi-test, as you previously told me not to do that as it would make matters worse for you.
If you'd rather I prepare these branches in a different way, just tell me how you'd like them done.
I'm glad you're using git, it formats the patches perfectly. But, I'll probably always apply the plain patches instead of pulling from your tree. This is because i reserve the right to re-write history of my test branch to suite my own needs, and I don't want to pull back duplicate history from somebody that pulled acpi-test.
thanks,
-Len
Len Brown
reviewerQuoted 2 lines
Quoted 2 lines
ACPI: ibm-acpi: rename driver to thinkpad-acpi
Oh, and if it were me, I'd probably name it simply "thinkpad", but it is your driver, so you can name it what you like.
cheers,
-Len
Quoted 4 lines · Len Brown
Quoted 1 line
Quoted 1 line
ACPI: ibm-acpi: rename driver to thinkpad-acpi
Oh, and if it were me, I'd probably name it simply "thinkpad", but it is your driver, so you can name it what you like.
We shall need the thinkpad-* namespace for other modules soon, both in-tree
and out-of-tree :-) So I added ibm-acpi to that namespace instead of
taking over its root. "thinkpad" is better left unused, or reserved for a module with common code needed by various other thinkpad-* modules.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 5 lines · Len Brown
I'm glad you're using git, it formats the patches perfectly. But, I'll probably always apply the plain patches instead of pulling from your tree. This is because i reserve the right to re-write history of my test branch to suite my own needs, and I don't want to pull back duplicate history from somebody that pulled acpi-test.
THAT is why I never base any of the "for-upstream" patches on acpi-test or acpi-release. I have screwed that up just once: the very first time I sent you a "please pull" request, and you explained to me why it caused you problems to have it based on acpi-test or acpi-release.
Since then, I have been basing everything on linus' tree, tipically on the latest -rc. And I always warn in the "please pull" email if I have to base it on something from linus that is newer than your "linus" checkpoint (this happened only once, so far).
I also keep the "for-upstream" branches around until the stuff in them gets merged by Linus, and I keep them incremental-git-pull-friendly, unless I have to change one of the patches (e.g. to make sure the tree they produce is byte-to-byte identical to what you have commited to acpi-test).
You will get from me only clean history (unless I screw up, of course). My workflow is clean-history-aware, and relies extensively on stgit. I never have dirty history anywhere but in my "compile and run" kernel test tree (I keep it on a separate git repository to avoid any possible mistakes).
But if you prefer to apply the email patches, well, the trees for "upstream pull" will still be needed since I use them to triple-check everything is clean before a git send-email run... so it basically ammounts to the same effort to me to just send patches, just send a pull request, or to send both. Therefore, I will keep sending both for now, just in case it ends up being useful.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh