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

Data Fields

u8 duplex
 
u8 speed
 
u8 force_link
 
u8 flow_ctrl
 
int first_port
 
int mib_port_cnt
 
int port_cnt
 
u64 counter [OID_COUNTER_LAST]
 
struct ksz_hwhw
 
struct ksz_port_infolinked
 

Detailed Description

struct ksz_port - Virtual port data structure : Duplex mode setting. 1 for half duplex, 2 for full duplex, and 0 for auto, which normally results in full duplex. : Speed setting. 10 for 10 Mbit, 100 for 100 Mbit, and 0 for auto, which normally results in 100 Mbit. : Force link setting. 0 for auto-negotiation, and 1 for force. : Flow control setting. PHY_NO_FLOW_CTRL for no flow control, and PHY_FLOW_CTRL for flow control. PHY_TX_ONLY and PHY_RX_ONLY are not supported for 100 Mbit PHY. : Index of first port this port supports. : Number of ports with MIB counters. : Number of ports this port supports. : Port statistics counter. : Pointer to hardware structure. : Pointer to port information linked to this port.

Definition at line 1342 of file ksz884x.c.

Field Documentation

Definition at line 1351 of file ksz884x.c.

Definition at line 1343 of file ksz884x.c.

int first_port

Definition at line 1348 of file ksz884x.c.

u8 flow_ctrl

Definition at line 1346 of file ksz884x.c.

u8 force_link

Definition at line 1345 of file ksz884x.c.

Definition at line 1353 of file ksz884x.c.

Definition at line 1354 of file ksz884x.c.

int mib_port_cnt

Definition at line 1349 of file ksz884x.c.

int port_cnt

Definition at line 1350 of file ksz884x.c.

u8 speed

Definition at line 1344 of file ksz884x.c.


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