Linux Kernel
3.7.1
|
#include <greth.h>
Data Fields | |
struct sk_buff * | rx_skbuff [GRETH_RXBD_NUM] |
struct sk_buff * | tx_skbuff [GRETH_TXBD_NUM] |
unsigned char * | tx_bufs [GRETH_TXBD_NUM] |
unsigned char * | rx_bufs [GRETH_RXBD_NUM] |
u16 | tx_bufs_length [GRETH_TXBD_NUM] |
u16 | tx_next |
u16 | tx_last |
u16 | tx_free |
u16 | rx_cur |
struct greth_regs * | regs |
struct greth_bd * | rx_bd_base |
struct greth_bd * | tx_bd_base |
dma_addr_t | rx_bd_base_phys |
dma_addr_t | tx_bd_base_phys |
int | irq |
struct device * | dev |
struct net_device * | netdev |
struct napi_struct | napi |
spinlock_t | devlock |
struct phy_device * | phy |
struct mii_bus * | mdio |
int | mdio_irqs [PHY_MAX_ADDR] |
unsigned int | link |
unsigned int | speed |
unsigned int | duplex |
u32 | msg_enable |
u8 | phyaddr |
u8 | multicast |
u8 | gbit_mac |
u8 | mdio_int_en |
u8 | edcl |
spinlock_t devlock |
int mdio_irqs[PHY_MAX_ADDR] |
struct napi_struct napi |
struct net_device* netdev |
dma_addr_t rx_bd_base_phys |
unsigned char* rx_bufs[GRETH_RXBD_NUM] |
struct sk_buff* rx_skbuff[GRETH_RXBD_NUM] |
dma_addr_t tx_bd_base_phys |
unsigned char* tx_bufs[GRETH_TXBD_NUM] |
u16 tx_bufs_length[GRETH_TXBD_NUM] |
struct sk_buff* tx_skbuff[GRETH_TXBD_NUM] |