Lines Matching defs:tsi108_prv_data

77 struct tsi108_prv_data {  struct
78 void __iomem *regs; /* Base of normal regs */
79 void __iomem *phyregs; /* Base of register bank used for PHY access */
81 struct net_device *dev;
82 struct napi_struct napi;
84 unsigned int phy; /* Index of PHY for this interface */
85 unsigned int irq_num;
86 unsigned int id;
87 unsigned int phy_type;
89 struct timer_list timer;/* Timer that triggers the check phy function */
90 unsigned int rxtail; /* Next entry in rxring to read */
91 unsigned int rxhead; /* Next entry in rxring to give a new buffer */
92 unsigned int rxfree; /* Number of free, allocated RX buffers */
94 unsigned int rxpending; /* Non-zero if there are still descriptors
98 unsigned int txtail; /* Next TX descriptor to check status on */
99 unsigned int txhead; /* Next TX descriptor to use */
106 unsigned int txfree;
108 unsigned int phy_ok; /* The PHY is currently powered on. */
114 unsigned int link_up;
115 unsigned int speed;
116 unsigned int duplex;
118 tx_desc *txring;
119 rx_desc *rxring;
120 struct sk_buff *txskbs[TSI108_TXRING_LEN];
121 struct sk_buff *rxskbs[TSI108_RXRING_LEN];
123 dma_addr_t txdma, rxdma;
127 spinlock_t txlock, misclock;
135 struct net_device_stats stats;
136 struct net_device_stats tmpstats;
142 unsigned long rx_fcs; /* Add to rx_frame_errors */
143 unsigned long rx_short_fcs; /* Add to rx_frame_errors */
144 unsigned long rx_long_fcs; /* Add to rx_frame_errors */
145 unsigned long rx_underruns; /* Add to rx_length_errors */
146 unsigned long rx_overruns; /* Add to rx_length_errors */
148 unsigned long tx_coll_abort; /* Add to tx_aborted_errors/collisions */
149 unsigned long tx_pause_drop; /* Add to tx_aborted_errors */
174 struct tsi108_prv_data *data = netdev_priv(dev); in dump_eth_one() argument