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

Data Fields

void __iomemiobase
 
void __iomemmembase
 
int dma_alloc
 
resource_size_t io_region_size
 
unsigned int num_tx
 
unsigned int cur_tx
 
unsigned int dty_tx
 
unsigned int num_rx
 
unsigned int cur_rx
 
void ** vma
 
struct net_devicenetdev
 
struct napi_struct napi
 
u32 msg_enable
 
spinlock_t lock
 
struct phy_devicephy
 
struct mii_busmdio
 
s8 phy_id
 

Detailed Description

struct ethoc - driver-private device structure : pointer to I/O memory region : pointer to buffer memory region : dma allocated buffer size : I/O memory region size : number of send buffers : last send buffer written : last buffer actually sent : number of receive buffers : current receive buffer : pointer to array of virtual memory addresses for buffers : pointer to network device structure : NAPI structure : device state flags : device lock : attached PHY : MDIO bus for PHY access : address of attached PHY

Definition at line 196 of file ethoc.c.

Field Documentation

unsigned int cur_rx

Definition at line 207 of file ethoc.c.

unsigned int cur_tx

Definition at line 203 of file ethoc.c.

int dma_alloc

Definition at line 199 of file ethoc.c.

unsigned int dty_tx

Definition at line 204 of file ethoc.c.

resource_size_t io_region_size

Definition at line 200 of file ethoc.c.

void __iomem* iobase

Definition at line 197 of file ethoc.c.

spinlock_t lock

Definition at line 215 of file ethoc.c.

struct mii_bus* mdio

Definition at line 218 of file ethoc.c.

void __iomem* membase

Definition at line 198 of file ethoc.c.

u32 msg_enable

Definition at line 213 of file ethoc.c.

Definition at line 212 of file ethoc.c.

struct net_device* netdev

Definition at line 211 of file ethoc.c.

unsigned int num_rx

Definition at line 206 of file ethoc.c.

unsigned int num_tx

Definition at line 202 of file ethoc.c.

Definition at line 217 of file ethoc.c.

s8 phy_id

Definition at line 219 of file ethoc.c.

void** vma

Definition at line 209 of file ethoc.c.


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