diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2000-08-04 20:28:53 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2000-08-04 20:28:53 +0000 |
commit | 872d76854dac7b594ad32f002a92014b4de02e3e (patch) | |
tree | 06a4fb0c7be7c2b352d52c31b0a734039144453b /sys/i386/include/apm_bios.h | |
parent | abf58c4712b405c6e2630b16f2e1128903b2be51 (diff) | |
download | FreeBSD-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.h | 1 |
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 |