ag71xx: store ring size order instead of ring size to avoid div/mod
authorFelix Fietkau <nbd@openwrt.org>
Thu, 11 Feb 2016 15:02:00 +0000 (15:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 11 Feb 2016 15:02:00 +0000 (15:02 +0000)
commitcae0378822efa0075167417be36751eb93457b3b
treed3a94f33a2fd2cbba51b946829aba7c5dce6b0f6
parent85dfba5f70ef0338e12b59810f2a852d5380e0ce
ag71xx: store ring size order instead of ring size to avoid div/mod

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48693
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ethtool.c
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c