diff options
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index c993fc3ab8a5..70ccab074658 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -148,6 +148,7 @@ struct ixgbe_queue_stats { | |||
148 | 148 | ||
149 | struct ixgbe_ring { | 149 | struct ixgbe_ring { |
150 | void *desc; /* descriptor ring memory */ | 150 | void *desc; /* descriptor ring memory */ |
151 | struct device *dev; /* device for DMA mapping */ | ||
151 | union { | 152 | union { |
152 | struct ixgbe_tx_buffer *tx_buffer_info; | 153 | struct ixgbe_tx_buffer *tx_buffer_info; |
153 | struct ixgbe_rx_buffer *rx_buffer_info; | 154 | struct ixgbe_rx_buffer *rx_buffer_info; |
@@ -454,10 +455,10 @@ extern void ixgbe_down(struct ixgbe_adapter *adapter); | |||
454 | extern void ixgbe_reinit_locked(struct ixgbe_adapter *adapter); | 455 | extern void ixgbe_reinit_locked(struct ixgbe_adapter *adapter); |
455 | extern void ixgbe_reset(struct ixgbe_adapter *adapter); | 456 | extern void ixgbe_reset(struct ixgbe_adapter *adapter); |
456 | extern void ixgbe_set_ethtool_ops(struct net_device *netdev); | 457 | extern void ixgbe_set_ethtool_ops(struct net_device *netdev); |
457 | extern int ixgbe_setup_rx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); | 458 | extern int ixgbe_setup_rx_resources(struct ixgbe_ring *); |
458 | extern int ixgbe_setup_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); | 459 | extern int ixgbe_setup_tx_resources(struct ixgbe_ring *); |
459 | extern void ixgbe_free_rx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); | 460 | extern void ixgbe_free_rx_resources(struct ixgbe_ring *); |
460 | extern void ixgbe_free_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); | 461 | extern void ixgbe_free_tx_resources(struct ixgbe_ring *); |
461 | extern void ixgbe_configure_rx_ring(struct ixgbe_adapter *,struct ixgbe_ring *); | 462 | extern void ixgbe_configure_rx_ring(struct ixgbe_adapter *,struct ixgbe_ring *); |
462 | extern void ixgbe_configure_tx_ring(struct ixgbe_adapter *,struct ixgbe_ring *); | 463 | extern void ixgbe_configure_tx_ring(struct ixgbe_adapter *,struct ixgbe_ring *); |
463 | extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); | 464 | extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); |
@@ -467,7 +468,7 @@ extern netdev_tx_t ixgbe_xmit_frame_ring(struct sk_buff *, | |||
467 | struct net_device *, | 468 | struct net_device *, |
468 | struct ixgbe_adapter *, | 469 | struct ixgbe_adapter *, |
469 | struct ixgbe_ring *); | 470 | struct ixgbe_ring *); |
470 | extern void ixgbe_unmap_and_free_tx_resource(struct ixgbe_adapter *, | 471 | extern void ixgbe_unmap_and_free_tx_resource(struct ixgbe_ring *, |
471 | struct ixgbe_tx_buffer *); | 472 | struct ixgbe_tx_buffer *); |
472 | extern void ixgbe_alloc_rx_buffers(struct ixgbe_adapter *adapter, | 473 | extern void ixgbe_alloc_rx_buffers(struct ixgbe_adapter *adapter, |
473 | struct ixgbe_ring *rx_ring, | 474 | struct ixgbe_ring *rx_ring, |