mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Whoops, forgot the line that sets the default state in devfs.
This commit is contained in:
parent
206bb9d772
commit
02cf17b17a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14681
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user