aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-12-02 11:48:38 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-02 22:57:15 -0500
commitf4188d8affc8267a0f0f1b587a4d0a4b9b7f2999 (patch)
treecd460b981c0cb3eee56ac91ade3b52279af55ab0 /drivers/net/tg3.h
parenta73b796ed85483a2b999d74d197f31f887ffa82d (diff)
tg3: remove use of skb_dma_map/unmap
Due to the fact that skb_dma_map/unmap do not work correctly when a HW IOMMU is enabled it has been recommended to go about removing the calls from the network device drivers. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> CC: Matt Carlson <mcarlson@broadcom.com> CC: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 453a34fb72b9..89725231f7b9 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2441,10 +2441,6 @@ struct ring_info {
2441 DECLARE_PCI_UNMAP_ADDR(mapping) 2441 DECLARE_PCI_UNMAP_ADDR(mapping)
2442}; 2442};
2443 2443
2444struct tx_ring_info {
2445 struct sk_buff *skb;
2446};
2447
2448struct tg3_config_info { 2444struct tg3_config_info {
2449 u32 flags; 2445 u32 flags;
2450}; 2446};
@@ -2608,7 +2604,7 @@ struct tg3_napi {
2608 2604
2609 struct tg3_rx_buffer_desc *rx_rcb; 2605 struct tg3_rx_buffer_desc *rx_rcb;
2610 struct tg3_tx_buffer_desc *tx_ring; 2606 struct tg3_tx_buffer_desc *tx_ring;
2611 struct tx_ring_info *tx_buffers; 2607 struct ring_info *tx_buffers;
2612 2608
2613 dma_addr_t status_mapping; 2609 dma_addr_t status_mapping;
2614 dma_addr_t rx_rcb_mapping; 2610 dma_addr_t rx_rcb_mapping;