Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
- index 377b9f8..6366e01 100644
- --- a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
- +++ b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
- @@ -107,13 +107,16 @@ struct ag71xx_buf {
- };
- struct ag71xx_ring {
- - struct ag71xx_buf *buf;
- - u8 *descs_cpu;
- - dma_addr_t descs_dma;
- - u16 desc_split;
- - u16 order;
- + /* "Hot" fields in the data path. */
- unsigned int curr;
- unsigned int dirty;
- +
- + /* "Cold" fields - not used in the data path. */
- + struct ag71xx_buf *buf;
- + u16 order;
- + u16 desc_split;
- + dma_addr_t descs_dma;
- + u8 *descs_cpu;
- };
- struct ag71xx_int_stats {
- --
- 2.7.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement