Lines Matching defs:tsi108_prv_data

65 struct tsi108_prv_data {  struct
66 void __iomem *regs; /* Base of normal regs */
67 void __iomem *phyregs; /* Base of register bank used for PHY access */
69 struct net_device *dev;
70 struct napi_struct napi;
72 unsigned int phy; /* Index of PHY for this interface */
73 unsigned int irq_num;
74 unsigned int id;
75 unsigned int phy_type;
77 struct timer_list timer;/* Timer that triggers the check phy function */
78 unsigned int rxtail; /* Next entry in rxring to read */
79 unsigned int rxhead; /* Next entry in rxring to give a new buffer */
80 unsigned int rxfree; /* Number of free, allocated RX buffers */
82 unsigned int rxpending; /* Non-zero if there are still descriptors
86 unsigned int txtail; /* Next TX descriptor to check status on */
87 unsigned int txhead; /* Next TX descriptor to use */
94 unsigned int txfree;
96 unsigned int phy_ok; /* The PHY is currently powered on. */
102 unsigned int link_up;
103 unsigned int speed;
104 unsigned int duplex;
106 tx_desc *txring;
107 rx_desc *rxring;
108 struct sk_buff *txskbs[TSI108_TXRING_LEN];
109 struct sk_buff *rxskbs[TSI108_RXRING_LEN];
111 dma_addr_t txdma, rxdma;
115 spinlock_t txlock, misclock;
123 struct net_device_stats stats;
124 struct net_device_stats tmpstats;
130 unsigned long rx_fcs; /* Add to rx_frame_errors */
131 unsigned long rx_short_fcs; /* Add to rx_frame_errors */
132 unsigned long rx_long_fcs; /* Add to rx_frame_errors */
133 unsigned long rx_underruns; /* Add to rx_length_errors */
134 unsigned long rx_overruns; /* Add to rx_length_errors */
136 unsigned long tx_coll_abort; /* Add to tx_aborted_errors/collisions */
137 unsigned long tx_pause_drop; /* Add to tx_aborted_errors */
162 struct tsi108_prv_data *data = netdev_priv(dev); in dump_eth_one() argument