<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-06-03)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-06-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libchip/network/if_dc.c: Fix warning.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/ChangeLog.diff?r1=text&tr1=1.518&r2=text&tr2=1.519&diff_format=h">M</a></td><td width='1%'>1.519</td><td width='100%'>c/src/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/libchip/network/if_dc.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>c/src/libchip/network/if_dc.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/ChangeLog:1.518 rtems/c/src/ChangeLog:1.519
--- rtems/c/src/ChangeLog:1.518 Mon May 31 08:27:07 2010
+++ rtems/c/src/ChangeLog Thu Jun 3 16:00:23 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-06-03 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * libchip/network/if_dc.c: Fix warning.
+
</font> 2010-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/greth.c: Misc. hacks to allow compilation on<span style="background-color: #FF0000"> </span>
<font color='#006600'>diff -u rtems/c/src/libchip/network/if_dc.c:1.18 rtems/c/src/libchip/network/if_dc.c:1.19
--- rtems/c/src/libchip/network/if_dc.c:1.18 Wed Apr 28 08:23:41 2010
+++ rtems/c/src/libchip/network/if_dc.c Thu Jun 3 16:00:23 2010
</font><font color='#997700'>@@ -151,11 +151,7 @@
</font> #include <vm/vm.h> /* for vtophys */
<font color='#880000'>-#if defined(__i386__)
-#define vtophys(p) (u_int32_t)(p)
-#else
-#define vtophys(p) vtophys(p)
-#endif
</font><font color='#000088'>+#define vtophys(p) (uintptr_t)(p)
</font>
/*
#include <net/if_arp.h>
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>thomas</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>fix bug in mount table
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog.diff?r1=text&tr1=1.52&r2=text&tr2=1.53&diff_format=h">M</a></td><td width='1%'>1.53</td><td width='100%'>c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/sd-card-init.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>c/src/lib/libbsp/powerpc/mpc55xxevb/startup/sd-card-init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog:1.52 rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog:1.53
--- rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog:1.52 Thu May 20 09:19:41 2010
+++ rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog Thu Jun 3 15:17:43 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-06-03 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
+
+ * startup/sd-card-init.c: fix bug in mount table
+
</font> 2010-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* network/smsc9218i.c: Removed superfluous macros.
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/sd-card-init.c:1.6 rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/sd-card-init.c:1.7
--- rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/sd-card-init.c:1.6 Tue Jul 21 03:38:04 2009
+++ rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/sd-card-init.c Thu Jun 3 15:17:43 2010
</font><font color='#997700'>@@ -99,12 +99,12 @@
</font>
static fstab_t mpc55xx_fs_table [] = { {
MPC55XX_PARTITION, MPC55XX_MOUNT_POINT,
<font color='#880000'>- &msdos_ops, RTEMS_FILESYSTEM_READ_WRITE,
</font><font color='#000088'>+ "dosfs", RTEMS_FILESYSTEM_READ_WRITE,
</font> FSMOUNT_MNT_OK | FSMOUNT_MNTPNT_CRTERR | FSMOUNT_MNT_FAILED,
FSMOUNT_MNT_OK
}, {
MPC55XX_DEVICE_FILE, MPC55XX_MOUNT_POINT,
<font color='#880000'>- &msdos_ops, RTEMS_FILESYSTEM_READ_WRITE,
</font><font color='#000088'>+ "dosfs", RTEMS_FILESYSTEM_READ_WRITE,
</font> FSMOUNT_MNT_OK | FSMOUNT_MNTPNT_CRTERR | FSMOUNT_MNT_FAILED,
0
}
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>thomas</strong></font>
<font color='#225522'><em>(on branch rtems-4-9-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>backport of access macros for indexed resources
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/ChangeLog.diff?r1=text&tr1=1.27&r2=text&tr2=1.27.2.1&diff_format=h">M</a></td><td width='1%'>1.27.2.1</td><td width='100%'>c/src/lib/libcpu/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/m68k/mcf5282/include/mcf5282.h.diff?r1=text&tr1=1.4.4.1&r2=text&tr2=1.4.4.2&diff_format=h">M</a></td><td width='1%'>1.4.4.2</td><td width='100%'>c/src/lib/libcpu/m68k/mcf5282/include/mcf5282.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/ChangeLog:1.27 rtems/c/src/lib/libcpu/ChangeLog:1.27.2.1
--- rtems/c/src/lib/libcpu/ChangeLog:1.27 Sun Aug 31 12:19:10 2008
+++ rtems/c/src/lib/libcpu/ChangeLog Thu Jun 3 15:27:14 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-06-03 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
+
+ * m68k/mcf5282/include/mcf5282.h: backport from V1.5 of
+ corrections for indexing multiple identical resources
+
</font> 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* arm/at91rm9200/timer/timer.c, arm/lpc22xx/timer/timer.c,
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/m68k/mcf5282/include/mcf5282.h:1.4.4.1 rtems/c/src/lib/libcpu/m68k/mcf5282/include/mcf5282.h:1.4.4.2
--- rtems/c/src/lib/libcpu/m68k/mcf5282/include/mcf5282.h:1.4.4.1 Tue Mar 16 10:53:26 2010
+++ rtems/c/src/lib/libcpu/m68k/mcf5282/include/mcf5282.h Thu Jun 3 15:27:14 2010
</font><font color='#997700'>@@ -277,9 +277,9 @@
</font> #define MCF5282_SCM_MPR_MPR(x) (((x)&0x0F))
#define MCF5282_SCM_PACR_LOCK1 (0x80)
<font color='#880000'>-#define MCF5282_SCM_PACR_ACCESSCTRL1 (((x)&0x07)<<4)
</font><font color='#000088'>+#define MCF5282_SCM_PACR_ACCESSCTRL1(x) (((x)&0x07)<<4)
</font> #define MCF5282_SCM_PACR_LOCK0 (0x08)
<font color='#880000'>-#define MCF5282_SCM_PACR_ACCESSCTRL0 (((x)&0x07))
</font><font color='#000088'>+#define MCF5282_SCM_PACR_ACCESSCTRL0(x) (((x)&0x07))
</font> #define MCF5282_SCM_PACR_RW_NA (0x0)
#define MCF5282_SCM_PACR_R_NA (0x1)
#define MCF5282_SCM_PACR_R_R (0x2)
<font color='#997700'>@@ -288,7 +288,7 @@
</font> #define MCF5282_SCM_PACR_NA_NA (0x7)
#define MCF5282_SCM_GPACR_LOCK (0x80)
<font color='#880000'>-#define MCF5282_SCM_GPACR_ACCESSCTRL (((x)&0x0F))
</font><font color='#000088'>+#define MCF5282_SCM_GPACR_ACCESSCTRL(x) (((x)&0x0F))
</font> #define MCF5282_SCM_GPACR_ACCESSCTRL_RW_NA (0x0)
#define MCF5282_SCM_GPACR_ACCESSCTRL_R_NA (0x1)
#define MCF5282_SCM_GPACR_ACCESSCTRL_R_R (0x2)
<font color='#997700'>@@ -396,9 +396,9 @@
</font> #define MCF5282_CS6_CSMR (*(vuint32 *)(&__IPSBAR[0x00CC]))
#define MCF5282_CS6_CSCR (*(vuint16 *)(&__IPSBAR[0x00D2]))
<font color='#880000'>-#define MCF5282_CS_CSAR(x) (*(vuint16 *)(&__IPSBAR[0x0080+(x*0x0C)]))
-#define MCF5282_CS_CSMR(x) (*(vuint32 *)(&__IPSBAR[0x0084+(x*0x0C)]))
-#define MCF5282_CS_CSCR(x) (*(vuint16 *)(&__IPSBAR[0x008A+(x*0x0C)]))
</font><font color='#000088'>+#define MCF5282_CS_CSAR(x) (*(vuint16 *)(&__IPSBAR[0x0080+((x)*0x0C)]))
+#define MCF5282_CS_CSMR(x) (*(vuint32 *)(&__IPSBAR[0x0084+((x)*0x0C)]))
+#define MCF5282_CS_CSCR(x) (*(vuint16 *)(&__IPSBAR[0x008A+((x)*0x0C)]))
</font>
/* Bit level definitions and macros */
#define MCF5282_CS_CSAR_BA(a) (uint16)(((a)&0xFFFF0000)>>16)
<font color='#997700'>@@ -471,11 +471,11 @@
</font> #define MCF5282_DMA3_BCR (*(vuint32 *)(&__IPSBAR[0x01CC]))
#define MCF5282_DMA3_DSR (*(vuint8 *)(&__IPSBAR[0x01D0]))
<font color='#880000'>-#define MCF5282_DMA_SAR(x) (*(vuint32 *)(&__IPSBAR[0x0100+(x*0x40)]))<span style="background-color: #FF0000"> </span>
-#define MCF5282_DMA_DAR(x) (*(vuint32 *)(&__IPSBAR[0x0104+(x*0x40)]))<span style="background-color: #FF0000"> </span>
-#define MCF5282_DMA_DCR(x) (*(vuint32 *)(&__IPSBAR[0x0108+(x*0x40)]))<span style="background-color: #FF0000"> </span>
-#define MCF5282_DMA_BCR(x) (*(vuint32 *)(&__IPSBAR[0x010C+(x*0x40)]))<span style="background-color: #FF0000"> </span>
-#define MCF5282_DMA_DSR(x) (*(vuint8 *)(&__IPSBAR[0x0110+(x*0x40)]))<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+#define MCF5282_DMA_SAR(x) (*(vuint32 *)(&__IPSBAR[0x0100+((x)*0x40)]))<span style="background-color: #FF0000"> </span>
+#define MCF5282_DMA_DAR(x) (*(vuint32 *)(&__IPSBAR[0x0104+((x)*0x40)]))<span style="background-color: #FF0000"> </span>
+#define MCF5282_DMA_DCR(x) (*(vuint32 *)(&__IPSBAR[0x0108+((x)*0x40)]))<span style="background-color: #FF0000"> </span>
+#define MCF5282_DMA_BCR(x) (*(vuint32 *)(&__IPSBAR[0x010C+((x)*0x40)]))<span style="background-color: #FF0000"> </span>
+#define MCF5282_DMA_DSR(x) (*(vuint8 *)(&__IPSBAR[0x0110+((x)*0x40)]))<span style="background-color: #FF0000"> </span>
</font>
/* Bit level definitions and macros */
#define MCF5282_DMA_DCR_INT (0x80000000)
<font color='#997700'>@@ -564,21 +564,21 @@
</font> #define MCF5282_UART2_UOP1 (*(vuint8 *)(&__IPSBAR[0x02B8]))
#define MCF5282_UART2_UOP0 (*(vuint8 *)(&__IPSBAR[0x02BC]))
<font color='#880000'>-#define MCF5282_UART_UMR(x) (*(vuint8 *)(&__IPSBAR[0x0200+(x*0x40)]))
-#define MCF5282_UART_USR(x) (*(vuint8 *)(&__IPSBAR[0x0204+(x*0x40)]))
-#define MCF5282_UART_UCSR(x) (*(vuint8 *)(&__IPSBAR[0x0204+(x*0x40)]))
-#define MCF5282_UART_UCR(x) (*(vuint8 *)(&__IPSBAR[0x0208+(x*0x40)]))
-#define MCF5282_UART_URB(x) (*(vuint8 *)(&__IPSBAR[0x20C+(x*0x40)]))
-#define MCF5282_UART_UTB(x) (*(vuint8 *)(&__IPSBAR[0x020C+(x*0x40)]))
-#define MCF5282_UART_UIPCR(x) (*(vuint8 *)(&__IPSBAR[0x0210+(x*0x40)]))
-#define MCF5282_UART_UACR(x) (*(vuint8 *)(&__IPSBAR[0x0210+(x*0x40)]))
-#define MCF5282_UART_UISR(x) (*(vuint8 *)(&__IPSBAR[0x0214+(x*0x40)]))
-#define MCF5282_UART_UIMR(x) (*(vuint8 *)(&__IPSBAR[0x0214+(x*0x40)]))
-#define MCF5282_UART_UBG1(x) (*(vuint8 *)(&__IPSBAR[0x0218+(x*0x40)]))
-#define MCF5282_UART_UBG2(x) (*(vuint8 *)(&__IPSBAR[0x021C+(x*0x40)]))
-#define MCF5282_UART_UIP(x) (*(vuint8 *)(&__IPSBAR[0x0234+(x*0x40)]))
-#define MCF5282_UART_UOP1(x) (*(vuint8 *)(&__IPSBAR[0x0238+(x*0x40)]))
-#define MCF5282_UART_UOP0(x) (*(vuint8 *)(&__IPSBAR[0x023C+(x*0x40)]))
</font><font color='#000088'>+#define MCF5282_UART_UMR(x) (*(vuint8 *)(&__IPSBAR[0x0200+((x)*0x40)]))
+#define MCF5282_UART_USR(x) (*(vuint8 *)(&__IPSBAR[0x0204+((x)*0x40)]))
+#define MCF5282_UART_UCSR(x) (*(vuint8 *)(&__IPSBAR[0x0204+((x)*0x40)]))
+#define MCF5282_UART_UCR(x) (*(vuint8 *)(&__IPSBAR[0x0208+((x)*0x40)]))
+#define MCF5282_UART_URB(x) (*(vuint8 *)(&__IPSBAR[0x020C+((x)*0x40)]))
+#define MCF5282_UART_UTB(x) (*(vuint8 *)(&__IPSBAR[0x020C+((x)*0x40)]))
+#define MCF5282_UART_UIPCR(x) (*(vuint8 *)(&__IPSBAR[0x0210+((x)*0x40)]))
+#define MCF5282_UART_UACR(x) (*(vuint8 *)(&__IPSBAR[0x0210+((x)*0x40)]))
+#define MCF5282_UART_UISR(x) (*(vuint8 *)(&__IPSBAR[0x0214+((x)*0x40)]))
+#define MCF5282_UART_UIMR(x) (*(vuint8 *)(&__IPSBAR[0x0214+((x)*0x40)]))
+#define MCF5282_UART_UBG1(x) (*(vuint8 *)(&__IPSBAR[0x0218+((x)*0x40)]))
+#define MCF5282_UART_UBG2(x) (*(vuint8 *)(&__IPSBAR[0x021C+((x)*0x40)]))
+#define MCF5282_UART_UIP(x) (*(vuint8 *)(&__IPSBAR[0x0234+((x)*0x40)]))
+#define MCF5282_UART_UOP1(x) (*(vuint8 *)(&__IPSBAR[0x0238+((x)*0x40)]))
+#define MCF5282_UART_UOP0(x) (*(vuint8 *)(&__IPSBAR[0x023C+((x)*0x40)]))
</font>
/* Bit level definitions and macros */
#define MCF5282_UART_UMR1_RXRTS (0x80)
<font color='#997700'>@@ -754,7 +754,7 @@
</font> #define MCF5282_QSPI_QCR_BITSE (0x4000)
#define MCF5282_QSPI_QCR_DT (0x2000)
#define MCF5282_QSPI_QCR_DSCK (0x1000)
<font color='#880000'>-#define MCF5282_QSPI_QCR_CS (((x)&0x000F)<<8)
</font><font color='#000088'>+#define MCF5282_QSPI_QCR_CS(x) (((x)&0x000F)<<8)
</font>
/*********************************************************************
*
<font color='#997700'>@@ -791,12 +791,12 @@
</font> #define MCF5282_TIMER3_DTCR (*(vuint32 *)(&__IPSBAR[0x04C8]))
#define MCF5282_TIMER3_DTCN (*(vuint32 *)(&__IPSBAR[0x04CC]))
<font color='#880000'>-#define MCF5282_TIMER_DTMR(x) (*(vuint16 *)(&__IPSBAR[0x0400+(x*0x40)]))
-#define MCF5282_TIMER_DTXMR(x) (*(vuint8 *)(&__IPSBAR[0x0402+(x*0x40)]))<span style="background-color: #FF0000"> </span>
-#define MCF5282_TIMER_DTER(x) (*(vuint8 *)(&__IPSBAR[0x0403+(x*0x40)]))
-#define MCF5282_TIMER_DTRR(x) (*(vuint32 *)(&__IPSBAR[0x0404+(x*0x40)]))
-#define MCF5282_TIMER_DTCR(x) (*(vuint32 *)(&__IPSBAR[0x0408+(x*0x40)]))
-#define MCF5282_TIMER_DTCN(x) (*(vuint32 *)(&__IPSBAR[0x040C+(x*0x40)]))
</font><font color='#000088'>+#define MCF5282_TIMER_DTMR(x) (*(vuint16 *)(&__IPSBAR[0x0400+((x)*0x40)]))
+#define MCF5282_TIMER_DTXMR(x) (*(vuint8 *)(&__IPSBAR[0x0402+((x)*0x40)]))<span style="background-color: #FF0000"> </span>
+#define MCF5282_TIMER_DTER(x) (*(vuint8 *)(&__IPSBAR[0x0403+((x)*0x40)]))
+#define MCF5282_TIMER_DTRR(x) (*(vuint32 *)(&__IPSBAR[0x0404+((x)*0x40)]))
+#define MCF5282_TIMER_DTCR(x) (*(vuint32 *)(&__IPSBAR[0x0408+((x)*0x40)]))
+#define MCF5282_TIMER_DTCN(x) (*(vuint32 *)(&__IPSBAR[0x040C+((x)*0x40)]))
</font>
/* Bit level definitions and macros */
#define MCF5282_TIMER_DTMR_PS(a) (((a)&0x00FF)<<8)
<font color='#997700'>@@ -1332,7 +1332,7 @@
</font> #define MCF5282_FEC_TFWR_X_WMRK_128 (0x00000002)
#define MCF5282_FEC_TFWR_X_WMRK_192 (0x00000003)
<font color='#880000'>-#define MCF5282_FEC_EMRBR_R_BUF_SIZE(x) (((x)&0x7F)<<4)
</font><font color='#000088'>+#define MCF5282_FEC_EMRBR_R_BUF_SIZE(x) (((x)&7F)<<4)
</font>
#define MCF5282_FEC_TxBD_R 0x8000
#define MCF5282_FEC_TxBD_BUSY 0x4000
<font color='#997700'>@@ -1487,7 +1487,7 @@
</font> #define MCF5282_GPIO_PORTx2 (0x04)
#define MCF5282_GPIO_PORTx1 (0x02)
#define MCF5282_GPIO_PORTx0 (0x01)
<font color='#880000'>-#define MCF5282_GPIO_PORTx(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_GPIO_PORTx(x) (0x01<<(x))
</font>
#define MCF5282_GPIO_DDRx7 (0x80)
#define MCF5282_GPIO_DDRx6 (0x40)
<font color='#997700'>@@ -1497,7 +1497,7 @@
</font> #define MCF5282_GPIO_DDRx2 (0x04)
#define MCF5282_GPIO_DDRx1 (0x02)
#define MCF5282_GPIO_DDRx0 (0x01)
<font color='#880000'>-#define MCF5282_GPIO_DDRx(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_GPIO_DDRx(x) (0x01<<(x))
</font>
#define MCF5282_GPIO_PORTxP7 (0x80)
#define MCF5282_GPIO_PORTxP6 (0x40)
<font color='#997700'>@@ -1507,7 +1507,7 @@
</font> #define MCF5282_GPIO_PORTxP2 (0x04)
#define MCF5282_GPIO_PORTxP1 (0x02)
#define MCF5282_GPIO_PORTxP0 (0x01)
<font color='#880000'>-#define MCF5282_GPIO_PORTxP(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_GPIO_PORTxP(x) (0x01<<(x))
</font>
#define MCF5282_GPIO_SETx7 (0x80)
#define MCF5282_GPIO_SETx6 (0x40)
<font color='#997700'>@@ -1517,7 +1517,7 @@
</font> #define MCF5282_GPIO_SETx2 (0x04)
#define MCF5282_GPIO_SETx1 (0x02)
#define MCF5282_GPIO_SETx0 (0x01)
<font color='#880000'>-#define MCF5282_GPIO_SETx(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_GPIO_SETx(x) (0x01<<(x))
</font>
#define MCF5282_GPIO_CLRx7 (0x80)
#define MCF5282_GPIO_CLRx6 (0x40)
<font color='#997700'>@@ -1527,7 +1527,7 @@
</font> #define MCF5282_GPIO_CLRx2 (0x04)
#define MCF5282_GPIO_CLRx1 (0x02)
#define MCF5282_GPIO_CLRx0 (0x01)
<font color='#880000'>-#define MCF5282_GPIO_CLRx(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_GPIO_CLRx(x) (0x01<<(x))
</font>
#define MCF5282_GPIO_PBCDPAR_PBPA (0x80)
#define MCF5282_GPIO_PBCDPAR_PCDPA (0x40)
<font color='#997700'>@@ -1553,7 +1553,7 @@
</font> #define MCF5282_GPIO_PJPAR_PJPA2 (0x04)
#define MCF5282_GPIO_PJPAR_PJPA1 (0x02)
#define MCF5282_GPIO_PJPAR_PJPA0 (0x01)
<font color='#880000'>-#define MCF5282_GPIO_PJPAR_PJPA(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_GPIO_PJPAR_PJPA(x) (0x01<<(x))
</font>
#define MCF5282_GPIO_PSDPAR_PSDPA (0x80)
<font color='#997700'>@@ -1574,7 +1574,7 @@
</font> #define MCF5282_GPIO_PQSPAR_PQSPA2 (0x04)
#define MCF5282_GPIO_PQSPAR_PQSPA1 (0x02)
#define MCF5282_GPIO_PQSPAR_PQSPA0 (0x01)
<font color='#880000'>-#define MCF5282_GPIO_PQSPAR_PQSPA(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_GPIO_PQSPAR_PQSPA(x) (0x01<<(x))
</font>
#define MCF5282_GPIO_PTCPAR_PTCPA3(x) (((x)&0x3)<<6)
#define MCF5282_GPIO_PTCPAR_PTCPA2(x) (((x)&0x3)<<4)
<font color='#997700'>@@ -1736,7 +1736,7 @@
</font> #define MCF5282_EPORT_EPDDR_EPDD3 (0x08)
#define MCF5282_EPORT_EPDDR_EPDD2 (0x04)
#define MCF5282_EPORT_EPDDR_EPDD1 (0x02)
<font color='#880000'>-#define MCF5282_EPORT_EPDDR_EPDD(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_EPORT_EPDDR_EPDD(x) (0x01<<(x))
</font>
#define MCF5282_EPORT_EPIER_EPIE7 (0x80)
#define MCF5282_EPORT_EPIER_EPIE6 (0x40)
<font color='#997700'>@@ -1745,7 +1745,7 @@
</font> #define MCF5282_EPORT_EPIER_EPIE3 (0x08)
#define MCF5282_EPORT_EPIER_EPIE2 (0x04)
#define MCF5282_EPORT_EPIER_EPIE1 (0x02)
<font color='#880000'>-#define MCF5282_EPORT_EPIER_EPIE(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_EPORT_EPIER_EPIE(x) (0x01<<(x))
</font>
#define MCF5282_EPORT_EPDR_EPD7 (0x80)
#define MCF5282_EPORT_EPDR_EPD6 (0x40)
<font color='#997700'>@@ -1754,7 +1754,7 @@
</font> #define MCF5282_EPORT_EPDR_EPD3 (0x08)
#define MCF5282_EPORT_EPDR_EPD2 (0x04)
#define MCF5282_EPORT_EPDR_EPD1 (0x02)
<font color='#880000'>-#define MCF5282_EPORT_EPDR_EPD(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_EPORT_EPDR_EPD(x) (0x01<<(x))
</font>
#define MCF5282_EPORT_EPPDR_EPPD7 (0x80)
#define MCF5282_EPORT_EPPDR_EPPD6 (0x40)
<font color='#997700'>@@ -1763,7 +1763,7 @@
</font> #define MCF5282_EPORT_EPPDR_EPPD3 (0x08)
#define MCF5282_EPORT_EPPDR_EPPD2 (0x04)
#define MCF5282_EPORT_EPPDR_EPPD1 (0x02)
<font color='#880000'>-#define MCF5282_EPORT_EPPDR_EPPD(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_EPORT_EPPDR_EPPD(x) (0x01<<(x))
</font>
#define MCF5282_EPORT_EPFR_EPF7 (0x80)
#define MCF5282_EPORT_EPFR_EPF6 (0x40)
<font color='#997700'>@@ -1772,7 +1772,7 @@
</font> #define MCF5282_EPORT_EPFR_EPF3 (0x08)
#define MCF5282_EPORT_EPFR_EPF2 (0x04)
#define MCF5282_EPORT_EPFR_EPF1 (0x02)
<font color='#880000'>-#define MCF5282_EPORT_EPFR_EPF(x) (0x01<<x)
</font><font color='#000088'>+#define MCF5282_EPORT_EPFR_EPF(x) (0x01<<(x))
</font>
/*********************************************************************
*
<font color='#997700'>@@ -1818,9 +1818,9 @@
</font> #define MCF5282_PIT3_PMR (*(vuint16 *)(&__IPSBAR[0x180002]))
#define MCF5282_PIT3_PCNTR (*(vuint16 *)(&__IPSBAR[0x180004]))
<font color='#880000'>-#define MCF5282_PIT_PCSR(x) (*(vuint16 *)(&__IPSBAR[0x150000+(0x1000*x)]))
-#define MCF5282_PIT_PMR(x) (*(vuint16 *)(&__IPSBAR[0x150002+(0x1000*x)]))
-#define MCF5282_PIT_PCNTR(x) (*(vuint16 *)(&__IPSBAR[0x150004+(0x1000*x)]))
</font><font color='#000088'>+#define MCF5282_PIT_PCSR(x) (*(vuint16 *)(&__IPSBAR[0x150000+(0x1000*(x))]))
+#define MCF5282_PIT_PMR(x) (*(vuint16 *)(&__IPSBAR[0x150002+(0x1000*(x))]))
+#define MCF5282_PIT_PCNTR(x) (*(vuint16 *)(&__IPSBAR[0x150004+(0x1000*(x))]))
</font>
/* Bit level definitions and macros */
#define MCF5282_PIT_PCSR_PRE(x) (((x)&0x000F)<<8)
<font color='#997700'>@@ -1849,10 +1849,10 @@
</font> #define MCF5282_QADC_QACR2 (*(vuint16 *)(&__IPSBAR[0x19000E]))
#define MCF5282_QADC_QASR0 (*(vuint16 *)(&__IPSBAR[0x190010]))
#define MCF5282_QADC_QASR1 (*(vuint16 *)(&__IPSBAR[0x190012]))
<font color='#880000'>-#define MCF5282_QADC_CCW(x) (*(vuint16 *)(&__IPSBAR[0x190200+(x*2)]))
-#define MCF5282_QADC_RJURR(x) (*(vuint16 *)(&__IPSBAR[0x190280+(x*2)]))
-#define MCF5282_QADC_LJSRR(x) (*(vuint16 *)(&__IPSBAR[0x190300+(x*2)]))
-#define MCF5282_QADC_LJURR(x) (*(vuint16 *)(&__IPSBAR[0x190380+(x*2)]))
</font><font color='#000088'>+#define MCF5282_QADC_CCW(x) (*(vuint16 *)(&__IPSBAR[0x190200+((x)*2)]))
+#define MCF5282_QADC_RJURR(x) (*(vuint16 *)(&__IPSBAR[0x190280+((x)*2)]))
+#define MCF5282_QADC_LJSRR(x) (*(vuint16 *)(&__IPSBAR[0x190300+((x)*2)]))
+#define MCF5282_QADC_LJURR(x) (*(vuint16 *)(&__IPSBAR[0x190380+((x)*2)]))
</font>
/* Bit level definitions and macros */
#define MCF5282_QADC_QADCMCR_QSTOP (0x8000)
<font color='#997700'>@@ -2250,24 +2250,24 @@
</font> #define MCF5282_FLEXCAN_MBUF15_BYTE6 (*(vuint8 *)(&__IPSBAR[0x1C017C]))
#define MCF5282_FLEXCAN_MBUF15_BYTE7 (*(vuint8 *)(&__IPSBAR[0x1C017D]))
<font color='#880000'>-#define MCF5282_FLEXCAN_MBUF0_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0086+x)]))
-#define MCF5282_FLEXCAN_MBUF1_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0096+x)]))
-#define MCF5282_FLEXCAN_MBUF2_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00A6+x)]))
-#define MCF5282_FLEXCAN_MBUF3_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00B6+x)]))
-#define MCF5282_FLEXCAN_MBUF4_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00C6+x)]))
-#define MCF5282_FLEXCAN_MBUF5_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00D6+x)]))
-#define MCF5282_FLEXCAN_MBUF6_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00E6+x)]))
-#define MCF5282_FLEXCAN_MBUF7_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00F6+x)]))
-#define MCF5282_FLEXCAN_MBUF8_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0106+x)]))
-#define MCF5282_FLEXCAN_MBUF9_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0116+x)]))
-#define MCF5282_FLEXCAN_MBUF10_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0126+x)]))
-#define MCF5282_FLEXCAN_MBUF11_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0136+x)]))
-#define MCF5282_FLEXCAN_MBUF12_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0146+x)]))
-#define MCF5282_FLEXCAN_MBUF13_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0156+x)]))
-#define MCF5282_FLEXCAN_MBUF14_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0166+x)]))
-#define MCF5282_FLEXCAN_MBUF15_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0176+x)]))
</font><font color='#000088'>+#define MCF5282_FLEXCAN_MBUF0_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0086+(x))]))
+#define MCF5282_FLEXCAN_MBUF1_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0096+(x))]))
+#define MCF5282_FLEXCAN_MBUF2_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00A6+(x))]))
+#define MCF5282_FLEXCAN_MBUF3_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00B6+(x))]))
+#define MCF5282_FLEXCAN_MBUF4_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00C6+(x))]))
+#define MCF5282_FLEXCAN_MBUF5_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00D6+(x))]))
+#define MCF5282_FLEXCAN_MBUF6_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00E6+(x))]))
+#define MCF5282_FLEXCAN_MBUF7_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C00F6+(x))]))
+#define MCF5282_FLEXCAN_MBUF8_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0106+(x))]))
+#define MCF5282_FLEXCAN_MBUF9_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0116+(x))]))
+#define MCF5282_FLEXCAN_MBUF10_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0126+(x))]))
+#define MCF5282_FLEXCAN_MBUF11_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0136+(x))]))
+#define MCF5282_FLEXCAN_MBUF12_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0146+(x))]))
+#define MCF5282_FLEXCAN_MBUF13_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0156+(x))]))
+#define MCF5282_FLEXCAN_MBUF14_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0166+(x))]))
+#define MCF5282_FLEXCAN_MBUF15_BYTE(x) (*(vuint8 *)(&__IPSBAR[(0x1C0176+(x))]))
</font>
<font color='#880000'>-#define MCF5282_FLEXCAN_MBUF_BYTE(x,y) (*(vuint8 *)(&__IPSBAR[((0x1C0086+(0x10*x)+y)]))
</font><font color='#000088'>+#define MCF5282_FLEXCAN_MBUF_BYTE(x,y) (*(vuint8 *)(&__IPSBAR[((0x1C0086+(0x10*(x))+(y))]))
</font>
/* Bit level definitions and macros */
#define MCF5282_FLEXCAN_CANMCR_STOP (0x8000)
<font color='#997700'>@@ -2394,7 +2394,7 @@
</font> #define MCF5282_CFM_CFMUSTAT_ACCERR (0x10)
#define MCF5282_CFM_CFMUSTAT_BLANK<span style="background-color: #FF0000"> </span> (0x04)
<font color='#880000'>-#define MCF5282_CFM_CFMCMD_CMD(x) (((x)&0x7F))
</font><font color='#000088'>+#define MCF5282_CFM_CFMCMD_CMD(x) (((x)&7F))
</font>
/********************************************************************/
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>