Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2004 02:35:13 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 64478 for review
Message-ID:  <200411070235.iA72ZD8q047486@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=64478

Change 64478 by marcel@marcel_nfs on 2004/11/07 02:34:54

	Define the modes as a bit set so that they can be used as a
	feature set of the SCC class. We can use ffs(3) to iterate
	over the set (destructively of course, but still)...

Affected files ...

.. //depot/projects/uart/dev/scc/scc_bus.h#3 edit

Differences ...

==== //depot/projects/uart/dev/scc/scc_bus.h#3 (text+ko) ====

@@ -40,8 +40,8 @@
 #define	SCC_CLASS_Z8530		1
 
 /* The possible modes supported by the SCC. */
-#define	SCC_MODE_ASYNC		0
-#define	SCC_MODE_BISYNC		1
-#define	SCC_MODE_HDLC		2
+#define	SCC_MODE_ASYNC		0x01
+#define	SCC_MODE_BISYNC		0x02
+#define	SCC_MODE_HDLC		0x04
 
 #endif /* _DEV_SCC_BUS_H_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411070235.iA72ZD8q047486>