Merge with FreeBSD (RELENG_4) src/sys/dev/syscons/syscons.c,
authorChris Pressey <cpressey@dragonflybsd.org>
Sat, 24 Apr 2004 04:32:19 +0000 (04:32 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Sat, 24 Apr 2004 04:32:19 +0000 (04:32 +0000)
commit2123da6d3d25d8b769f0cec354b8659ccedb5411
tree1fa4a35df0f63dc72276d01061d9d830ca9e166c
parent597aea932ac3ac7477bdb343a994fe7948ec9582
Merge ... FreeBSD (RELENG_4) src/sys/dev/syscons/syscons.c,
revisions 1.336.2.16 and 1.336.2.17.

This fixes two bell-related bugs in syscons(4):

- Do not attempt to ring the audible bell if either the frequency
or duration is zero, as these values indicate that the bell is off,
yet can produce odd sounds on some hardware.  (1.336.2.16)

- Do not prevent processes on currently inactive VTY's from waking
up from waiting for the output queue when the visible bell rings on
the currently active VTY.  (1.336.2.17)

Reviewed-by: Hiten Pandya <hmp@backplane.com>
sys/dev/misc/syscons/syscons.c