• Home
  • Raw
  • Download

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