[ar71xx] ag71xx driver: descriptors always aligned on 4 byte boundary
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Jul 2009 16:04:28 +0000 (16:04 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Jul 2009 16:04:28 +0000 (16:04 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16818 3c298f89-4303-0410-b956-a3cf2f4a3e73

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;