Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
bcm63xx_enet.h File Reference
#include <linux/types.h>
#include <linux/mii.h>
#include <linux/mutex.h>
#include <linux/phy.h>
#include <linux/platform_device.h>
#include <bcm63xx_regs.h>
#include <bcm63xx_irq.h>
#include <bcm63xx_io.h>
#include <bcm63xx_iudma.h>

Go to the source code of this file.

Data Structures

struct  bcm_enet_mib_counters
 
struct  bcm_enet_priv
 

Macros

#define BCMENET_DEF_RX_DESC   64
 
#define BCMENET_DEF_TX_DESC   32
 
#define BCMENET_DMA_MAXBURST   16
 
#define BCMENET_TX_FIFO_TRESH   32
 
#define BCMENET_MAX_MTU   2046
 
#define ETH_MIB_TX_GD_OCTETS   0
 
#define ETH_MIB_TX_GD_PKTS   1
 
#define ETH_MIB_TX_ALL_OCTETS   2
 
#define ETH_MIB_TX_ALL_PKTS   3
 
#define ETH_MIB_TX_BRDCAST   4
 
#define ETH_MIB_TX_MULT   5
 
#define ETH_MIB_TX_64   6
 
#define ETH_MIB_TX_65_127   7
 
#define ETH_MIB_TX_128_255   8
 
#define ETH_MIB_TX_256_511   9
 
#define ETH_MIB_TX_512_1023   10
 
#define ETH_MIB_TX_1024_MAX   11
 
#define ETH_MIB_TX_JAB   12
 
#define ETH_MIB_TX_OVR   13
 
#define ETH_MIB_TX_FRAG   14
 
#define ETH_MIB_TX_UNDERRUN   15
 
#define ETH_MIB_TX_COL   16
 
#define ETH_MIB_TX_1_COL   17
 
#define ETH_MIB_TX_M_COL   18
 
#define ETH_MIB_TX_EX_COL   19
 
#define ETH_MIB_TX_LATE   20
 
#define ETH_MIB_TX_DEF   21
 
#define ETH_MIB_TX_CRS   22
 
#define ETH_MIB_TX_PAUSE   23
 
#define ETH_MIB_RX_GD_OCTETS   32
 
#define ETH_MIB_RX_GD_PKTS   33
 
#define ETH_MIB_RX_ALL_OCTETS   34
 
#define ETH_MIB_RX_ALL_PKTS   35
 
#define ETH_MIB_RX_BRDCAST   36
 
#define ETH_MIB_RX_MULT   37
 
#define ETH_MIB_RX_64   38
 
#define ETH_MIB_RX_65_127   39
 
#define ETH_MIB_RX_128_255   40
 
#define ETH_MIB_RX_256_511   41
 
#define ETH_MIB_RX_512_1023   42
 
#define ETH_MIB_RX_1024_MAX   43
 
#define ETH_MIB_RX_JAB   44
 
#define ETH_MIB_RX_OVR   45
 
#define ETH_MIB_RX_FRAG   46
 
#define ETH_MIB_RX_DROP   47
 
#define ETH_MIB_RX_CRC_ALIGN   48
 
#define ETH_MIB_RX_UND   49
 
#define ETH_MIB_RX_CRC   50
 
#define ETH_MIB_RX_ALIGN   51
 
#define ETH_MIB_RX_SYM   52
 
#define ETH_MIB_RX_PAUSE   53
 
#define ETH_MIB_RX_CNTRL   54
 

Macro Definition Documentation

#define BCMENET_DEF_RX_DESC   64

Definition at line 16 of file bcm63xx_enet.h.

#define BCMENET_DEF_TX_DESC   32

Definition at line 17 of file bcm63xx_enet.h.

#define BCMENET_DMA_MAXBURST   16

Definition at line 20 of file bcm63xx_enet.h.

#define BCMENET_MAX_MTU   2046

Definition at line 32 of file bcm63xx_enet.h.

#define BCMENET_TX_FIFO_TRESH   32

Definition at line 25 of file bcm63xx_enet.h.

#define ETH_MIB_RX_1024_MAX   43

Definition at line 73 of file bcm63xx_enet.h.

#define ETH_MIB_RX_128_255   40

Definition at line 70 of file bcm63xx_enet.h.

#define ETH_MIB_RX_256_511   41

Definition at line 71 of file bcm63xx_enet.h.

#define ETH_MIB_RX_512_1023   42

Definition at line 72 of file bcm63xx_enet.h.

#define ETH_MIB_RX_64   38

Definition at line 68 of file bcm63xx_enet.h.

