aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-02-16 03:00:20 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-16 03:00:20 -0500
commit85e8d004ecbc51ead6ae926e15973b42cf07b36e (patch)
treebda7d4ad51066770e3db76f2757dffaa0de99ec3 /drivers/net/igb/igb.h
parentcbd347adfee2ba52a8ef85f92a46933d5840cc39 (diff)
igb: transition driver to only using advanced descriptors
Currently the driver uses advanced descriptors for its main functionality, but then uses legacy when testing. This patch changes this so that advanced descriptors are used throughout and all mentions of legacy descriptors are removed. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index 1f09e042a5f2..49fc0daf45af 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -180,9 +180,6 @@ struct igb_ring {
180 (&(((union e1000_adv_tx_desc *)((R).desc))[i])) 180 (&(((union e1000_adv_tx_desc *)((R).desc))[i]))
181#define E1000_TX_CTXTDESC_ADV(R, i) \ 181#define E1000_TX_CTXTDESC_ADV(R, i) \
182 (&(((struct e1000_adv_tx_context_desc *)((R).desc))[i])) 182 (&(((struct e1000_adv_tx_context_desc *)((R).desc))[i]))
183#define E1000_GET_DESC(R, i, type) (&(((struct type *)((R).desc))[i]))
184#define E1000_TX_DESC(R, i) E1000_GET_DESC(R, i, e1000_tx_desc)
185#define E1000_RX_DESC(R, i) E1000_GET_DESC(R, i, e1000_rx_desc)
186 183
187/* board specific private data structure */ 184/* board specific private data structure */
188 185