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)
commit11ca71cfdbc1397106e911890b43ea0d0c0b96d6
tree196b80a5c77f9c975ca84814b510f92519e7aa47
parent033fbb7778aecfd575e7c773b102acecf0d99240
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