mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
Fix hex constants.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-03-16 Eric Norum <wenorum@lbl.gov>
|
||||
|
||||
* mcf5282/include/mcf5282.h: Fix hex constants.
|
||||
|
||||
2009-09-10 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
PR 1438/bsps
|
||||
|
||||
@@ -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))
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user