diff options
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index 8b742b639ceb..20624ba44a37 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -1344,8 +1344,8 @@ struct oal { | |||
1344 | }; | 1344 | }; |
1345 | 1345 | ||
1346 | struct map_list { | 1346 | struct map_list { |
1347 | DECLARE_PCI_UNMAP_ADDR(mapaddr); | 1347 | DEFINE_DMA_UNMAP_ADDR(mapaddr); |
1348 | DECLARE_PCI_UNMAP_LEN(maplen); | 1348 | DEFINE_DMA_UNMAP_LEN(maplen); |
1349 | }; | 1349 | }; |
1350 | 1350 | ||
1351 | struct tx_ring_desc { | 1351 | struct tx_ring_desc { |
@@ -1373,8 +1373,8 @@ struct bq_desc { | |||
1373 | } p; | 1373 | } p; |
1374 | __le64 *addr; | 1374 | __le64 *addr; |
1375 | u32 index; | 1375 | u32 index; |
1376 | DECLARE_PCI_UNMAP_ADDR(mapaddr); | 1376 | DEFINE_DMA_UNMAP_ADDR(mapaddr); |
1377 | DECLARE_PCI_UNMAP_LEN(maplen); | 1377 | DEFINE_DMA_UNMAP_LEN(maplen); |
1378 | }; | 1378 | }; |
1379 | 1379 | ||
1380 | #define QL_TXQ_IDX(qdev, skb) (smp_processor_id()%(qdev->tx_ring_count)) | 1380 | #define QL_TXQ_IDX(qdev, skb) (smp_processor_id()%(qdev->tx_ring_count)) |