diff options
author | 2008-08-15 22:44:12 +0000 | |
---|---|---|
committer | 2008-08-15 22:44:12 +0000 | |
commit | b8b39aa8d49f85c4c32aba1ee8b97f72b29ed8cd (patch) | |
tree | 5bfebbe917df752b8337841ae92f0d67e3ccbd37 | |
parent | Move the vxt-specific clock functions frow clock.c to the cpu-specific support (diff) | |
download | wireguard-openbsd-b8b39aa8d49f85c4c32aba1ee8b97f72b29ed8cd.tar.xz wireguard-openbsd-b8b39aa8d49f85c4c32aba1ee8b97f72b29ed8cd.zip |
In dzcninit(), do not forget to enable the receiver in addition to the
transmitter. On machines with glass console for which we do not have
a driver yet, and fall back to serial console, the PROM might not have
enabled it.
-rw-r--r-- | sys/arch/vax/vsa/dz_ibus.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/vax/vsa/dz_ibus.c b/sys/arch/vax/vsa/dz_ibus.c index 5e8cdbdc28e..006ec51707e 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.24 2008/01/23 16:37:57 jsing Exp $ */ +/* $OpenBSD: dz_ibus.c,v 1.25 2008/08/15 22:44:12 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. @@ -329,6 +329,8 @@ dzcninit(cndev) dz->csr = 0; /* Disable scanning until initting is done */ dz->tcr = (1 << minor(cndev->cn_dev)); /* Turn on xmitter */ dz->csr = DZ_CSR_MSE; /* Turn scanning back on */ + dz->rbuf = DZ_LPR_RX_ENABLE | (DZ_LPR_B9600 << 8) | + DZ_LPR_8_BIT_CHAR | minor(cndev->cn_dev) /* line */; } void |