diff options
author | nate <nate@FreeBSD.org> | 1996-03-18 22:40:57 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-03-18 22:40:57 +0000 |
commit | 4995ce37e88a881c127cba2e8890756b50b75c6f (patch) | |
tree | f8bd35adbeae1c122f95e406cb527f837dbdf53f /sys/i386/bios | |
parent | 4c7fdd4f2e93d03bb8c9dc300c8d64c70c135712 (diff) | |
download | FreeBSD-src-4995ce37e88a881c127cba2e8890756b50b75c6f.zip FreeBSD-src-4995ce37e88a881c127cba2e8890756b50b75c6f.tar.gz |
Whoops, forgot the line that sets the default state in devfs.
Diffstat (limited to 'sys/i386/bios')
-rw-r--r-- | sys/i386/bios/apm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c index 049427b..f99ca54 100644 --- a/sys/i386/bios/apm.c +++ b/sys/i386/bios/apm.c @@ -13,7 +13,7 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.28 1996/03/18 21:58:22 nate Exp $ + * $Id: apm.c,v 1.29 1996/03/18 22:29:48 nate Exp $ */ #include "apm.h" @@ -722,6 +722,7 @@ apmattach(struct isa_device *dvp) printf("apm: CS_limit=%x, DS_limit=%x\n", sc->cs_limit, sc->ds_limit); #endif /* APM_DEBUG */ + /* Workaround for some buggy APM BIOS implementations */ sc->cs_limit = 0xffff; sc->ds_limit = 0xffff; @@ -782,6 +783,7 @@ apmattach(struct isa_device *dvp) apm_hook_establish(APM_HOOK_RESUME , &sc->sc_resume); apm_event_enable(sc); + kdc_apm.kdc_state = DC_IDLE; sc->initialized = 1; |