struct ks8851_net - KS8851 driver private data : The network device we're bound to : The spi device we're bound to. : Lock to ensure that the device is not accessed when busy. : Lock on this structure for tx list. : The MII state information for the mii calls. : RX settings for . : Work queue for tx packets : Work queue for servicing interrupts : Work queue for updating RX mode and multicast lists : Queue of packets for transmission. : pre-setup SPI transfer with one message, . : pre-setup SPI transfer with two messages, . : Space for generating packet TX header in DMA-able data : Space for receiving SPI data, in DMA-able space. : Space for transmitting SPI data, in DMA-able space. : The message flags controlling driver output (see ethtool). : Incrementing frame id tag. : Cached copy of KS_IER. : Cached copy of KS_CCR. : Cached copy of KS_RXQCR. : Companion eeprom size in Bytes, 0 if no eeprom : 93CX6 EEPROM state for accessing on-board EEPROM.
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 ccessible 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.
We align the buffers we may use for rx/tx to ensure that if the SPI driver wants to DMA map them, it will not have any problems with data the driver modifies.
Definition at line 101 of file ks8851.c.