PERFORCE change 30639 for review
    Marcel Moolenaar 
    marcel at FreeBSD.org
       
    Mon May  5 15:05:15 PDT 2003
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=30639
Change 30639 by marcel at 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.
    
    
More information about the p4-projects
mailing list