Date: Mon, 5 May 2003 15:05:12 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 30639 for review Message-ID: <200305052205.h45M5CMM014986@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=30639 Change 30639 by marcel@marcel_nfs on 2003/05/05 15:04:42 Actually remove a couple more device flags we don't use: COM_NOFIFO, COM_ST16650A, COM_TI16754 and COM_FIFOSIZE are kludges we don't need, now that we probe the FIFO size and we also don't want because we should probe the UART for additional features. COM_NOPROBE was not used before I started axing. COM_NOSCR was mainly used to kludge around phase ordering. We don't need to access the scratch pad, unless we need (want) to destinguish between 8250 and 16450. This depends on the existence of a FIFO and should not be done unconditionally. Affected files ... .. //depot/projects/sio/sys/dev/sio/sio.c#8 edit Differences ... ==== //depot/projects/sio/sys/dev/sio/sio.c#8 (text+ko) ==== @@ -90,16 +90,9 @@ | ((unit) & 0x1f)) #define COM_LOSESOUTINTS(flags) ((flags) & 0x08) -#define COM_NOFIFO(flags) ((flags) & 0x02) #define COM_PPSCTS(flags) ((flags) & 0x10000) -#define COM_ST16650A(flags) ((flags) & 0x20000) -#define COM_C_NOPROBE (0x40000) -#define COM_NOPROBE(flags) ((flags) & COM_C_NOPROBE) #define COM_C_IIR_TXRDYBUG (0x80000) #define COM_IIR_TXRDYBUG(flags) ((flags) & COM_C_IIR_TXRDYBUG) -#define COM_NOSCR(flags) ((flags) & 0x100000) -#define COM_TI16754(flags) ((flags) & 0x200000) -#define COM_FIFOSIZE(flags) (((flags) & 0xff000000) >> 24) /* * com state bits.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305052205.h45M5CMM014986>
