home *** CD-ROM | disk | FTP | other *** search
- /*
- * $Header: DH0:SRC/asm/duart/device/RCS/hkduart.h,v 7.0 1992/12/08 11:48:04 Barnard Rel $
- *
- *****************************************************************************
- *
- * H K D U A R T - D E V I C E
- *
- *****************************************************************************
- *
- * defines for the hkduart.device
- *
- *****************************************************************************
- */
-
- #ifndef DEVICES_HKDUART_H
- #define DEVICES_HKDUART_H
-
- /*
- * Commands
- */
-
- #define DUCMD_QUERY CMD_NONSTD /* 0x09 */
- #define DUCMD_BREAK (CMD_NONSTD+1) /* 0x0A */
- #define DUCMD_SETPARAMS (CMD_NONSTD+2) /* 0x0B */
- #define DUCMD_SETCTRLLINES (CMD_NONSTD+7) /* 0x10 ADSG-compatible */
-
-
- #define DUErr_DevBusy 1
- #define DUErr_BaudMismatch 2 /* baud rate not supported by hardware */
- #define DUErr_BufErr 4
- #define DUErr_InvParam 5
- #define DUErr_LineErr 6
- #define DUErr_ParityErr 9
- #define DUErr_TimerErr 11
- #define DUErr_BufOverflow 12
- #define DUErr_DetectedBreak 15
-
- #define DUIOCTLB_RTS 0
- #define DUIOCTLB_DTR 1
- #define DUIOCTLF_RTS (1<<DUIOCTL_RTSB)
- #define DUIOCTLF_DTR (1<<DUIOCTL_DTRB)
-
- #define HKDUARTNAME "hkduart.device"
-
- #endif /* DEVICES_HKDUART_H */
-