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