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

#include <3c501.h>

Data Fields

struct net_devicedev
 
spinlock_t lock
 
struct sk_buffskbs [MAX_SKB_BUFFERS]
 
int in_idx
 
int out_idx
 
int sk_count
 
struct mii_if_info mii_if
 
spinlock_t led_lock
 
spinlock_t transceiver_lock
 
int tx_pkt_start
 
int collisions
 
int loading
 
int txing
 
int chip_type
 
char chip_revision
 
int send_cmd
 
int auto_neg_cnf
 
int adapter_cnf
 
int isa_config
 
int irq_map
 
int rx_mode
 
int curr_rx_cfg
 
int linectl
 
int send_underrun
 
int force
 
void __iomemvirt_addr
 
unsigned long size
 
struct sk_buffskb
 
unsigned char mc_filter [8]
 
uint jumpered:1
 
uint tx_started:1
 
uint tx_queue_ready:1
 
uint rx_started:1
 
uchar tx_queue
 
ushort tx_queue_len
 
int last_restart
 
ushort rx_head
 
ushort rx_tail
 
ushort tx_head
 
ushort tx_cmd_link
 
ushort tx_reap
 
ushort tx_pkts_in_ring
 
void __iomembase
 
unsigned long last_tx
 
unsigned long init_time
 
unsigned short rx_first
 
unsigned short rx_last
 
unsigned short rx_ptr
 
unsigned short tx_head
 
unsigned short tx_reap
 
unsigned short tx_tail
 
unsigned short tx_link
 
unsigned short last_tx_restart
 
unsigned char started
 
unsigned short rx_buf_start
 
unsigned short rx_buf_end
 
unsigned short num_tx_bufs
 
unsigned short num_rx_bufs
 
unsigned char width
 
unsigned char was_promisc
 
unsigned char old_mc_count
 
struct net_devicenext_module
 
struct timer_list timer
 
long last_rx_time
 
int saved_tx_size
 
unsigned int tx_unit_busy:1
 
unsigned char re_tx
 
unsigned char addr_mode
 
unsigned char pac_cnt_in_tx_buf
 
unsigned char chip_type
 
unsigned short receive_ptr
 
long open_time
 
struct net_devicendev
 
bool tx_ping_pong
 
bool rx_ping_pong
 
u32 next_tx_buf_to_use
 
u32 next_rx_buf_to_use
 
void __iomembase_addr
 
spinlock_t reset_lock
 
struct sk_buffdeferred_skb
 
struct phy_devicephy_dev
 
struct device_nodephy_node
 
struct mii_busmii_bus
 
int mdio_irqs [PHY_MAX_ADDR]
 
int last_link
 
bool has_mdio
 
struct work_struct immediate
 
struct delayed_work deferred
 
struct delayed_work timer
 
struct plip_local snd_data
 
struct plip_local rcv_data
 
struct pardevicepardev
 
unsigned long trigger
 
unsigned long nibble
 
enum plip_connection_state connection
 
unsigned short timeout_count
 
int is_deferred
 
int port_owner
 
int should_relinquish
 
atomic_t kill_timer
 
struct completion killed_timer_cmp
 
struct timer_list watchdog
 
struct sk_buffrx_buf_p
 
struct sk_bufftx_buf_p
 
unsigned int framelen
 
unsigned int maxframe
 
unsigned int state
 
unsigned int inppos
 
unsigned int outpos
 
unsigned int tx_frameno
 
unsigned int wait_frameno
 
unsigned int trans_errors
 
unsigned int timer_ticks
 
int delta_rxl
 
unsigned int cur_rxl_index
 
unsigned int timeout_rxl
 
unsigned long cur_rxl_rcvd
 
unsigned long prev_rxl_rcvd
 
struct sbni_csr1 csr1
 
struct sbni_in_stats in_stats
 
struct net_devicesecond
 

Detailed Description

struct net_local - Our private per device data : instance of the network device : indicates whether Tx Pong buffer is configured in HW : indicates whether Rx Pong buffer is configured in HW : next Tx buffer to write to : next Rx buffer to read from : base address of the Emaclite device : lock used for synchronization : holds an skb (for transmission at a later time) when the Tx buffer is not free : pointer to the PHY device : pointer to the PHY device node : pointer to the MII bus : IRQs table for MDIO bus : last link status : indicates whether MDIO is included in the HW

