From fec27f507c19d3c2f6dd6a545faabf74fcfc4a15 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 16 Sep 2003 14:08:54 +0000 Subject: [PATCH] Added definitions for some 16650 features (mostly misfeatures). This completes defining the 16650 register numbers but not all of their bits. --- sys/dev/ic/ns16550.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/dev/ic/ns16550.h b/sys/dev/ic/ns16550.h index 9b47d7984e03..df498c718aef 100644 --- a/sys/dev/ic/ns16550.h +++ b/sys/dev/ic/ns16550.h @@ -133,8 +133,15 @@ /* 16650 registers #2,[4-7]. Access enabled by LCR_EFR_ENABLE. */ #define com_efr 2 /* enhanced features register (R/W) */ +#define EFR_AUTOCTS 0x80 +#define EFR_AUTORTS 0x40 #define EFR_EFE 0x10 /* enhanced functions enable */ +#define com_xon1 4 /* XON 1 character (R/W) */ +#define com_xon2 5 /* XON 2 character (R/W) */ +#define com_xoff1 6 /* XOFF 1 character (R/W) */ +#define com_xoff2 7 /* XOFF 2 character (R/W) */ + #ifdef PC98 /* Hardware extension mode register for RSB-2000/3000. */ #define com_emr com_msr