Lines Matching defs:netdev_private

385 struct netdev_private {  struct
387 struct netdev_desc *rx_ring;
388 struct netdev_desc *tx_ring;
389 struct sk_buff *rx_skbuff[RX_RING_SIZE];
390 struct sk_buff *tx_skbuff[TX_RING_SIZE];
391 dma_addr_t tx_ring_dma;
392 dma_addr_t rx_ring_dma;
393 struct pci_dev *pdev;
394 spinlock_t tx_lock;
395 spinlock_t rx_lock;
396 struct net_device_stats stats;
397 unsigned int rx_buf_sz; /* Based on MTU+slack. */
398 unsigned int speed; /* Operating speed */
399 unsigned int vlan; /* VLAN Id */
400 unsigned int chip_id; /* PCI table chip id */
401 unsigned int rx_coalesce; /* Maximum frames each RxDMAComplete intr */
402 unsigned int rx_timeout; /* Wait time between RxDMAComplete intr */
403 unsigned int tx_coalesce; /* Maximum frames each tx interrupt */
404 unsigned int full_duplex:1; /* Full-duplex operation requested. */
405 unsigned int an_enable:2; /* Auto-Negotiated Enable */
406 unsigned int jumbo:1; /* Jumbo frame enable */
407 unsigned int coalesce:1; /* Rx coalescing enable */
408 unsigned int tx_flow:1; /* Tx flow control enable */
409 unsigned int rx_flow:1; /* Rx flow control enable */
410 unsigned int phy_media:1; /* 1: fiber, 0: copper */
411 unsigned int link_status:1; /* Current link status */
412 struct netdev_desc *last_tx; /* Last Tx descriptor used. */
413 unsigned long cur_rx, old_rx; /* Producer/consumer ring indices */
414 unsigned long cur_tx, old_tx;
415 struct timer_list timer;
416 int wake_polarity;
417 char name[256]; /* net device description */
418 u8 duplex_polarity;
419 u16 mcast_filter[4];
420 u16 advertising; /* NWay media advertisement */
421 u16 negotiate; /* Negotiated media */
422 int phy_addr; /* PHY addresses. */