mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [MINI PATCH] sysctl values for ACPI and APM
@ 2000-11-14 13:14 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2000-11-14 13:14 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, Rik van Riel, andrew.grover, acpi

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
-- 
Stephen Rothwell, Open Source Researcher, Linuxcare, Inc.
+61-2-62628990 tel, +61-2-62628991 fax 
sfr@linuxcare.com, 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-14 13:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-14 13:14 [MINI PATCH] sysctl values for ACPI and APM Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®