diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-02-16 09:00:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 09:00:20 +0100 |
commit | 85e8d004ecbc51ead6ae926e15973b42cf07b36e (patch) | |
tree | bda7d4ad51066770e3db76f2757dffaa0de99ec3 /drivers/net/igb/igb.h | |
parent | igb: remove unused defines (diff) | |
download | linux-85e8d004ecbc51ead6ae926e15973b42cf07b36e.tar.xz linux-85e8d004ecbc51ead6ae926e15973b42cf07b36e.zip |
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.h | 3 |
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 { (&(((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 */ |