Skip to content
Snippets Groups Projects
Commit 06485531 authored by Gabor Juhos's avatar Gabor Juhos
Browse files

ramips: raeth: add '__packed __aligned(4)' annotation to dma descritor structures

This helps GCC to generare more efficient code.

SVN-Revision: 30553
parent 8c95385d
No related branches found
No related tags found
No related merge requests found
......@@ -195,7 +195,7 @@ struct ramips_rx_dma {
unsigned int rxd2;
unsigned int rxd3;
unsigned int rxd4;
};
} __packed __aligned(4);
#define TX_DMA_PLEN0_MASK ((0x3fff) << 16)
#define TX_DMA_PLEN0(_x) (((_x) & 0x3fff) << 16)
......@@ -211,7 +211,7 @@ struct ramips_tx_dma {
unsigned int txd2;
unsigned int txd3;
unsigned int txd4;
};
} __packed __aligned(4);
struct raeth_priv
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment