aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-12-02 16:48:38 +0000
committerDavid S. Miller <davem@davemloft.net>2009-12-02 19:57:15 -0800
commitf4188d8affc8267a0f0f1b587a4d0a4b9b7f2999 (patch)
treecd460b981c0cb3eee56ac91ade3b52279af55ab0 /drivers/net/tg3.h
parenta73b796ed85483a2b999d74d197f31f887ffa82d (diff)
downloadkernel_samsung_smdk4412-f4188d8affc8267a0f0f1b587a4d0a4b9b7f2999.zip
kernel_samsung_smdk4412-f4188d8affc8267a0f0f1b587a4d0a4b9b7f2999.tar.gz
kernel_samsung_smdk4412-f4188d8affc8267a0f0f1b587a4d0a4b9b7f2999.tar.bz2
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 453a34f..8972523 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2441,10 +2441,6 @@ struct ring_info {
DECLARE_PCI_UNMAP_ADDR(mapping)
};
-struct tx_ring_info {
- struct sk_buff *skb;
-};
-
struct tg3_config_info {
u32 flags;
};
@@ -2608,7 +2604,7 @@ struct tg3_napi {
struct tg3_rx_buffer_desc *rx_rcb;
struct tg3_tx_buffer_desc *tx_ring;
- struct tx_ring_info *tx_buffers;
+ struct ring_info *tx_buffers;
dma_addr_t status_mapping;
dma_addr_t rx_rcb_mapping;