Skip to contentSkip to conversation

sysctl values for ACPI and APM

PATCH New Stephen Rothwell 1 participant 1 message Nov 14, 2000

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sysctl values for ACPI and APM

Hi Linus,

Since ACPI is now in the kernel, I figure that its top level sysctl tag should be in sysctl.h. Also, this patch claims an tag for APM as I want to add some sysctl's for APM soon.

By the way, is there a "correct" way to claim sysctl tags?

Cheers,
Stephen

Signature · 50 lines
Stephen Rothwell, Open Source Researcher, Linuxcare, Inc.
+61-2-62628990 tel, +61-2-62628991 fax 
[email protected], http://www.linuxcare.com/ 
Linuxcare. Support for the revolution.

diff -ruN 2.4.0-test11pre4/Documentation/sysctl/README 2.4.0-test11pre4-APM.2/Documentation/sysctl/README
--- 2.4.0-test11pre4/Documentation/sysctl/README	Tue Jul  6 13:04:47 1999
+++ 2.4.0-test11pre4-APM.2/Documentation/sysctl/README	Tue Nov 14 23:36:16 2000
@@ -55,6 +55,8 @@
 by piece basis, or just some 'thematic frobbing'.
 
 The subdirs are about:
+acpi/		Advanced Configuration and Power Interface
+		information and control
 debug/		<empty>
 dev/		device specific information (eg dev/cdrom/info)
 fs/		specific filesystems
diff -ruN 2.4.0-test11pre4/include/linux/acpi.h 2.4.0-test11pre4-APM.2/include/linux/acpi.h
--- 2.4.0-test11pre4/include/linux/acpi.h	Wed Oct  4 10:36:16 2000
+++ 2.4.0-test11pre4-APM.2/include/linux/acpi.h	Tue Nov 14 23:27:10 2000
@@ -208,11 +208,6 @@
 
 enum
 {
-	CTL_ACPI = 10
-};
-
-enum
-{
 	ACPI_FACP = 1,
 	ACPI_DSDT,
 	ACPI_PM1_ENABLE,
diff -ruN 2.4.0-test11pre4/include/linux/sysctl.h 2.4.0-test11pre4-APM.2/include/linux/sysctl.h
--- 2.4.0-test11pre4/include/linux/sysctl.h	Tue Nov 14 23:25:43 2000
+++ 2.4.0-test11pre4-APM.2/include/linux/sysctl.h	Tue Nov 14 23:57:10 2000
@@ -57,7 +57,9 @@
 	CTL_FS=5,		/* Filesystems */
 	CTL_DEBUG=6,		/* Debugging */
 	CTL_DEV=7,		/* Devices */
-	CTL_BUS=8		/* Buses */
+	CTL_BUS=8,		/* Buses */
+	CTL_APM=9,		/* Advanced Power Management */
+	CTL_ACPI=10,		/* Advanced Configuration and Power Interface */
 };
 
 /* CTL_BUS names: */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/