This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Serial - fix compile error in QUICC driver


-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates
Index: devs/serial/powerpc/quicc/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/serial/powerpc/quicc/current/ChangeLog,v
retrieving revision 1.19
diff -u -5 -p -r1.19 ChangeLog
--- devs/serial/powerpc/quicc/current/ChangeLog	8 Sep 2003 14:55:42 -0000	1.19
+++ devs/serial/powerpc/quicc/current/ChangeLog	8 Oct 2003 19:34:43 -0000
@@ -1,5 +1,9 @@
+2003-10-08  Gary Thomas  <gary@mlbassoc.com>
+
+	* src/quicc_smc_serial.c: Fix compile error for Adder-II (852T)
+
 2003-09-08  Gary Thomas  <gary@mlbassoc.com>
 
 	* src/quicc_smc_serial.h: Fix baud rate clock setup - was off by 1.
 	Reported by Tord Andersson <Tord.Andersson@combitechsystems.com>
 
Index: devs/serial/powerpc/quicc/current/src/quicc_smc_serial.c
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/serial/powerpc/quicc/current/src/quicc_smc_serial.c,v
retrieving revision 1.15
diff -u -5 -p -r1.15 quicc_smc_serial.c
--- devs/serial/powerpc/quicc/current/src/quicc_smc_serial.c	31 Mar 2003 15:50:57 -0000	1.15
+++ devs/serial/powerpc/quicc/current/src/quicc_smc_serial.c	8 Oct 2003 18:17:54 -0000
@@ -724,11 +724,12 @@ quicc_sxx_serial_init(struct cyg_devtab_
                                    0x0000, // PortC mask
 #elif defined(CYGHWR_HAL_POWERPC_MPC8XX_852T)
                                    0x0030, // PortA mask
                                    0x0000, // PortB mask
                                    0x0000, // PortC mask
-#err "Cannot route SCC3"
+#else
+#error "Cannot route SCC3"
 #endif
                                    QUICC_CPM_SCC3
             );
     }
 #endif

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]