aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/dpms
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-08-23 21:00:40 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-08-23 21:00:40 +0000
commitaa7c1c059f271ed89972971fae505aa4f23208bd (patch)
tree25cd55f31d8acdd83822ecef1f3c0dfa233a2c49 /sys/modules/dpms
parenta2a2d954417780ad45f8fe65cea9991ba8cc2a8b (diff)
downloadsrc-aa7c1c059f271ed89972971fae505aa4f23208bd.tar.gz
src-aa7c1c059f271ed89972971fae505aa4f23208bd.zip
Add a very simple dpms(4) driver that uses the VESA BIOS DPMS calls to
turn off the external display during suspend and restore it to its original state on resume. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=182081
Diffstat (limited to 'sys/modules/dpms')
-rw-r--r--sys/modules/dpms/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/modules/dpms/Makefile b/sys/modules/dpms/Makefile
new file mode 100644
index 000000000000..a58072e994f8
--- /dev/null
+++ b/sys/modules/dpms/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../i386/isa
+
+KMOD= dpms
+SRCS= dpms.c
+SRCS+= bus_if.h device_if.h
+
+.include <bsd.kmod.mk>