summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/cx.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-07-22 16:45:22 +0000
committerbde <bde@FreeBSD.org>1995-07-22 16:45:22 +0000
commit35509aece996a3270a9b30cb7e72b84ed7f0415c (patch)
tree8394b2b46acc5c94b577982d2fdb4c9fa0e24167 /sys/i386/isa/cx.c
parent18829b9aef82ca3456ff7f260ef55cd9c71e4e18 (diff)
downloadFreeBSD-src-35509aece996a3270a9b30cb7e72b84ed7f0415c.zip
FreeBSD-src-35509aece996a3270a9b30cb7e72b84ed7f0415c.tar.gz
Obtained from: partly from ancient patches of mine via 1.1.5
Give names to the magic tty i/o sleep addresses and use them. This makes it easier to remember what the addresses are for and to keep them unique.
Diffstat (limited to 'sys/i386/isa/cx.c')
-rw-r--r--sys/i386/isa/cx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/isa/cx.c b/sys/i386/isa/cx.c
index ff4b6b7..9fd4b2d 100644
--- a/sys/i386/isa/cx.c
+++ b/sys/i386/isa/cx.c
@@ -55,9 +55,11 @@
# define t_out t_outq
# define RB_LEN(q) ((q).c_cc)
# define RB_GETC(q) getc(&q)
+#ifndef TSA_CARR_ON /* FreeBSD 2.x before not long after 2.0.5 */
# define TSA_CARR_ON(tp) tp
# define TSA_OLOWAT(q) ((caddr_t)&(q)->t_out)
#endif
+#endif
#include <machine/cronyx.h>
#include <i386/isa/cxreg.h>
OpenPOWER on IntegriCloud