More issues with mcf5282.h

Andrei Chichak groups at
Tue Mar 16 14:48:20 UTC 2010

Good day,

I found a couple of more issues with lib\libcpu\m68k\mcf5282\include\mcf5282.h . In this case it is the use of hex masks that are not done properly.

#define MCF5282_CFM_CFMCMD_CMD(x)			(((x)&7F))
#define MCF5282_FEC_EMRBR_R_BUF_SIZE(x)		(((x)&7F)<<4)

The constants should be 0x7F.


More information about the users mailing list