Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
lmc_debug.h File Reference

Go to the source code of this file.

Macros

#define LMC_CONSOLE_LOG(x, y, z)
 
#define LMC_EVENTLOGSIZE   1024 /* number of events in eventlog */
 
#define LMC_EVENTLOGARGS   4 /* number of args for each event */
 
#define LMC_EVENT_XMT   1
 
#define LMC_EVENT_XMTEND   2
 
#define LMC_EVENT_XMTINT   3
 
#define LMC_EVENT_RCVINT   4
 
#define LMC_EVENT_RCVEND   5
 
#define LMC_EVENT_INT   6
 
#define LMC_EVENT_XMTINTTMO   7
 
#define LMC_EVENT_XMTPRCTMO   8
 
#define LMC_EVENT_INTEND   9
 
#define LMC_EVENT_RESET1   10
 
#define LMC_EVENT_RESET2   11
 
#define LMC_EVENT_FORCEDRESET   12
 
#define LMC_EVENT_WATCHDOG   13
 
#define LMC_EVENT_BADPKTSURGE   14
 
#define LMC_EVENT_TBUSY0   15
 
#define LMC_EVENT_TBUSY1   16
 
#define LMC_EVENT_LOG(x, y, z)
 

Functions

void lmcConsoleLog (char *type, unsigned char *ucData, int iLen)
 
void lmcEventLog (u32 EventNum, u32 arg2, u32 arg3)
 
void lmc_trace (struct net_device *dev, char *msg)
 

Macro Definition Documentation

#define LMC_CONSOLE_LOG (   x,
  y,
 
)

Definition at line 11 of file lmc_debug.h.

#define LMC_EVENT_BADPKTSURGE   14

Definition at line 35 of file lmc_debug.h.

#define LMC_EVENT_FORCEDRESET   12

Definition at line 33 of file lmc_debug.h.

#define LMC_EVENT_INT   6

Definition at line 27 of file lmc_debug.h.

#define LMC_EVENT_INTEND   9

Definition at line 30 of file lmc_debug.h.

#define LMC_EVENT_LOG (   x,
  y,
 
)

Definition at line 45 of file lmc_debug.h.

#define LMC_EVENT_RCVEND   5

Definition at line 26 of file lmc_debug.h.

#define LMC_EVENT_RCVINT   4

Definition at line 25 of file lmc_debug.h.

#define LMC_EVENT_RESET1   10

Definition at line 31 of file lmc_debug.h.

#define LMC_EVENT_RESET2   11

Definition at line 32 of file lmc_debug.h.

#define LMC_EVENT_TBUSY0   15

Definition at line 36 of file lmc_debug.h.

#define LMC_EVENT_TBUSY1   16

Definition at line 37 of file lmc_debug.h.

#define LMC_EVENT_WATCHDOG   13

Definition at line 34 of file lmc_debug.h.

#define LMC_EVENT_XMT   1

Definition at line 22 of file lmc_debug.h.

#define LMC_EVENT_XMTEND   2

Definition at line 23 of file lmc_debug.h.

#define LMC_EVENT_XMTINT   3

Definition at line 24 of file lmc_debug.h.

#define LMC_EVENT_XMTINTTMO   7

Definition at line 28 of file lmc_debug.h.

#define LMC_EVENT_XMTPRCTMO   8

Definition at line 29 of file lmc_debug.h.

#define LMC_EVENTLOGARGS   4 /* number of args for each event */

Definition at line 19 of file lmc_debug.h.

#define LMC_EVENTLOGSIZE   1024 /* number of events in eventlog */

Definition at line 18 of file lmc_debug.h.

Function Documentation

void lmc_trace ( struct net_device dev,
char msg 
)

Definition at line 64 of file lmc_debug.c.

void lmcConsoleLog ( char type,
unsigned char ucData,
int  iLen 
)
void lmcEventLog ( u32  EventNum,
u32  arg2,
u32  arg3 
)