* [PATCH 1/6] [-mm]: ACPI: add a Kconfig option for ACPI procfs interface
@ 2007-01-06 11:35 Zhang Rui
2007-01-06 17:14 ` [linux-pm] " Randy Dunlap
2007-01-21 5:48 ` [PATCH 1/3] " Zhang Rui
0 siblings, 2 replies; 5+ messages in thread
From: Zhang Rui @ 2007-01-06 11:35 UTC (permalink / raw)
To: lenb; +Cc: linux-acpi@vger, linux-pm
From: Zhang Rui <rui.zhang@intel.com>
Add a kconfig option CONFIG_ACPI_PROCFS to make procfs interface a configurable attribute of ACPI.
No procfs interface is actually deprecated, and no sysfs interface is added in this patch.
CONGI_ACPI_PROCFS is used to mark procfs interface as deprecated once the same function is duplicated in sysfs.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
drivers/acpi/Kconfig | 10 ++++++++++
1 files changed, 10 insertions(+)
Index: linux-2.6.20-rc2-mm1/drivers/acpi/Kconfig
===================================================================
--- linux-2.6.20-rc2-mm1.orig/drivers/acpi/Kconfig 2007-01-05 17:20:09.000000000 +0800
+++ linux-2.6.20-rc2-mm1/drivers/acpi/Kconfig 2007-01-05 17:21:51.000000000 +0800
@@ -77,6 +77,16 @@ config ACPI_SLEEP_PROC_SLEEP
Create /proc/acpi/sleep
Deprecated by /sys/power/state
+config ACPI_PROCFS
+ bool "Procfs interface (deprecated)"
+ depends on ACPI
+ default y
+ ---help---
+ Procfs interface for ACPI is made optional for back-compatible.
+ As the same functions are duplicated in sysfs interface
+ and this proc interface will be removed some time later,
+ it's marked as deprecated.
+
config ACPI_AC
tristate "AC Adapter"
depends on X86
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-pm] [PATCH 1/6] [-mm]: ACPI: add a Kconfig option for ACPI procfs interface
2007-01-06 11:35 [PATCH 1/6] [-mm]: ACPI: add a Kconfig option for ACPI procfs interface Zhang Rui
@ 2007-01-06 17:14 ` Randy Dunlap
2007-01-21 5:48 ` [PATCH 1/3] " Zhang Rui
1 sibling, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2007-01-06 17:14 UTC (permalink / raw)
To: Zhang Rui; +Cc: lenb, linux-acpi@vger, linux-pm
On Sat, 06 Jan 2007 19:35:10 +0800 Zhang Rui wrote:
> From: Zhang Rui <rui.zhang@intel.com>
>
> Add a kconfig option CONFIG_ACPI_PROCFS to make procfs interface a configurable attribute of ACPI.
> No procfs interface is actually deprecated, and no sysfs interface is added in this patch.
> CONGI_ACPI_PROCFS is used to mark procfs interface as deprecated once the same function is duplicated in sysfs.
>
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
> ---
> drivers/acpi/Kconfig | 10 ++++++++++
> 1 files changed, 10 insertions(+)
>
> Index: linux-2.6.20-rc2-mm1/drivers/acpi/Kconfig
> ===================================================================
> --- linux-2.6.20-rc2-mm1.orig/drivers/acpi/Kconfig 2007-01-05 17:20:09.000000000 +0800
> +++ linux-2.6.20-rc2-mm1/drivers/acpi/Kconfig 2007-01-05 17:21:51.000000000 +0800
> @@ -77,6 +77,16 @@ config ACPI_SLEEP_PROC_SLEEP
> Create /proc/acpi/sleep
> Deprecated by /sys/power/state
>
> +config ACPI_PROCFS
> + bool "Procfs interface (deprecated)"
> + depends on ACPI
> + default y
> + ---help---
> + Procfs interface for ACPI is made optional for back-compatible.
> + As the same functions are duplicated in sysfs interface
> + and this proc interface will be removed some time later,
> + it's marked as deprecated.
> +
If it's going to be removed, it should be listed as such in
Documentation/feature-removal-schedule.txt .
---
~Randy
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] [-mm]: ACPI: add a Kconfig option for ACPI procfs interface
2007-01-06 11:35 [PATCH 1/6] [-mm]: ACPI: add a Kconfig option for ACPI procfs interface Zhang Rui
2007-01-06 17:14 ` [linux-pm] " Randy Dunlap
@ 2007-01-21 5:48 ` Zhang Rui
1 sibling, 0 replies; 5+ messages in thread
From: Zhang Rui @ 2007-01-21 5:48 UTC (permalink / raw)
To: lenb; +Cc: linux-acpi@vger
From: Zhang Rui <rui.zhang@intel.com>
Add a kconfig option CONFIG_ACPI_PROCFS to make procfs interface
a configurable attribute of ACPI.
No procfs interface is actually deprecated,
and no sysfs interface is added in this patch.
CONGI_ACPI_PROCFS is used to mark procfs interface as deprecated
once the same function is duplicated in sysfs.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
drivers/acpi/Kconfig | 10 ++++++++++
1 files changed, 10 insertions(+)
Index: linux-2.6.20-rc2-mm1/drivers/acpi/Kconfig
===================================================================
--- linux-2.6.20-rc2-mm1.orig/drivers/acpi/Kconfig 2007-01-05 17:20:09.000000000 +0800
+++ linux-2.6.20-rc2-mm1/drivers/acpi/Kconfig 2007-01-05 17:21:51.000000000 +0800
@@ -77,6 +77,16 @@ config ACPI_SLEEP_PROC_SLEEP
Create /proc/acpi/sleep
Deprecated by /sys/power/state
+config ACPI_PROCFS
+ bool "Procfs interface (deprecated)"
+ depends on ACPI
+ default y
+ ---help---
+ Procfs interface for ACPI is made optional for back-compatible.
+ As the same functions are duplicated in sysfs interface
+ and this proc interface will be removed some time later,
+ it's marked as deprecated.
+
config ACPI_AC
tristate "AC Adapter"
depends on X86
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] [-mm]: ACPI: add a Kconfig option for ACPI procfs interface
@ 2007-01-29 3:02 Zhang Rui
2007-01-30 7:47 ` Len Brown
0 siblings, 1 reply; 5+ messages in thread
From: Zhang Rui @ 2007-01-29 3:02 UTC (permalink / raw)
To: lenb; +Cc: linux-acpi@vger
From: Zhang Rui <rui.zhang@intel.com>
Add a kconfig option CONFIG_ACPI_PROCFS to make procfs interface
a configurable attribute of ACPI.
No procfs interface is actually deprecated,
and no sysfs interface is added in this patch.
CONGI_ACPI_PROCFS is used to mark procfs interface as deprecated
once the same function is duplicated in sysfs.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
Documentation/feature-removal-schedule.txt | 9 +++++++++
drivers/acpi/Kconfig | 10 ++++++++++
2 files changed, 19 insertions(+)
Index: linux-2.6.20-rc4-mm1/drivers/acpi/Kconfig
===================================================================
--- linux-2.6.20-rc4-mm1.orig/drivers/acpi/Kconfig 2007-01-29 09:24:14.000000000 +0800
+++ linux-2.6.20-rc4-mm1/drivers/acpi/Kconfig 2007-01-29 09:24:17.000000000 +0800
@@ -77,6 +77,16 @@ config ACPI_SLEEP_PROC_SLEEP
Create /proc/acpi/sleep
Deprecated by /sys/power/state
+config ACPI_PROCFS
+ bool "Procfs interface (deprecated)"
+ depends on ACPI
+ default y
+ ---help---
+ Procfs interface for ACPI is made optional for back-compatible.
+ As the same functions are duplicated in sysfs interface
+ and this proc interface will be removed some time later,
+ it's marked as deprecated.
+
config ACPI_AC
tristate "AC Adapter"
depends on X86
Index: linux-2.6.20-rc4-mm1/Documentation/feature-removal-schedule.txt
===================================================================
--- linux-2.6.20-rc4-mm1.orig/Documentation/feature-removal-schedule.txt 2007-01-29 09:24:14.000000000 +0800
+++ linux-2.6.20-rc4-mm1/Documentation/feature-removal-schedule.txt 2007-01-29 09:27:02.000000000 +0800
@@ -264,3 +264,12 @@ Why: OSS drivers with ALSA replacement
Who: Adrian Bunk <bunk@stusta.de>
---------------------------
+
+What: ACPI procfs interface
+When: July 2007
+Why: After ACPI sysfs conversion, ACPI attributes will be duplicated
+ in sysfs and the ACPI procfs interface should be removed.
+Who: Zhang Rui <rui.zhang@intel.com>
+
+---------------------------
+
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] [-mm]: ACPI: add a Kconfig option for ACPI procfs interface
2007-01-29 3:02 Zhang Rui
@ 2007-01-30 7:47 ` Len Brown
0 siblings, 0 replies; 5+ messages in thread
From: Len Brown @ 2007-01-30 7:47 UTC (permalink / raw)
To: Zhang Rui; +Cc: linux-acpi@vger
applied 1-3 to acpi-test
thanks,
-Len
On Sunday 28 January 2007 22:02, Zhang Rui wrote:
> From: Zhang Rui <rui.zhang@intel.com>
>
> Add a kconfig option CONFIG_ACPI_PROCFS to make procfs interface
> a configurable attribute of ACPI.
>
> No procfs interface is actually deprecated,
> and no sysfs interface is added in this patch.
>
> CONGI_ACPI_PROCFS is used to mark procfs interface as deprecated
> once the same function is duplicated in sysfs.
>
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
> ---
> Documentation/feature-removal-schedule.txt | 9 +++++++++
> drivers/acpi/Kconfig | 10 ++++++++++
> 2 files changed, 19 insertions(+)
>
> Index: linux-2.6.20-rc4-mm1/drivers/acpi/Kconfig
> ===================================================================
> --- linux-2.6.20-rc4-mm1.orig/drivers/acpi/Kconfig 2007-01-29 09:24:14.000000000 +0800
> +++ linux-2.6.20-rc4-mm1/drivers/acpi/Kconfig 2007-01-29 09:24:17.000000000 +0800
> @@ -77,6 +77,16 @@ config ACPI_SLEEP_PROC_SLEEP
> Create /proc/acpi/sleep
> Deprecated by /sys/power/state
>
> +config ACPI_PROCFS
> + bool "Procfs interface (deprecated)"
> + depends on ACPI
> + default y
> + ---help---
> + Procfs interface for ACPI is made optional for back-compatible.
> + As the same functions are duplicated in sysfs interface
> + and this proc interface will be removed some time later,
> + it's marked as deprecated.
> +
> config ACPI_AC
> tristate "AC Adapter"
> depends on X86
> Index: linux-2.6.20-rc4-mm1/Documentation/feature-removal-schedule.txt
> ===================================================================
> --- linux-2.6.20-rc4-mm1.orig/Documentation/feature-removal-schedule.txt 2007-01-29 09:24:14.000000000 +0800
> +++ linux-2.6.20-rc4-mm1/Documentation/feature-removal-schedule.txt 2007-01-29 09:27:02.000000000 +0800
> @@ -264,3 +264,12 @@ Why: OSS drivers with ALSA replacement
> Who: Adrian Bunk <bunk@stusta.de>
>
> ---------------------------
> +
> +What: ACPI procfs interface
> +When: July 2007
> +Why: After ACPI sysfs conversion, ACPI attributes will be duplicated
> + in sysfs and the ACPI procfs interface should be removed.
> +Who: Zhang Rui <rui.zhang@intel.com>
> +
> +---------------------------
> +
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-30 7:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-06 11:35 [PATCH 1/6] [-mm]: ACPI: add a Kconfig option for ACPI procfs interface Zhang Rui
2007-01-06 17:14 ` [linux-pm] " Randy Dunlap
2007-01-21 5:48 ` [PATCH 1/3] " Zhang Rui
-- strict thread matches above, loose matches on Subject: below --
2007-01-29 3:02 Zhang Rui
2007-01-30 7:47 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox