Date: Wed, 20 Jun 2001 09:47:24 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/isa sio.c Message-ID: <200106201647.f5KGlOr12345@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2001/06/20 09:47:24 PDT
Modified files:
sys/isa sio.c
Log:
The serial console break-to-debugger support only functioned while
the console device was open. At other times, the interrupts that
are used to detect the break signal or ~^B sequence were disabled,
so these events would not be noticed until the next open (e.g. the
next kernel printf). This was mainly a problem while there was no
getty running on the console, such as during bootup or shutdown.
For serial consoles with break-to-debugger support, we now enable
the generation of interrupts at attach time, and we leave them
enabled while the device is closed.
Reviewed by: bde (I've since made chages as per his suggestions)
Revision Changes Path
1.336 +22 -2 src/sys/isa/sio.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?200106201647.f5KGlOr12345>
