ar8216: factor out reg_port_stats_base parameters to ar8xxx_chip
authorJohn Crispin <john@openwrt.org>
Mon, 1 Dec 2014 16:15:08 +0000 (16:15 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 1 Dec 2014 16:15:08 +0000 (16:15 +0000)
commitecd27db7573fd76347ef62c6d3bacba600e1c0cc
tree17d912ca7b0d7f3b23fd1ab496e8877c4fd3ff26
parentae15531bd245b4db7433d6580ae8af4d99bd806c
ar8216: factor out reg_port_stats_base parameters to ar8xxx_chip

Factor out reg_port_stats_base parameters to ar8xxx_chip.
Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43471
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8216.h