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