summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-08-03 18:45:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-08-03 18:45:41 +0000
commit7bca3d7c5b54d81b05a1125c4c8d015ad1557f8b (patch)
tree3588fb4d98c3195c0b0340c8bdab1eca482b72d7 /sys/arch
parentc9476e2557e0b1e7688f3ef40a52a28a21916831 (diff)
Since we will only attempt to configure a keyboard on line 0 on machines
where line 0 is a keyboard connector, which is never used for serial console, remove an always-true test.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/vax/vsa/dz_ibus.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/sys/arch/vax/vsa/dz_ibus.c b/sys/arch/vax/vsa/dz_ibus.c
index 7cb23e205af..e7ca81df80d 100644
--- a/sys/arch/vax/vsa/dz_ibus.c
+++ b/sys/arch/vax/vsa/dz_ibus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dz_ibus.c,v 1.21 2006/08/01 23:36:51 miod Exp $ */
+/* $OpenBSD: dz_ibus.c,v 1.22 2006/08/03 18:45:40 miod Exp $ */
/* $NetBSD: dz_ibus.c,v 1.15 1999/08/27 17:50:42 ragge Exp $ */
/*
* Copyright (c) 1998 Ludd, University of Lule}, Sweden.
@@ -193,15 +193,12 @@ dz_vsbus_attach(parent, self, aux)
#if NDZKBD > 0
extern struct consdev wsdisplay_cons;
- /* Don't change speed if this is the console */
- if (cn_tab->cn_dev != makedev(getmajor(dzopen), 0)) {
- dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8)
- | DZ_LPR_8_BIT_CHAR;
- daa.daa_line = 0;
- daa.daa_flags =
- (cn_tab == &wsdisplay_cons ? DZKBD_CONSOLE : 0);
- config_found(self, &daa, dz_print);
- }
+ dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8)
+ | DZ_LPR_8_BIT_CHAR;
+ daa.daa_line = 0;
+ daa.daa_flags =
+ (cn_tab == &wsdisplay_cons ? DZKBD_CONSOLE : 0);
+ config_found(self, &daa, dz_print);
#endif
#if NDZMS > 0
dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B4800 << 8) |