Definition at line 37 of file hysdn_net.c.

Field Documentation

int adapter_cnf

Definition at line 156 of file cs89x0.c.

unsigned char addr_mode

Definition at line 176 of file atp.c.

int auto_neg_cnf

Definition at line 155 of file cs89x0.c.

void __iomem* base

Definition at line 128 of file 3c507.c.

void __iomem* base_addr

Definition at line 128 of file xilinx_emaclite.c.

char chip_revision

Definition at line 153 of file cs89x0.c.

Definition at line 152 of file cs89x0.c.

unsigned char chip_type

Definition at line 176 of file atp.c.

int collisions

Definition at line 32 of file 3c501.h.

Definition at line 217 of file plip.c.

Definition at line 101 of file sbni.c.

unsigned int cur_rxl_index

Definition at line 98 of file sbni.c.

unsigned long cur_rxl_rcvd

Definition at line 99 of file sbni.c.

int curr_rx_cfg

Definition at line 160 of file cs89x0.c.

struct delayed_work deferred

Definition at line 210 of file plip.c.

struct sk_buff* deferred_skb

Definition at line 131 of file xilinx_emaclite.c.

int delta_rxl

Definition at line 97 of file sbni.c.

Definition at line 43 of file hysdn_net.c.

int force

Definition at line 163 of file cs89x0.c.

unsigned int framelen

Definition at line 78 of file sbni.c.

bool has_mdio

Definition at line 140 of file xilinx_emaclite.c.

struct work_struct immediate

Definition at line 209 of file plip.c.

int in_idx

Definition at line 46 of file hysdn_net.c.

Definition at line 102 of file sbni.c.

unsigned long init_time

Definition at line 136 of file eexpress.c.

unsigned int inppos

Definition at line 81 of file sbni.c.

int irq_map

Definition at line 158 of file cs89x0.c.

int is_deferred

Definition at line 219 of file plip.c.

int isa_config

Definition at line 157 of file cs89x0.c.

uint jumpered

Definition at line 93 of file at1700.c.

atomic_t kill_timer

Definition at line 223 of file plip.c.

struct completion killed_timer_cmp

Definition at line 224 of file plip.c.

int last_link

Definition at line 139 of file xilinx_emaclite.c.

int last_restart

Definition at line 120 of file 3c507.c.

long last_rx_time

Definition at line 173 of file atp.c.

unsigned long last_tx

Definition at line 135 of file eexpress.c.

unsigned short last_tx_restart

Definition at line 144 of file eexpress.c.

spinlock_t led_lock

Definition at line 70 of file eth_v10.c.

int linectl

Definition at line 161 of file cs89x0.c.

int loading

Definition at line 33 of file 3c501.h.

spinlock_t lock

Definition at line 44 of file hysdn_net.c.

unsigned int maxframe

Definition at line 79 of file sbni.c.

unsigned char mc_filter[8]

Definition at line 92 of file at1700.c.

int mdio_irqs[PHY_MAX_ADDR]

Definition at line 137 of file xilinx_emaclite.c.

Definition at line 136 of file xilinx_emaclite.c.

Definition at line 61 of file eth_v10.c.

Definition at line 122 of file xilinx_emaclite.c.

struct net_device* next_module

Definition at line 171 of file atp.c.

u32 next_rx_buf_to_use

Definition at line 127 of file xilinx_emaclite.c.

u32 next_tx_buf_to_use

Definition at line 126 of file xilinx_emaclite.c.

unsigned long nibble

Definition at line 216 of file plip.c.

unsigned short num_rx_bufs

Definition at line 150 of file eexpress.c.

unsigned short num_tx_bufs

Definition at line 149 of file eexpress.c.

unsigned char old_mc_count

Definition at line 153 of file eexpress.c.

long open_time

Definition at line 69 of file seeq8005.c.

int out_idx

Definition at line 46 of file hysdn_net.c.

unsigned int outpos

Definition at line 81 of file sbni.c.

unsigned char pac_cnt_in_tx_buf

Definition at line 176 of file atp.c.

struct pardevice* pardev

Definition at line 214 of file plip.c.

