Fix hex constants.

This commit is contained in:
Eric Norum
2010-03-16 15:53:48 +00:00
parent 0a973a9ea9
commit cf293d1562
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2010-03-16 Eric Norum <wenorum@lbl.gov>
* mcf5282/include/mcf5282.h: Fix hex constants.
2009-12-16 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* mcf5206/include/mcfuart.h, mcf5206/include/mcfuart.c: adapted to

View File

@@ -1332,7 +1332,7 @@ extern uint8 __IPSBAR[];
#define MCF5282_FEC_TFWR_X_WMRK_128 (0x00000002)
#define MCF5282_FEC_TFWR_X_WMRK_192 (0x00000003)
#define MCF5282_FEC_EMRBR_R_BUF_SIZE(x) (((x)&7F)<<4)
#define MCF5282_FEC_EMRBR_R_BUF_SIZE(x) (((x)&0x7F)<<4)
#define MCF5282_FEC_TxBD_R 0x8000
#define MCF5282_FEC_TxBD_BUSY 0x4000
@@ -2394,7 +2394,7 @@ extern uint8 __IPSBAR[];
#define MCF5282_CFM_CFMUSTAT_ACCERR (0x10)
#define MCF5282_CFM_CFMUSTAT_BLANK (0x04)
#define MCF5282_CFM_CFMCMD_CMD(x) (((x)&7F))
#define MCF5282_CFM_CFMCMD_CMD(x) (((x)&0x7F))
/********************************************************************/