ar71xx: ag71xx: add timestamps to ag71xx_buf

SVN-Revision: 26844
This commit is contained in:
Gabor Juhos 2011-05-07 12:40:28 +00:00
parent 896e1d1ab4
commit 2166432ba0
2 changed files with 2 additions and 1 deletions

View file

@ -91,7 +91,7 @@ struct ag71xx_buf {
struct sk_buff *skb;
struct ag71xx_desc *desc;
dma_addr_t dma_addr;
u32 pad;
unsigned long timestamp;
};
struct ag71xx_ring {

View file

@ -652,6 +652,7 @@ static netdev_tx_t ag71xx_hard_start_xmit(struct sk_buff *skb,
DMA_TO_DEVICE);
ring->buf[i].skb = skb;
ring->buf[i].timestamp = jiffies;
/* setup descriptor fields */
desc->data = (u32) dma_addr;