Changeset 30553


Ignore:
Timestamp:
2012-02-15T19:33:40+01:00 (6 years ago)
Author:
juhosg
Message:

ramips: raeth: add 'packed aligned(4)' annotation to dma descritor structures

This helps GCC to generare more efficient code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/drivers/net/ramips_eth.h

    r30547 r30553  
    196196        unsigned int rxd3; 
    197197        unsigned int rxd4; 
    198 }; 
     198} __packed __aligned(4); 
    199199 
    200200#define TX_DMA_PLEN0_MASK               ((0x3fff) << 16) 
     
    212212        unsigned int txd3; 
    213213        unsigned int txd4; 
    214 }; 
     214} __packed __aligned(4); 
    215215 
    216216struct raeth_priv 
Note: See TracChangeset for help on using the changeset viewer.