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

#include <cassini.h>

Data Fields

spinlock_t lock
 
spinlock_t tx_lock [N_TX_RINGS]
 
spinlock_t stat_lock [N_TX_RINGS+1]
 
spinlock_t rx_inuse_lock
 
spinlock_t rx_spare_lock
 
void __iomemregs
 
int tx_new [N_TX_RINGS]
 
int tx_old [N_TX_RINGS]
 
int rx_old [N_RX_DESC_RINGS]
 
int rx_cur [N_RX_COMP_RINGS]
 
int rx_new [N_RX_COMP_RINGS]
 
int rx_last [N_RX_DESC_RINGS]
 
struct napi_struct napi
 
int hw_running
 
int opened
 
struct mutex pm_mutex
 
struct cas_init_blockinit_block
 
struct cas_tx_descinit_txds [MAX_TX_RINGS]
 
struct cas_rx_descinit_rxds [MAX_RX_DESC_RINGS]
 
struct cas_rx_compinit_rxcs [MAX_RX_COMP_RINGS]
 
struct sk_bufftx_skbs [N_TX_RINGS][TX_DESC_RING_SIZE]
 
struct sk_buff_head rx_flows [N_RX_FLOWS]
 
cas_page_trx_pages [N_RX_DESC_RINGS][RX_DESC_RING_SIZE]
 
struct list_head rx_spare_list rx_inuse_list
 
int rx_spares_needed
 
struct cas_tiny_count tx_tiny_use [N_TX_RINGS][TX_DESC_RING_SIZE]
 
u8tx_tiny_bufs [N_TX_RINGS]
 
u32 msg_enable
 
struct net_device_stats net_stats [N_TX_RINGS+1]
 
u32 pci_cfg [64 >> 2]
 
u8 pci_revision
 
int phy_type
 
int phy_addr
 
u32 phy_id
 
u32 cas_flags
 
int packet_min
 
int tx_fifo_size
 
int rx_fifo_size
 
int rx_pause_off
 
int rx_pause_on
 
int crc_size
 
int pci_irq_INTC
 
int min_frame_size
 
int page_size
 
int page_order
 
int mtu_stride
 
u32 mac_rx_cfg
 
int link_cntl
 
int link_fcntl
 
enum link_state lstate
 
struct timer_list link_timer
 
int timer_ticks
 
struct work_struct reset_task
 
atomic_t reset_task_pending
 
atomic_t reset_task_pending_mtu
 
atomic_t reset_task_pending_spare
 
atomic_t reset_task_pending_all
 
int link_transition
 
int link_transition_jiffies_valid
 
unsigned long link_transition_jiffies
 
u8 orig_cacheline_size
 
int casreg_len
 
u64 pause_entered
 
u16 pause_last_time_recvd
 
dma_addr_t block_dvma
 
dma_addr_t tx_tiny_dvma [N_TX_RINGS]
 
struct pci_devpdev
 
struct net_devicedev
 
u16 fw_load_addr
 
u32 fw_size
 
u8fw_data
 

Detailed Description

Definition at line 1955 of file cassini.h.

Field Documentation

dma_addr_t block_dvma

Definition at line 2070 of file cassini.h.

u32 cas_flags

Definition at line 2015 of file cassini.h.

int casreg_len

Definition at line 2066 of file cassini.h.

int crc_size

Definition at line 2021 of file cassini.h.

Definition at line 2072 of file cassini.h.

Definition at line 2080 of file cassini.h.

u16 fw_load_addr

Definition at line 2078 of file cassini.h.

u32 fw_size

Definition at line 2079 of file cassini.h.

int hw_running

Definition at line 1972 of file cassini.h.

Definition at line 1976 of file cassini.h.

Definition at line 1979 of file cassini.h.

Definition at line 1978 of file cassini.h.

Definition at line 1977 of file cassini.h.

int link_cntl

Definition at line 2034 of file cassini.h.

int link_fcntl

Definition at line 2035 of file cassini.h.

