Date: Sat, 30 Oct 1999 23:04:52 -0700 (PDT) From: Mitsuru IWASAKI <iwasaki@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/apm apm.c src/sys/i386/include clock.h src/sys/i386/isa clock.c Message-ID: <199910310604.XAA32038@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iwasaki 1999/10/30 23:04:52 PDT
Modified files: (Branch: RELENG_3)
sys/i386/apm apm.c
sys/i386/include clock.h
sys/i386/isa clock.c
Log:
MFC:
i8254_restore is called from apm_default_resume() to reload
the countdown register.
this should not be necessary but there are broken laptops that
do not restore the countdown register on resume.
when it happnes, it messes up the hardclock interval and system clock,
which leads to the infamous "calcru: negative time" problem.
Submitted by: kjc, iwasaki
Reviewed by: Steve O'Hara-Smith <steveo@eircom.net> and committers.
Obtained from: PAO3
Approved by: jkh
Revision Changes Path
1.77.2.14 +2 -1 src/sys/i386/apm/apm.c
1.34.2.3 +2 -1 src/sys/i386/include/clock.h
1.129.2.5 +23 -1 src/sys/i386/isa/clock.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910310604.XAA32038>
