summaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-02-16 00:00:20 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-16 00:00:20 -0800
commit85e8d004ecbc51ead6ae926e15973b42cf07b36e (patch)
treebda7d4ad51066770e3db76f2757dffaa0de99ec3 /drivers/net/igb/igb.h
parentcbd347adfee2ba52a8ef85f92a46933d5840cc39 (diff)
downloadop-kernel-dev-85e8d004ecbc51ead6ae926e15973b42cf07b36e.zip
op-kernel-dev-85e8d004ecbc51ead6ae926e15973b42cf07b36e.tar.gz
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 1f09e04..49fc0da 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -180,9 +180,6 @@ struct igb_ring {
(&(((union e1000_adv_tx_desc *)((R).desc))[i]))
#define E1000_TX_CTXTDESC_ADV(R, i) \
(&(((struct e1000_adv_tx_context_desc *)((R).desc))[i]))
-#define E1000_GET_DESC(R, i, type) (&(((struct type *)((R).desc))[i]))
-#define E1000_TX_DESC(R, i) E1000_GET_DESC(R, i, e1000_tx_desc)
-#define E1000_RX_DESC(R, i) E1000_GET_DESC(R, i, e1000_rx_desc)
/* board specific private data structure */
OpenPOWER on IntegriCloud