Revision 001faf32 hw/mcf_fec.c

b/hw/mcf_fec.c
14 14
//#define DEBUG_FEC 1
15 15

  
16 16
#ifdef DEBUG_FEC
17
#define DPRINTF(fmt, args...) \
18
do { printf("mcf_fec: " fmt , ##args); } while (0)
17
#define DPRINTF(fmt, ...) \
18
do { printf("mcf_fec: " fmt , ## __VA_ARGS__); } while (0)
19 19
#else
20
#define DPRINTF(fmt, args...) do {} while(0)
20
#define DPRINTF(fmt, ...) do {} while(0)
21 21
#endif
22 22

  
23 23
#define FEC_MAX_FRAME_SIZE 2032

Also available in: Unified diff