To Enable Debug Reporting in VxWorks Failover Ethernet Driver


In VxWorks failover driver for PMC675, PMC675TX, PMC664, PMC664J, and PMC665, there are two variables exported from the driver that control debug reporting.

rmxDebug can have the following bits set

#DEFINE VARIABLEVALUE
DRV_DEBUG_OFF0x00000
DRV_DEBUG_RX0x00001
DRV_DEBUG_TX0x00002
DRV_DEBUG_INT0x00004
DRV_DEBUG_POLL_RX0x00008
DRV_DEBUG_POLL_TX0x00010
DRV_DEBUG_POLL(DRV_DEBUG_POLL_RX | DRV_DEBUG_POLL_TX)
DRV_DEBUG_LOAD0x00020
DRV_DEBUG_IOCTL0x00040
DRV_DEBUG_POLL_REDIR0x10000
#define DRV_DEBUG_LOG_NVRAM0x20000

 

rxLDebug - can have the following bits set

#DEFINE VARIABLEVALUEDESCRIPTION
D_L10x00000001Info level 1
D_L20x00000002Info level 2
D_L30x00000004Info level 3
D_L40x00000008Info level 4
D_I10x00000010Interrupt level 1
D_I20x00000020Interrupt level 2
D_L30x00000040Interrupt level 3
D_T10x00000100Tx/Rx info level 1
D_T20x00000200Tx/Rx info level 2
D_T30x00000400Tx/Rx info level 3
D_N10x00001000Legacy stuff
D_N0x10000000Don't use typically