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

#include <linear.h>

Data Fields

struct md_rdevrdev
sector_t end_sector
struct net_devicedev
struct pci_devpdev
struct ksz_hw hw
struct ksz_shared_mem desc_pool
spinlock_t hwlock
struct mutex lock
int(* dev_rcv )(struct dev_info *)
struct sk_bufflast_skb
int skb_index
int skb_len
struct work_struct mib_read
struct ksz_timer_info mib_timer_info
struct ksz_counter_info counter [TOTAL_PORT_NUM]
int mtu
int opened
struct tasklet_struct rx_tasklet
struct tasklet_struct tx_tasklet
int wol_enable
int wol_support
unsigned long pme_wait
u32 dev_id
struct list_head list
unsigned int id

Detailed Description

struct dev_info - Network device information data structure : Pointer to network device. : Pointer to PCI device. : Hardware structure. : Physical memory used for descriptor pool. : Spinlock to prevent hardware from accessing. : Mutex lock to prevent device from accessing. : Receive process function used. : Socket buffer allocated for descriptor rx fragments. : Buffer index for receiving fragments. : Buffer length for receiving fragments. : Workqueue to read MIB counters. : Timer to read MIB counters. : Used for MIB reading. : Current MTU used. The default is REGULAR_RX_BUF_SIZE; the maximum is MAX_RX_BUF_SIZE. : Counter to keep track of device open. : Receive processing tasklet. : Transmit processing tasklet. : Wake-on-LAN enable set by ethtool. : Wake-on-LAN support used by ethtool. : Used for KSZ8841 power management.

struct dev_info - Physical Device info information about physical layer. : Pointer to native physical device. : Physical ID of the physical connection used by the logical CAIF connection. Used by service layers to identify their physical id to Caif MUX (CFMUXL)so that the MUX can add the correct physical ID to the packet.

Definition at line 4 of file linear.h.

Field Documentation

Definition at line 1441 of file ksz884x.c.

Definition at line 1428 of file ksz884x.c.

void* dev

Definition at line 259 of file caif_layer.h.

Definition at line 1424 of file ksz884x.c.

u32 dev_id

Definition at line 1369 of file xhci.h.

int(* dev_rcv)(struct dev_info *)

Definition at line 1433 of file ksz884x.c.

sector_t end_sector

Definition at line 6 of file linear.h.

Definition at line 1427 of file ksz884x.c.

spinlock_t hwlock

Definition at line 1430 of file ksz884x.c.

unsigned int id

Definition at line 260 of file caif_layer.h.

struct sk_buff* last_skb

Definition at line 1435 of file ksz884x.c.

Definition at line 1370 of file xhci.h.

struct mutex lock

Definition at line 1431 of file ksz884x.c.

struct work_struct mib_read

Definition at line 1439 of file ksz884x.c.

struct ksz_timer_info mib_timer_info

Definition at line 1440 of file ksz884x.c.

int mtu

Definition at line 1443 of file ksz884x.c.

int opened

Definition at line 1444 of file ksz884x.c.

struct pci_dev* pdev

Definition at line 1425 of file ksz884x.c.

unsigned long pme_wait

Definition at line 1451 of file ksz884x.c.

struct md_rdev* rdev

Definition at line 5 of file linear.h.

struct tasklet_struct rx_tasklet

Definition at line 1446 of file ksz884x.c.

int skb_index

Definition at line 1436 of file ksz884x.c.

int skb_len

Definition at line 1437 of file ksz884x.c.

struct tasklet_struct tx_tasklet

Definition at line 1447 of file ksz884x.c.

int wol_enable

Definition at line 1449 of file ksz884x.c.

int wol_support

Definition at line 1450 of file ksz884x.c.

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