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

Data Fields

void __iomemio
 
struct ksz_switchksz_switch
 
struct ksz_port_info port_info [SWITCH_PORT_NUM]
 
struct ksz_port_mib port_mib [TOTAL_PORT_NUM]
 
int dev_count
 
int dst_ports
 
int id
 
int mib_cnt
 
int mib_port_cnt
 
u32 tx_cfg
 
u32 rx_cfg
 
u32 intr_mask
 
u32 intr_set
 
uint intr_blocked
 
struct ksz_desc_info rx_desc_info
 
struct ksz_desc_info tx_desc_info
 
int tx_int_cnt
 
int tx_int_mask
 
int tx_size
 
u8 perm_addr [ETH_ALEN]
 
u8 override_addr [ETH_ALEN]
 
u8 address [ADDITIONAL_ENTRIES][ETH_ALEN]
 
u8 addr_list_size
 
u8 mac_override
 
u8 promiscuous
 
u8 all_multi
 
u8 multi_list [MAX_MULTICAST_LIST][ETH_ALEN]
 
u8 multi_bits [HW_MULTICAST_SIZE]
 
u8 multi_list_size
 
u8 enabled
 
u8 rx_stop
 
u8 reserved2 [1]
 
uint features
 
uint overrides
 
voidparent
 

Detailed Description

struct ksz_hw - KSZ884X hardware data structure : Virtual address assigned. : Pointer to KSZ8842 switch. : Port information. : Port MIB information. : Number of network devices this hardware supports. : Destination ports in switch for transmission. : Hardware ID. Used for display only. : Number of MIB counters this hardware has. : Number of ports with MIB counters. : Cached transmit control settings. : Cached receive control settings. : Current interrupt mask. : Current interrup set. : Interrupt blocked. : Receive descriptor information. : Transmit descriptor information. : Transmit interrupt count. Used for TX optimization. : Transmit interrupt mask. Used for TX optimization. : Transmit data size. Used for TX optimization. The maximum is defined by MAX_TX_HELD_SIZE. : Permanent MAC address. : Overrided MAC address. : Additional MAC address entries. : Additional MAC address list size. : Indication of MAC address overrided. : Counter to keep track of promiscuous mode set. : Counter to keep track of all multicast mode set. : Multicast address entries. : Cached multicast hash table settings. : Multicast address list size. : Indication of hardware enabled. : Indication of receive process stop. : Hardware features to enable. : Hardware features to override. : Pointer to parent, network device private structure.

Definition at line 1269 of file ksz884x.c.

Field Documentation

u8 addr_list_size

Definition at line 1297 of file ksz884x.c.

Definition at line 1296 of file ksz884x.c.

u8 all_multi

Definition at line 1300 of file ksz884x.c.

int dev_count

Definition at line 1275 of file ksz884x.c.

int dst_ports

Definition at line 1276 of file ksz884x.c.

u8 enabled

Definition at line 1305 of file ksz884x.c.

Definition at line 1309 of file ksz884x.c.

Definition at line 1277 of file ksz884x.c.

uint intr_blocked

Definition at line 1285 of file ksz884x.c.

u32 intr_mask

Definition at line 1283 of file ksz884x.c.

u32 intr_set

Definition at line 1284 of file ksz884x.c.

Definition at line 1270 of file ksz884x.c.

Definition at line 1272 of file ksz884x.c.

u8 mac_override

Definition at line 1298 of file ksz884x.c.

int mib_cnt

Definition at line 1278 of file ksz884x.c.

int mib_port_cnt

Definition at line 1279 of file ksz884x.c.

u8 multi_bits[HW_MULTICAST_SIZE]

Definition at line 1302 of file ksz884x.c.

Definition at line 1301 of file ksz884x.c.

u8 multi_list_size

Definition at line 1303 of file ksz884x.c.

u8 override_addr[ETH_ALEN]

Definition at line 1295 of file ksz884x.c.

Definition at line 1310 of file ksz884x.c.

void* parent

Definition at line 1312 of file ksz884x.c.

u8 perm_addr[ETH_ALEN]

Definition at line 1294 of file ksz884x.c.

Definition at line 1273 of file ksz884x.c.

Definition at line 1274 of file ksz884x.c.

u8 promiscuous

Definition at line 1299 of file ksz884x.c.

u8 reserved2[1]

Definition at line 1307 of file ksz884x.c.

u32 rx_cfg

Definition at line 1282 of file ksz884x.c.

struct ksz_desc_info rx_desc_info

Definition at line 1287 of file ksz884x.c.

u8 rx_stop

Definition at line 1306 of file ksz884x.c.

u32 tx_cfg

Definition at line 1281 of file ksz884x.c.

struct ksz_desc_info tx_desc_info

Definition at line 1288 of file ksz884x.c.

int tx_int_cnt

Definition at line 1290 of file ksz884x.c.

int tx_int_mask

Definition at line 1291 of file ksz884x.c.

int tx_size

Definition at line 1292 of file ksz884x.c.


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