#define ETH_MIB_RX_65_127   39

Definition at line 69 of file bcm63xx_enet.h.

#define ETH_MIB_RX_ALIGN   51

Definition at line 81 of file bcm63xx_enet.h.

#define ETH_MIB_RX_ALL_OCTETS   34

Definition at line 64 of file bcm63xx_enet.h.

#define ETH_MIB_RX_ALL_PKTS   35

Definition at line 65 of file bcm63xx_enet.h.

#define ETH_MIB_RX_BRDCAST   36

Definition at line 66 of file bcm63xx_enet.h.

#define ETH_MIB_RX_CNTRL   54

Definition at line 84 of file bcm63xx_enet.h.

#define ETH_MIB_RX_CRC   50

Definition at line 80 of file bcm63xx_enet.h.

#define ETH_MIB_RX_CRC_ALIGN   48

Definition at line 78 of file bcm63xx_enet.h.

#define ETH_MIB_RX_DROP   47

Definition at line 77 of file bcm63xx_enet.h.

#define ETH_MIB_RX_FRAG   46

Definition at line 76 of file bcm63xx_enet.h.

#define ETH_MIB_RX_GD_OCTETS   32

Definition at line 62 of file bcm63xx_enet.h.

#define ETH_MIB_RX_GD_PKTS   33

Definition at line 63 of file bcm63xx_enet.h.

#define ETH_MIB_RX_JAB   44

Definition at line 74 of file bcm63xx_enet.h.

#define ETH_MIB_RX_MULT   37

Definition at line 67 of file bcm63xx_enet.h.

#define ETH_MIB_RX_OVR   45

Definition at line 75 of file bcm63xx_enet.h.

#define ETH_MIB_RX_PAUSE   53

Definition at line 83 of file bcm63xx_enet.h.

#define ETH_MIB_RX_SYM   52

Definition at line 82 of file bcm63xx_enet.h.

#define ETH_MIB_RX_UND   49

Definition at line 79 of file bcm63xx_enet.h.

#define ETH_MIB_TX_1024_MAX   11

Definition at line 48 of file bcm63xx_enet.h.

#define ETH_MIB_TX_128_255   8

Definition at line 45 of file bcm63xx_enet.h.

#define ETH_MIB_TX_1_COL   17

Definition at line 54 of file bcm63xx_enet.h.

#define ETH_MIB_TX_256_511   9

Definition at line 46 of file bcm63xx_enet.h.

#define ETH_MIB_TX_512_1023   10

Definition at line 47 of file bcm63xx_enet.h.

#define ETH_MIB_TX_64   6

Definition at line 43 of file bcm63xx_enet.h.

#define ETH_MIB_TX_65_127   7

Definition at line 44 of file bcm63xx_enet.h.

#define ETH_MIB_TX_ALL_OCTETS   2

Definition at line 39 of file bcm63xx_enet.h.

#define ETH_MIB_TX_ALL_PKTS   3

Definition at line 40 of file bcm63xx_enet.h.

#define ETH_MIB_TX_BRDCAST   4

Definition at line 41 of file bcm63xx_enet.h.

#define ETH_MIB_TX_COL   16

Definition at line 53 of file bcm63xx_enet.h.

#define ETH_MIB_TX_CRS   22

Definition at line 59 of file bcm63xx_enet.h.

#define ETH_MIB_TX_DEF   21

Definition at line 58 of file bcm63xx_enet.h.

#define ETH_MIB_TX_EX_COL   19

Definition at line 56 of file bcm63xx_enet.h.

#define ETH_MIB_TX_FRAG   14

Definition at line 51 of file bcm63xx_enet.h.

#define ETH_MIB_TX_GD_OCTETS   0

Definition at line 37 of file bcm63xx_enet.h.

#define ETH_MIB_TX_GD_PKTS   1

Definition at line 38 of file bcm63xx_enet.h.

#define ETH_MIB_TX_JAB   12

Definition at line 49 of file bcm63xx_enet.h.

#define ETH_MIB_TX_LATE   20

Definition at line 57 of file bcm63xx_enet.h.

#define ETH_MIB_TX_M_COL   18

Definition at line 55 of file bcm63xx_enet.h.

#define ETH_MIB_TX_MULT   5

Definition at line 42 of file bcm63xx_enet.h.

#define ETH_MIB_TX_OVR   13

Definition at line 50 of file bcm63xx_enet.h.

#define ETH_MIB_TX_PAUSE   23

Definition at line 60 of file bcm63xx_enet.h.

#define ETH_MIB_TX_UNDERRUN   15

Definition at line 52 of file bcm63xx_enet.h.