This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
QUICC2 - fix serial driver defines
- From: Gary Thomas <gary at mlbassoc dot com>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 24 Jan 2003 08:14:10 -0700
- Subject: QUICC2 - fix serial driver defines
Index: devs/serial/powerpc/quicc2/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/serial/powerpc/quicc2/current/ChangeLog,v
retrieving revision 1.1
diff -u -5 -p -r1.1 ChangeLog
--- devs/serial/powerpc/quicc2/current/ChangeLog 12 Dec 2002 21:15:30 -0000 1.1
+++ devs/serial/powerpc/quicc2/current/ChangeLog 24 Jan 2003 12:34:15 -0000
@@ -1,5 +1,10 @@
+2003-01-24 Gary Thomas <gary@mlbassoc.com> (inspired by)
+2003-01-24 Christoph Csebits <christoph.csebits@frequentis.com>
+
+ * src/quicc2_scc_serial.h: Remove invalid ";" from #defines
+
2002-12-12 Gary Thomas <gthomas@ecoscentric.com>
2002-12-12 Patrick Doyle <wpd@delcomsys.com>
* src/quicc2_scc_serial.h:
* src/quicc2_scc_serial.c:
Index: devs/serial/powerpc/quicc2/current/src/quicc2_scc_serial.h
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/serial/powerpc/quicc2/current/src/quicc2_scc_serial.h,v
retrieving revision 1.1
diff -u -5 -p -r1.1 quicc2_scc_serial.h
--- devs/serial/powerpc/quicc2/current/src/quicc2_scc_serial.h 12 Dec 2002 21:15:31 -0000 1.1
+++ devs/serial/powerpc/quicc2/current/src/quicc2_scc_serial.h 24 Jan 2003 12:32:25 -0000
@@ -112,19 +112,19 @@
#define QUICC2_SCC2_PORTD_PDIR (0x00000010)
// SCC clock Route register constants
#define QUICC2_CMX_SCC1_CLR 0x00ffffff
#define QUICC2_CMX_SCC1_BRG1 0x00000000
-#define QUICC2_CMX_SCC1_BRG2 0x09000000;
-#define QUICC2_CMX_SCC1_BRG3 0x12000000;
-#define QUICC2_CMX_SCC1_BRG4 0x1b000000;
+#define QUICC2_CMX_SCC1_BRG2 0x09000000
+#define QUICC2_CMX_SCC1_BRG3 0x12000000
+#define QUICC2_CMX_SCC1_BRG4 0x1b000000
-#define QUICC2_CMX_SCC2_CLR 0xff00ffff;
-#define QUICC2_CMX_SCC2_BRG1 0x00000000;
-#define QUICC2_CMX_SCC2_BRG2 0x00090000;
-#define QUICC2_CMX_SCC2_BRG3 0x00120000;
-#define QUICC2_CMX_SCC2_BRG4 0x001b0000;
+#define QUICC2_CMX_SCC2_CLR 0xff00ffff
+#define QUICC2_CMX_SCC2_BRG1 0x00000000
+#define QUICC2_CMX_SCC2_BRG2 0x00090000
+#define QUICC2_CMX_SCC2_BRG3 0x00120000
+#define QUICC2_CMX_SCC2_BRG4 0x001b0000
static unsigned int select_word_length[] = {
QUICC2_SCC_PSMR_CLEN(5), // 5 bits / word (char)
QUICC2_SCC_PSMR_CLEN(6),
QUICC2_SCC_PSMR_CLEN(7),
--
------------------------------------------------------------
Gary Thomas |
MLB Associates | Consulting for the
+1 (970) 229-1963 | Embedded world
http://www.mlbassoc.com/ |
email: <gary@mlbassoc.com> |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------