-/* bits in dmftms */
-#define DMF_USRW 0001 /* user modem signal (pin 18) */
-#define DMF_DTR 0002 /* data terminal ready */
-#define DMF_RATE 0004 /* data signal rate select */
-#define DMF_ST 0010 /* secondary transmit */
-#define DMF_RTS 0020 /* request to send */
-#define DMF_BRK 0040 /* pseudo break bit */
-#define DMF_PREEMPT 0200 /* preempt output */
-
-/* flags for modem control */
-#define DMF_ON (DMF_DTR|DMF_RTS)
-#define DMF_OFF 0
-
-/* bits in dmflcr */
-#define DMF_MIE 0040 /* modem interrupt enable */
-#define DMF_FLUSH 0020 /* flush transmit silo */
-#define DMF_RBRK 0010 /* real break bit */
-#define DMF_RE 0004 /* receive enable */
-#define DMF_AUTOX 0002 /* auto XON/XOFF */
-#define DMF_TE 0001 /* transmit enable */
-
-#define DMFLCR_ENA (DMF_MIE|DMF_RE|DMF_TE)
-
-/* bits in dm lsr, copied from dh.c */
-#define DML_USR 0001000 /* usr modem sig, not a real DM bit */
-#define DML_DSR 0000400 /* data set ready, not a real DM bit */
-#define DML_RNG 0000200 /* ring */
-#define DML_CAR 0000100 /* carrier detect */
-#define DML_CTS 0000040 /* clear to send */
-#define DML_SR 0000020 /* secondary receive */
-#define DML_ST 0000010 /* secondary transmit */
-#define DML_RTS 0000004 /* request to send */
-#define DML_DTR 0000002 /* data terminal ready */
-#define DML_LE 0000001 /* line enable */
-
-#define SETLCR(pt, exp) \
- pt->dmfun.dmfirw = (((pt)->dmftms)<<8) | ((exp)&0xff)
+/*
+ * Bits in the configuration register
+ */
+#define DMFC_CONFMASK 0xf000 /* picks off the configuration bits */
+#define DMFC_DR 0x1000 /* DR11 parallel interface */
+#define DMFC_LP 0x2000 /* LP dma parallel lineprinter i'face */
+#define DMFC_SYNC 0x4000 /* Synchronous serial interface */
+#define DMFC_ASYNC 0x8000 /* 8 Serial ports */