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)
commit6dcdc2bb05923ee26a1403859ae05ee31cfab580
tree416fd130839ed217eb546699469a837606cfb72c
parent226f330bcfe1b18633ef4dcd997034fa8f2d8a77
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