diff options
author | Joachim Eastwood <manabian@gmail.com> | 2012-10-18 13:01:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-19 19:18:29 +0200 |
commit | fbb7a6e7d4ee2139405957a131623815060cb966 (patch) | |
tree | 3178597641f9f09f23def8ed45982d6f3bbec357 /drivers/net/ethernet/cadence/macb.h | |
parent | net/at91_ether: share macb_set_rx_mode with macb (diff) | |
download | linux-fbb7a6e7d4ee2139405957a131623815060cb966.tar.xz linux-fbb7a6e7d4ee2139405957a131623815060cb966.zip |
net/at91_ether: use macb dma description struct
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.h')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h index 2710562e5b64..31a877a20536 100644 --- a/drivers/net/ethernet/cadence/macb.h +++ b/drivers/net/ethernet/cadence/macb.h @@ -504,16 +504,11 @@ struct gem_stats { u32 rx_udp_checksum_errors; }; -struct rbf_t { - unsigned int addr; - unsigned long size; -}; - #define MAX_RBUFF_SZ 0x600 /* 1518 rounded up */ #define MAX_RX_DESCR 9 /* max number of receive buffers */ struct recv_desc_bufs { - struct rbf_t descriptors[MAX_RX_DESCR]; /* must be on sizeof (rbf_t) boundary */ + struct dma_desc descriptors[MAX_RX_DESCR]; /* must be on sizeof (dma_desc) boundary */ char recv_buf[MAX_RX_DESCR][MAX_RBUFF_SZ]; /* must be on long boundary */ }; |