[ar71xx] ag71xx driver: descriptors always aligned on 4 byte boundary
authorGabor Juhos <juhosg@openwrt.org>
Sun, 12 Jul 2009 16:04:28 +0000 (16:04 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 12 Jul 2009 16:04:28 +0000 (16:04 +0000)
SVN-Revision: 16818

target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h

index d012b73..843fc4c 100644 (file)
@@ -85,7 +85,7 @@ struct ag71xx_desc {
 #define DESC_PKTLEN_M  0xfff
        u32     next;
        u32     pad;
-};
+} __attribute__((aligned(4)));
 
 struct ag71xx_buf {
        struct sk_buff  *skb;