ar8216: introduce global constant for number of PHYs
authorFelix Fietkau <nbd@openwrt.org>
Wed, 19 Nov 2014 20:17:30 +0000 (20:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 19 Nov 2014 20:17:30 +0000 (20:17 +0000)
commitf9d787001e39a57d471f13d724b4267e1cbde92f
tree3fa35c8cf859fe0e0d3af00a35ca537dc582c1d9
parentf7284e5b8b0a76862f85d960e8c53788e4c39bbc
ar8216: introduce global constant for number of PHYs

All supported switches have 5 PHYs. Currently partially 5 is hardcoded
and partially switch-specific constants exist.
Replace them with a global constant.

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