[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 d012b739378b51fb84eb08da847f529f68657a34..843fc4cc9cba5882bb5d50fcbd8f2f427cb0b08e 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;