Lines Matching defs:dmfe_board_info
200 struct dmfe_board_info { struct
201 u32 chip_id; /* Chip vendor/Device ID */
202 u8 chip_revision; /* Chip revision */
203 struct net_device *next_dev; /* next device */
204 struct pci_dev *pdev; /* PCI device */
205 spinlock_t lock;
207 void __iomem *ioaddr; /* I/O base address */
208 u32 cr0_data;
209 u32 cr5_data;
210 u32 cr6_data;
211 u32 cr7_data;
212 u32 cr15_data;
215 dma_addr_t buf_pool_dma_ptr; /* Tx buffer pool memory */
216 dma_addr_t buf_pool_dma_start; /* Tx buffer pool align dword */
217 dma_addr_t desc_pool_dma_ptr; /* descriptor pool memory */
218 dma_addr_t first_tx_desc_dma;
219 dma_addr_t first_rx_desc_dma;
222 unsigned char *buf_pool_ptr; /* Tx buffer pool memory */
223 unsigned char *buf_pool_start; /* Tx buffer pool align dword */
224 unsigned char *desc_pool_ptr; /* descriptor pool memory */
225 struct tx_desc *first_tx_desc;
226 struct tx_desc *tx_insert_ptr;
227 struct tx_desc *tx_remove_ptr;
228 struct rx_desc *first_rx_desc;
229 struct rx_desc *rx_insert_ptr;
230 struct rx_desc *rx_ready_ptr; /* packet come pointer */
231 unsigned long tx_packet_cnt; /* transmitted packet count */
232 unsigned long tx_queue_cnt; /* wait to send packet count */
233 unsigned long rx_avail_cnt; /* available rx descriptor count */
234 unsigned long interval_rx_cnt; /* rx packet count a callback time */
236 u16 HPNA_command; /* For HPNA register 16 */
237 u16 HPNA_timer; /* For HPNA remote device check */
238 u16 dbug_cnt;
239 u16 NIC_capability; /* NIC media capability */
240 u16 PHY_reg4; /* Saved Phyxcer register 4 value */
242 u8 HPNA_present; /* 0:none, 1:DM9801, 2:DM9802 */
243 u8 chip_type; /* Keep DM9102A chip type */
244 u8 media_mode; /* user specify media mode */
245 u8 op_mode; /* real work media mode */
246 u8 phy_addr;
247 u8 wait_reset; /* Hardware failed, need to reset */
248 u8 dm910x_chk_mode; /* Operating mode check */
249 u8 first_in_callback; /* Flag to record state */
250 u8 wol_mode; /* user WOL settings */
251 struct timer_list timer;
254 unsigned long tx_fifo_underrun;
255 unsigned long tx_loss_carrier;
256 unsigned long tx_no_carrier;
257 unsigned long tx_late_collision;
258 unsigned long tx_excessive_collision;
259 unsigned long tx_jabber_timeout;
260 unsigned long reset_count;
261 unsigned long reset_cr8;
262 unsigned long reset_fatal;
263 unsigned long reset_TXtimeout;
266 unsigned char srom[128];