Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/conf Add a small device to control brightness ...



details:   https://anonhg.NetBSD.org/src/rev/60a348129d04
branches:  trunk
changeset: 586240:60a348129d04
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 11 02:11:50 2005 +0000

description:
Add a small device to control brightness on the Sony VAIOs.

diffstat:

 sys/arch/i386/conf/GENERIC        |  7 +++++--
 sys/arch/i386/conf/GENERIC.MPACPI |  7 +++++--
 sys/arch/i386/conf/GENERIC_LAPTOP |  7 +++++--
 sys/arch/i386/conf/VIRTUALPC      |  7 +++++--
 sys/arch/i386/conf/files.i386     |  7 ++++++-
 5 files changed, 26 insertions(+), 9 deletions(-)

diffs (133 lines):

diff -r 951cb162d435 -r 60a348129d04 sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Sun Dec 11 00:55:42 2005 +0000
+++ b/sys/arch/i386/conf/GENERIC        Sun Dec 11 02:11:50 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.712 2005/12/10 11:32:14 elad Exp $
+# $NetBSD: GENERIC,v 1.713 2005/12/11 02:11:50 christos Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.712 $"
+#ident                 "GENERIC-$Revision: 1.713 $"
 
 maxusers       32              # estimated number of users
 
@@ -346,6 +346,9 @@
 #spic*                 at acpi?                # Sony Programmable I/O Controller
 #wsmouse*      at spic?
 
+# Sony LCD brightness etc.
+#sony*                 at acpi?                # Sony Miscellaneous Controller
+
 # Toshiba Libretto devices
 #vald* at acpi?
 
diff -r 951cb162d435 -r 60a348129d04 sys/arch/i386/conf/GENERIC.MPACPI
--- a/sys/arch/i386/conf/GENERIC.MPACPI Sun Dec 11 00:55:42 2005 +0000
+++ b/sys/arch/i386/conf/GENERIC.MPACPI Sun Dec 11 02:11:50 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC.MPACPI,v 1.52 2005/12/07 09:10:14 tsutsui Exp $
+#      $NetBSD: GENERIC.MPACPI,v 1.53 2005/12/11 02:11:50 christos Exp $
 #
 #      GENERIC.MPACPI -- Generic, plus ACPI Multiprocessor support
 #
@@ -8,7 +8,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.52 $"
+#ident                 "GENERIC-$Revision: 1.53 $"
 
 maxusers       32              # estimated number of users
 
@@ -321,6 +321,9 @@
 #spic*                 at acpi?                # Sony Programmable I/O Controller
 #wsmouse*      at spic?
 
+# Sony LCD brightness etc.
+#sony*                 at acpi?                # Sony Miscellaneous Controller
+
 # Toshiba Libretto devices
 #vald* at acpi?
 
diff -r 951cb162d435 -r 60a348129d04 sys/arch/i386/conf/GENERIC_LAPTOP
--- a/sys/arch/i386/conf/GENERIC_LAPTOP Sun Dec 11 00:55:42 2005 +0000
+++ b/sys/arch/i386/conf/GENERIC_LAPTOP Sun Dec 11 02:11:50 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC_LAPTOP,v 1.159 2005/12/07 09:10:14 tsutsui Exp $
+#      $NetBSD: GENERIC_LAPTOP,v 1.160 2005/12/11 02:11:50 christos Exp $
 #      From: NetBSD: GENERIC,v 1.414 2001/07/30 19:59:05 ad Exp
 #
 #      GENERIC_LAPTOP -- GENERIC with cardbus and some USB devices enabled
@@ -8,7 +8,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.159 $"
+#ident                 "GENERIC-$Revision: 1.160 $"
 
 maxusers       32              # estimated number of users
 
@@ -286,6 +286,9 @@
 #spic*                 at acpi?                # Sony Programmable I/O Controller
 #wsmouse*      at spic?
 
+# Sony LCD brightness etc.
+#sony*                 at acpi?                # Sony Miscellaneous Controller
+
 # Plug-and-Play BIOS and attached devices
 
 #pnpbios*      at mainbus?
diff -r 951cb162d435 -r 60a348129d04 sys/arch/i386/conf/VIRTUALPC
--- a/sys/arch/i386/conf/VIRTUALPC      Sun Dec 11 00:55:42 2005 +0000
+++ b/sys/arch/i386/conf/VIRTUALPC      Sun Dec 11 02:11:50 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: VIRTUALPC,v 1.33 2005/12/07 09:10:15 tsutsui Exp $
+# $NetBSD: VIRTUALPC,v 1.34 2005/12/11 02:11:50 christos Exp $
 #
 # VIRTUALPC machine description file --
 #
@@ -11,7 +11,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "VIRTUALPC-$Revision: 1.33 $"
+#ident                 "VIRTUALPC-$Revision: 1.34 $"
 
 maxusers       32              # estimated number of users
 
@@ -305,6 +305,9 @@
 #spic*                 at acpi?                # Sony Programmable I/O Controller
 #wsmouse*      at spic?
 
+# Sony LCD brightness etc.
+#sony*                 at acpi?                # Sony Miscellaneous Controller
+
 # Toshiba Libretto devices
 #vald* at acpi?
 
diff -r 951cb162d435 -r 60a348129d04 sys/arch/i386/conf/files.i386
--- a/sys/arch/i386/conf/files.i386     Sun Dec 11 00:55:42 2005 +0000
+++ b/sys/arch/i386/conf/files.i386     Sun Dec 11 02:11:50 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i386,v 1.273 2005/11/07 11:42:34 yamt Exp $
+#      $NetBSD: files.i386,v 1.274 2005/12/11 02:11:50 christos Exp $
 #
 # new style config file for i386 architecture
 #
@@ -458,6 +458,11 @@
 attach spic at acpi with spic_acpi
 file   arch/i386/acpi/spic_acpi.c              spic_acpi
 
+# Sony Misc (brightness etc.)
+device sony
+attach sony at acpi with sony_acpi
+file   arch/i386/acpi/sony_acpi.c              sony_acpi
+
 # Numeric Processing Extension; Math Co-processor
 attach npx at acpi with npx_acpi
 file   arch/i386/acpi/npx_acpi.c               npx_acpi



Home | Main Index | Thread Index | Old Index