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

Data Fields

u16 sts
 
u16 len
 

Detailed Description

struct ks_net - KS8851 driver private data : The network device we're bound to : start address of data register. : start address of command register. : temporaly buffer to save status/length. : Lock to ensure that the device is not accessed when busy. : Pointer to platform device. : The MII state information for the mii calls. : frame header information for multi-pkt rx. : Lock on this structure for tx list. : The message flags controlling driver output (see ethtool). : number of frames received. : i/o bus width. : Cached copy of KS_RXQCR. : Cached copy of KS_TXCR. : Cached copy of KS_IER. : Multipex(addr and data bus) mode indicator. : command register cached. : command register cached. Used in the irq handler. : promiscuous mode indicator. : mutlicast indicator. : size of multicast list. : multicast list. : multicast enabed. : MAC address assigned to this device. : frame id. : number of extra byte prepended rx pkt. : indicator this device works.

The ensures that the chip is protected when certain operations are in progress. When the read or write packet transfer is in progress, most of the chip registers are not accessible until the transfer is finished and the DMA has been de-asserted.

The is used to protect information in the structure which may need to be accessed via several sources, such as the network driver layer or one of the work queues.

Definition at line 424 of file ks8851_mll.c.

Field Documentation

u16 len

Definition at line 426 of file ks8851_mll.c.

u16 sts

Definition at line 425 of file ks8851_mll.c.


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