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

Go to the source code of this file.

Macros

#define FEC_CRC_POLY   0x04C11DB7
 
#define FEC_MAX_MULTICAST_ADDRS   64
 
#define FEC_ENET_HBERR   0x80000000U /* Heartbeat error */
 
#define FEC_ENET_BABR   0x40000000U /* Babbling receiver */
 
#define FEC_ENET_BABT   0x20000000U /* Babbling transmitter */
 
#define FEC_ENET_GRA   0x10000000U /* Graceful stop complete */
 
#define FEC_ENET_TXF   0x08000000U /* Full frame transmitted */
 
#define FEC_ENET_TXB   0x04000000U /* A buffer was transmitted */
 
#define FEC_ENET_RXF   0x02000000U /* Full frame received */
 
#define FEC_ENET_RXB   0x01000000U /* A buffer was received */
 
#define FEC_ENET_MII   0x00800000U /* MII interrupt */
 
#define FEC_ENET_EBERR   0x00400000U /* SDMA bus error */
 
#define FEC_ECNTRL_PINMUX   0x00000004
 
#define FEC_ECNTRL_ETHER_EN   0x00000002
 
#define FEC_ECNTRL_RESET   0x00000001
 
#define FEC_RCNTRL_RMII_MODE
 
#define FEC_RCNTRL_FCE   0x00000020
 
#define FEC_RCNTRL_BC_REJ   0x00000010
 
#define FEC_RCNTRL_PROM   0x00000008
 
#define FEC_RCNTRL_MII_MODE   0x00000004
 
#define FEC_RCNTRL_DRT   0x00000002
 
#define FEC_RCNTRL_LOOP   0x00000001
 
#define FEC_TCNTRL_FDEN   0x00000004
 
#define FEC_TCNTRL_HBC   0x00000002
 
#define FEC_TCNTRL_GTS   0x00000001
 
#define FEC_RESET_DELAY   50
 

Macro Definition Documentation

#define FEC_CRC_POLY   0x04C11DB7

Definition at line 5 of file fec.h.

#define FEC_ECNTRL_ETHER_EN   0x00000002

Definition at line 23 of file fec.h.

#define FEC_ECNTRL_PINMUX   0x00000004

Definition at line 22 of file fec.h.

#define FEC_ECNTRL_RESET   0x00000001

Definition at line 24 of file fec.h.

#define FEC_ENET_BABR   0x40000000U /* Babbling receiver */

Definition at line 12 of file fec.h.

#define FEC_ENET_BABT   0x20000000U /* Babbling transmitter */

Definition at line 13 of file fec.h.

#define FEC_ENET_EBERR   0x00400000U /* SDMA bus error */

Definition at line 20 of file fec.h.

#define FEC_ENET_GRA   0x10000000U /* Graceful stop complete */

Definition at line 14 of file fec.h.

#define FEC_ENET_HBERR   0x80000000U /* Heartbeat error */

Definition at line 11 of file fec.h.

#define FEC_ENET_MII   0x00800000U /* MII interrupt */

Definition at line 19 of file fec.h.

#define FEC_ENET_RXB   0x01000000U /* A buffer was received */

Definition at line 18 of file fec.h.

#define FEC_ENET_RXF   0x02000000U /* Full frame received */

Definition at line 17 of file fec.h.

#define FEC_ENET_TXB   0x04000000U /* A buffer was transmitted */

Definition at line 16 of file fec.h.

#define FEC_ENET_TXF   0x08000000U /* Full frame transmitted */

Definition at line 15 of file fec.h.

#define FEC_MAX_MULTICAST_ADDRS   64

Definition at line 7 of file fec.h.

#define FEC_RCNTRL_BC_REJ   0x00000010

Definition at line 30 of file fec.h.

#define FEC_RCNTRL_DRT   0x00000002

Definition at line 33 of file fec.h.

#define FEC_RCNTRL_FCE   0x00000020

Definition at line 29 of file fec.h.

#define FEC_RCNTRL_LOOP   0x00000001

Definition at line 34 of file fec.h.

#define FEC_RCNTRL_MII_MODE   0x00000004

Definition at line 32 of file fec.h.

#define FEC_RCNTRL_PROM   0x00000008

Definition at line 31 of file fec.h.

#define FEC_RCNTRL_RMII_MODE
Value:
(0x00000100 | \
FEC_RCNTRL_MII_MODE | FEC_RCNTRL_FCE)

Definition at line 27 of file fec.h.

#define FEC_RESET_DELAY   50

Definition at line 43 of file fec.h.

#define FEC_TCNTRL_FDEN   0x00000004

Definition at line 36 of file fec.h.

#define FEC_TCNTRL_GTS   0x00000001

Definition at line 38 of file fec.h.

#define FEC_TCNTRL_HBC   0x00000002

Definition at line 37 of file fec.h.