greth.h (da733563be5a9da26fe81d9f007262d00b846e22) | greth.h (e1743a16a043f3d6b707730e46ba33ca931fb553) |
---|---|
1#ifndef GRETH_H 2#define GRETH_H 3 4#include <linux/phy.h> 5 6/* Register bits and masks */ 7#define GRETH_RESET 0x40 8#define GRETH_MII_BUSY 0x8 --- 93 unchanged lines hidden (view full) --- 102 struct sk_buff *tx_skbuff[GRETH_TXBD_NUM]; 103 104 unsigned char *tx_bufs[GRETH_TXBD_NUM]; 105 unsigned char *rx_bufs[GRETH_RXBD_NUM]; 106 u16 tx_bufs_length[GRETH_TXBD_NUM]; 107 108 u16 tx_next; 109 u16 tx_last; | 1#ifndef GRETH_H 2#define GRETH_H 3 4#include <linux/phy.h> 5 6/* Register bits and masks */ 7#define GRETH_RESET 0x40 8#define GRETH_MII_BUSY 0x8 --- 93 unchanged lines hidden (view full) --- 102 struct sk_buff *tx_skbuff[GRETH_TXBD_NUM]; 103 104 unsigned char *tx_bufs[GRETH_TXBD_NUM]; 105 unsigned char *rx_bufs[GRETH_RXBD_NUM]; 106 u16 tx_bufs_length[GRETH_TXBD_NUM]; 107 108 u16 tx_next; 109 u16 tx_last; |
110 u16 tx_free; | 110 u16 tx_free; /* only used on 10/100Mbit */ |
111 u16 rx_cur; 112 113 struct greth_regs *regs; /* Address of controller registers. */ 114 struct greth_bd *rx_bd_base; /* Address of Rx BDs. */ 115 struct greth_bd *tx_bd_base; /* Address of Tx BDs. */ 116 dma_addr_t rx_bd_base_phys; 117 dma_addr_t tx_bd_base_phys; 118 --- 24 unchanged lines hidden --- | 111 u16 rx_cur; 112 113 struct greth_regs *regs; /* Address of controller registers. */ 114 struct greth_bd *rx_bd_base; /* Address of Rx BDs. */ 115 struct greth_bd *tx_bd_base; /* Address of Tx BDs. */ 116 dma_addr_t rx_bd_base_phys; 117 dma_addr_t tx_bd_base_phys; 118 --- 24 unchanged lines hidden --- |