Lines Matching defs:netdev_private
364 struct netdev_private { struct
366 struct netdev_desc *rx_ring;
367 struct netdev_desc *tx_ring;
368 struct sk_buff *rx_skbuff[RX_RING_SIZE];
369 struct sk_buff *tx_skbuff[TX_RING_SIZE];
370 dma_addr_t tx_ring_dma;
371 dma_addr_t rx_ring_dma;
372 struct pci_dev *pdev;
373 void __iomem *ioaddr;
374 void __iomem *eeprom_addr;
376 spinlock_t stats_lock;
377 spinlock_t tx_lock;
378 spinlock_t rx_lock;
379 unsigned int rx_buf_sz; /* Based on MTU+slack. */
380 unsigned int speed; /* Operating speed */
381 unsigned int vlan; /* VLAN Id */
382 unsigned int chip_id; /* PCI table chip id */
383 unsigned int rx_coalesce; /* Maximum frames each RxDMAComplete intr */
384 unsigned int rx_timeout; /* Wait time between RxDMAComplete intr */
385 unsigned int tx_coalesce; /* Maximum frames each tx interrupt */
386 unsigned int full_duplex:1; /* Full-duplex operation requested. */
387 unsigned int an_enable:2; /* Auto-Negotiated Enable */
388 unsigned int jumbo:1; /* Jumbo frame enable */
389 unsigned int coalesce:1; /* Rx coalescing enable */
390 unsigned int tx_flow:1; /* Tx flow control enable */
391 unsigned int rx_flow:1; /* Rx flow control enable */
392 unsigned int phy_media:1; /* 1: fiber, 0: copper */
393 unsigned int link_status:1; /* Current link status */
394 struct netdev_desc *last_tx; /* Last Tx descriptor used. */
395 unsigned long cur_rx, old_rx; /* Producer/consumer ring indices */
396 unsigned long cur_tx, old_tx;
397 struct timer_list timer;
398 int wake_polarity;
399 char name[256]; /* net device description */
400 u8 duplex_polarity;
401 u16 mcast_filter[4];
402 u16 advertising; /* NWay media advertisement */
403 u16 negotiate; /* Negotiated media */
404 int phy_addr; /* PHY addresses. */
405 u16 led_mode; /* LED mode read from EEPROM (IP1000A only) */
407 bool rmon_enable;