summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/apm_bios.h
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2000-08-04 20:28:53 +0000
committeriwasaki <iwasaki@FreeBSD.org>2000-08-04 20:28:53 +0000
commit872d76854dac7b594ad32f002a92014b4de02e3e (patch)
tree06a4fb0c7be7c2b352d52c31b0a734039144453b /sys/i386/include/apm_bios.h
parentabf58c4712b405c6e2630b16f2e1128903b2be51 (diff)
downloadFreeBSD-src-872d76854dac7b594ad32f002a92014b4de02e3e.zip
FreeBSD-src-872d76854dac7b594ad32f002a92014b4de02e3e.tar.gz
Cleanup debug messages and Add some enhancements from linux on
display control by apm -d. - Remove APM_DEBUG to avoid re-build kernel with such a unspported optioin. - Introduce new denug flag `debug.apm_debug' which can be controlled by sysctl interface and loader by setting like "debug.apm_debug=1", you will get debug messages from APM driver. - Add some enhancements from linux on display control by apm -d. I'm expecting that we can see some improvements on some laptops where apm -d doesn't work correctly so far. Reviewed by: -mobile and -current folks (no objection) Suggested by: Susumu WAKABAYASHI <susumu@wakabaya.net>
Diffstat (limited to 'sys/i386/include/apm_bios.h')
-rw-r--r--sys/i386/include/apm_bios.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/apm_bios.h b/sys/i386/include/apm_bios.h
index 2ebffdf..768d0d7 100644
--- a/sys/i386/include/apm_bios.h
+++ b/sys/i386/include/apm_bios.h
@@ -95,6 +95,7 @@
#define PMDV_ALLDEV 0x0001
#define PMDV_DISP0 0x0100
#define PMDV_DISP1 0x0101
+#define PMDV_DISPALL 0x01ff
#define PMDV_2NDSTORAGE0 0x0200
#define PMDV_2NDSTORAGE1 0x0201
#define PMDV_2NDSTORAGE2 0x0202
OpenPOWER on IntegriCloud