Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
greth_private Struct Reference

#include <greth.h>

Data Fields

struct sk_buffrx_skbuff [GRETH_RXBD_NUM]
 
struct sk_bufftx_skbuff [GRETH_TXBD_NUM]
 
unsigned chartx_bufs [GRETH_TXBD_NUM]
 
unsigned charrx_bufs [GRETH_RXBD_NUM]
 
u16 tx_bufs_length [GRETH_TXBD_NUM]
 
u16 tx_next
 
u16 tx_last
 
u16 tx_free
 
u16 rx_cur
 
struct greth_regsregs
 
struct greth_bdrx_bd_base
 
struct greth_bdtx_bd_base
 
dma_addr_t rx_bd_base_phys
 
dma_addr_t tx_bd_base_phys
 
int irq
 
struct devicedev
 
struct net_devicenetdev
 
struct napi_struct napi
 
spinlock_t devlock
 
struct phy_devicephy
 
struct mii_busmdio
 
int mdio_irqs [PHY_MAX_ADDR]
 
unsigned int link
 
unsigned int speed
 
unsigned int duplex
 
u32 msg_enable
 
u8 phyaddr
 
u8 multicast
 
u8 gbit_mac
 
u8 mdio_int_en
 
u8 edcl
 

Detailed Description

Definition at line 100 of file greth.h.

Field Documentation

struct device* dev

Definition at line 121 of file greth.h.

spinlock_t devlock

Definition at line 124 of file greth.h.

unsigned int duplex

Definition at line 131 of file greth.h.

u8 edcl

Definition at line 139 of file greth.h.

u8 gbit_mac

Definition at line 137 of file greth.h.

int irq

Definition at line 119 of file greth.h.

unsigned int link

Definition at line 129 of file greth.h.

struct mii_bus* mdio

Definition at line 127 of file greth.h.

u8 mdio_int_en

Definition at line 138 of file greth.h.

int mdio_irqs[PHY_MAX_ADDR]

Definition at line 128 of file greth.h.

u32 msg_enable

Definition at line 133 of file greth.h.

u8 multicast

Definition at line 136 of file greth.h.

Definition at line 123 of file greth.h.

struct net_device* netdev

Definition at line 122 of file greth.h.

Definition at line 126 of file greth.h.

u8 phyaddr

Definition at line 135 of file greth.h.

Definition at line 113 of file greth.h.

struct greth_bd* rx_bd_base

Definition at line 114 of file greth.h.

dma_addr_t rx_bd_base_phys

Definition at line 116 of file greth.h.

unsigned char* rx_bufs[GRETH_RXBD_NUM]

Definition at line 105 of file greth.h.

u16 rx_cur

Definition at line 111 of file greth.h.

Definition at line 101 of file greth.h.

unsigned int speed

Definition at line 130 of file greth.h.

struct greth_bd* tx_bd_base

Definition at line 115 of file greth.h.

dma_addr_t tx_bd_base_phys

Definition at line 117 of file greth.h.

unsigned char* tx_bufs[GRETH_TXBD_NUM]

Definition at line 104 of file greth.h.

u16 tx_bufs_length[GRETH_TXBD_NUM]

Definition at line 106 of file greth.h.

u16 tx_free

Definition at line 110 of file greth.h.

u16 tx_last

Definition at line 109 of file greth.h.

u16 tx_next

Definition at line 108 of file greth.h.

Definition at line 102 of file greth.h.


The documentation for this struct was generated from the following file: