mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ramips: raeth: use dma_addr_t for the descriptors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30444 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include <linux/mii.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
|
||||
#define NUM_RX_DESC 256
|
||||
#define NUM_TX_DESC 256
|
||||
@@ -214,12 +215,12 @@ struct ramips_tx_dma {
|
||||
|
||||
struct raeth_priv
|
||||
{
|
||||
unsigned int phy_rx;
|
||||
dma_addr_t rx_desc_dma;
|
||||
struct tasklet_struct rx_tasklet;
|
||||
struct ramips_rx_dma *rx;
|
||||
struct sk_buff *rx_skb[NUM_RX_DESC];
|
||||
|
||||
unsigned int phy_tx;
|
||||
dma_addr_t tx_desc_dma;
|
||||
struct tasklet_struct tx_housekeeping_tasklet;
|
||||
struct ramips_tx_dma *tx;
|
||||
struct sk_buff *tx_skb[NUM_TX_DESC];
|
||||
|
||||
Reference in New Issue
Block a user