struct timer_list link_timer

Definition at line 2037 of file cassini.h.

int link_transition

Definition at line 2057 of file cassini.h.

unsigned long link_transition_jiffies

Definition at line 2059 of file cassini.h.

int link_transition_jiffies_valid

Definition at line 2058 of file cassini.h.

spinlock_t lock

Definition at line 1956 of file cassini.h.

enum link_state lstate

Definition at line 2036 of file cassini.h.

u32 mac_rx_cfg

Definition at line 2031 of file cassini.h.

int min_frame_size

Definition at line 2024 of file cassini.h.

u32 msg_enable

Definition at line 1994 of file cassini.h.

int mtu_stride

Definition at line 2029 of file cassini.h.

Definition at line 1968 of file cassini.h.

Definition at line 1997 of file cassini.h.

int opened

Definition at line 1973 of file cassini.h.

u8 orig_cacheline_size

Definition at line 2062 of file cassini.h.

int packet_min

Definition at line 2016 of file cassini.h.

int page_order

Definition at line 2028 of file cassini.h.

int page_size

Definition at line 2027 of file cassini.h.

u64 pause_entered

Definition at line 2067 of file cassini.h.

u16 pause_last_time_recvd

Definition at line 2068 of file cassini.h.

u32 pci_cfg[64 >> 2]

Definition at line 1999 of file cassini.h.

int pci_irq_INTC

Definition at line 2023 of file cassini.h.

u8 pci_revision

Definition at line 2000 of file cassini.h.

struct pci_dev* pdev

Definition at line 2071 of file cassini.h.

int phy_addr

Definition at line 2003 of file cassini.h.

u32 phy_id

Definition at line 2004 of file cassini.h.

int phy_type

Definition at line 2002 of file cassini.h.

struct mutex pm_mutex

Definition at line 1974 of file cassini.h.

Definition at line 1962 of file cassini.h.

struct work_struct reset_task

Definition at line 2039 of file cassini.h.

atomic_t reset_task_pending

Definition at line 2043 of file cassini.h.

atomic_t reset_task_pending_all

Definition at line 2046 of file cassini.h.

atomic_t reset_task_pending_mtu

Definition at line 2044 of file cassini.h.

atomic_t reset_task_pending_spare

Definition at line 2045 of file cassini.h.

Definition at line 1965 of file cassini.h.

int rx_fifo_size

Definition at line 2018 of file cassini.h.

Definition at line 1984 of file cassini.h.

struct list_head rx_spare_list rx_inuse_list

Definition at line 1986 of file cassini.h.

spinlock_t rx_inuse_lock

Definition at line 1959 of file cassini.h.

int rx_last[N_RX_DESC_RINGS]

Definition at line 1966 of file cassini.h.

Definition at line 1965 of file cassini.h.

Definition at line 1964 of file cassini.h.

Definition at line 1985 of file cassini.h.

int rx_pause_off

Definition at line 2019 of file cassini.h.

int rx_pause_on

Definition at line 2020 of file cassini.h.

spinlock_t rx_spare_lock

Definition at line 1960 of file cassini.h.

int rx_spares_needed

Definition at line 1987 of file cassini.h.

spinlock_t stat_lock[N_TX_RINGS+1]

Definition at line 1958 of file cassini.h.

int timer_ticks

Definition at line 2038 of file cassini.h.

int tx_fifo_size

Definition at line 2017 of file cassini.h.

Definition at line 1957 of file cassini.h.

int tx_new[N_TX_RINGS]

Definition at line 1963 of file cassini.h.

int tx_old[N_TX_RINGS]

Definition at line 1963 of file cassini.h.

Definition at line 1983 of file cassini.h.

u8* tx_tiny_bufs[N_TX_RINGS]

Definition at line 1992 of file cassini.h.

dma_addr_t tx_tiny_dvma[N_TX_RINGS]

Definition at line 2070 of file cassini.h.

Definition at line 1991 of file cassini.h.


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