Removed 'XT_KEYBOARD' option from syscons. Document new-style way of

getting the same behavior using the flags, which can be done inside of
UserConfig.  (Also document other syscons flags which were previously
undocumented).

Requested by:	bde
This commit is contained in:
Nate Williams 1996-11-11 22:01:56 +00:00
parent 1fe048505d
commit 6620cf7868
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19655
6 changed files with 30 additions and 18 deletions

View file

@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
# $Id: LINT,v 1.289 1996/11/11 05:17:34 gibbs Exp $
# $Id: LINT,v 1.290 1996/11/11 20:38:28 bde Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@ -494,7 +494,14 @@ options PCVT_SCANSET=2 # IBM keyboards are non-std
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
options MAXCONS=16 # number of virtual consoles
options SLOW_VGA # do byte-wide i/o's to TS and GDC regs
options XT_KEYBOARD # extra initialization for XT keyboard
#
# `flags' for sc0:
# 0x01 Use a 'visual' bell
# 0x02 Use a 'blink' cursor
# 0x04 Use a 'block' cursor
# 0x08 Force detection of keyboard, else we always assume a keyboard
# 0x10 Old-style (XT) keyboard support, useful for older ThinkPads
#
# This device is mandatory.

View file

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: syscons.c,v 1.183 1996/11/04 21:01:08 sos Exp $
* $Id: syscons.c,v 1.184 1996/11/10 16:44:09 nate Exp $
*/
#include "sc.h"
@ -349,9 +349,6 @@ scprobe(struct isa_device *dev)
*/
if ( dev->id_flags & XT_KEYBD )
xt_keyboard = 1;
#ifdef XT_KEYBOARD
xt_keyboard = 1;
#endif
if ( xt_keyboard ) {
kbd_wait();
outb(KB_DATA, 0xF0);

View file

@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
# $Id: LINT,v 1.289 1996/11/11 05:17:34 gibbs Exp $
# $Id: LINT,v 1.290 1996/11/11 20:38:28 bde Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@ -494,7 +494,14 @@ options PCVT_SCANSET=2 # IBM keyboards are non-std
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
options MAXCONS=16 # number of virtual consoles
options SLOW_VGA # do byte-wide i/o's to TS and GDC regs
options XT_KEYBOARD # extra initialization for XT keyboard
#
# `flags' for sc0:
# 0x01 Use a 'visual' bell
# 0x02 Use a 'blink' cursor
# 0x04 Use a 'block' cursor
# 0x08 Force detection of keyboard, else we always assume a keyboard
# 0x10 Old-style (XT) keyboard support, useful for older ThinkPads
#
# This device is mandatory.

View file

@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
# $Id: LINT,v 1.289 1996/11/11 05:17:34 gibbs Exp $
# $Id: LINT,v 1.290 1996/11/11 20:38:28 bde Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@ -494,7 +494,14 @@ options PCVT_SCANSET=2 # IBM keyboards are non-std
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
options MAXCONS=16 # number of virtual consoles
options SLOW_VGA # do byte-wide i/o's to TS and GDC regs
options XT_KEYBOARD # extra initialization for XT keyboard
#
# `flags' for sc0:
# 0x01 Use a 'visual' bell
# 0x02 Use a 'blink' cursor
# 0x04 Use a 'block' cursor
# 0x08 Force detection of keyboard, else we always assume a keyboard
# 0x10 Old-style (XT) keyboard support, useful for older ThinkPads
#
# This device is mandatory.

View file

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: syscons.c,v 1.183 1996/11/04 21:01:08 sos Exp $
* $Id: syscons.c,v 1.184 1996/11/10 16:44:09 nate Exp $
*/
#include "sc.h"
@ -349,9 +349,6 @@ scprobe(struct isa_device *dev)
*/
if ( dev->id_flags & XT_KEYBD )
xt_keyboard = 1;
#ifdef XT_KEYBOARD
xt_keyboard = 1;
#endif
if ( xt_keyboard ) {
kbd_wait();
outb(KB_DATA, 0xF0);

View file

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: syscons.c,v 1.183 1996/11/04 21:01:08 sos Exp $
* $Id: syscons.c,v 1.184 1996/11/10 16:44:09 nate Exp $
*/
#include "sc.h"
@ -349,9 +349,6 @@ scprobe(struct isa_device *dev)
*/
if ( dev->id_flags & XT_KEYBD )
xt_keyboard = 1;
#ifdef XT_KEYBOARD
xt_keyboard = 1;
#endif
if ( xt_keyboard ) {
kbd_wait();
outb(KB_DATA, 0xF0);