Definition at line 133 of file xilinx_emaclite.c.

struct device_node* phy_node

Definition at line 134 of file xilinx_emaclite.c.

int port_owner

Definition at line 220 of file plip.c.

unsigned long prev_rxl_rcvd

Definition at line 99 of file sbni.c.

struct plip_local rcv_data

Definition at line 213 of file plip.c.

unsigned char re_tx

Definition at line 176 of file atp.c.

unsigned short receive_ptr

Definition at line 68 of file seeq8005.c.

spinlock_t reset_lock

Definition at line 130 of file xilinx_emaclite.c.

unsigned short rx_buf_end

Definition at line 148 of file eexpress.c.

struct sk_buff* rx_buf_p

Definition at line 75 of file sbni.c.

unsigned short rx_buf_start

Definition at line 147 of file eexpress.c.

unsigned short rx_first

Definition at line 137 of file eexpress.c.

ushort rx_head

Definition at line 121 of file 3c507.c.

unsigned short rx_last

Definition at line 138 of file eexpress.c.

int rx_mode

Definition at line 159 of file cs89x0.c.

bool rx_ping_pong

Definition at line 125 of file xilinx_emaclite.c.

unsigned short rx_ptr

Definition at line 139 of file eexpress.c.

uint rx_started

Definition at line 96 of file at1700.c.

ushort rx_tail

Definition at line 122 of file 3c507.c.

int saved_tx_size

Definition at line 174 of file atp.c.

struct net_device* second

Definition at line 104 of file sbni.c.

int send_cmd

Definition at line 154 of file cs89x0.c.

int send_underrun

Definition at line 162 of file cs89x0.c.

int should_relinquish

Definition at line 221 of file plip.c.

unsigned long size

Definition at line 166 of file cs89x0.c.

int sk_count

Definition at line 47 of file hysdn_net.c.

Definition at line 118 of file mac89x0.c.

Definition at line 45 of file hysdn_net.c.

struct plip_local snd_data

Definition at line 212 of file plip.c.

unsigned char started

Definition at line 146 of file eexpress.c.

unsigned int state

Definition at line 80 of file sbni.c.

unsigned short timeout_count

Definition at line 218 of file plip.c.

unsigned int timeout_rxl

Definition at line 98 of file sbni.c.

Definition at line 172 of file atp.c.

Definition at line 211 of file plip.c.

unsigned int timer_ticks

Definition at line 94 of file sbni.c.

unsigned int trans_errors

Definition at line 91 of file sbni.c.

spinlock_t transceiver_lock

Definition at line 71 of file eth_v10.c.

unsigned long trigger

Definition at line 215 of file plip.c.

struct sk_buff* tx_buf_p

Definition at line 76 of file sbni.c.

ushort tx_cmd_link

Definition at line 124 of file 3c507.c.

unsigned int tx_frameno

Definition at line 84 of file sbni.c.

ushort tx_head

Definition at line 123 of file 3c507.c.

unsigned short tx_head

Definition at line 140 of file eexpress.c.

unsigned short tx_link

Definition at line 143 of file eexpress.c.

bool tx_ping_pong

Definition at line 124 of file xilinx_emaclite.c.

int tx_pkt_start

Definition at line 31 of file 3c501.h.

ushort tx_pkts_in_ring

Definition at line 126 of file 3c507.c.

Definition at line 97 of file at1700.c.

ushort tx_queue_len

Definition at line 98 of file at1700.c.

uint tx_queue_ready

Definition at line 95 of file at1700.c.

ushort tx_reap

Definition at line 125 of file 3c507.c.

unsigned short tx_reap

Definition at line 141 of file eexpress.c.

uint tx_started

Definition at line 94 of file at1700.c.

unsigned short tx_tail

Definition at line 142 of file eexpress.c.

unsigned int tx_unit_busy

Definition at line 175 of file atp.c.

int txing

Definition at line 34 of file 3c501.h.

void __iomem* virt_addr

Definition at line 165 of file cs89x0.c.

unsigned int wait_frameno

Definition at line 87 of file sbni.c.

unsigned char was_promisc

Definition at line 152 of file eexpress.c.

Definition at line 72 of file sbni.c.

unsigned char width

Definition at line 151 of file eexpress.c.


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