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 struct net_device_stats stats;
381 unsigned int rx_buf_sz; /* Based on MTU+slack. */
382 unsigned int speed; /* Operating speed */
383 unsigned int vlan; /* VLAN Id */
384 unsigned int chip_id; /* PCI table chip id */
385 unsigned int rx_coalesce; /* Maximum frames each RxDMAComplete intr */
386 unsigned int rx_timeout; /* Wait time between RxDMAComplete intr */
387 unsigned int tx_coalesce; /* Maximum frames each tx interrupt */
388 unsigned int full_duplex:1; /* Full-duplex operation requested. */
389 unsigned int an_enable:2; /* Auto-Negotiated Enable */
390 unsigned int jumbo:1; /* Jumbo frame enable */
391 unsigned int coalesce:1; /* Rx coalescing enable */
392 unsigned int tx_flow:1; /* Tx flow control enable */
393 unsigned int rx_flow:1; /* Rx flow control enable */
394 unsigned int phy_media:1; /* 1: fiber, 0: copper */
395 unsigned int link_status:1; /* Current link status */
396 struct netdev_desc *last_tx; /* Last Tx descriptor used. */
397 unsigned long cur_rx, old_rx; /* Producer/consumer ring indices */
398 unsigned long cur_tx, old_tx;
399 struct timer_list timer;
400 int wake_polarity;
401 char name[256]; /* net device description */
402 u8 duplex_polarity;
403 u16 mcast_filter[4];
404 u16 advertising; /* NWay media advertisement */
405 u16 negotiate; /* Negotiated media */
406 int phy_addr; /* PHY addresses. */
407 u16 led_mode; /* LED mode read from EEPROM (IP1000A only) */