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)
commita31b9fd14de0d49147dbed1ac6044c945767408f
tree3fa35c8cf859fe0e0d3af00a35ca537dc582c1d9
parent9b9d569e4b358dd30897a2d5c02cc41fcdc549db
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43328 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8216.h