aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/ar8216.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-11-19 20:17:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-11-19 20:17:30 +0000
commit6dcdc2bb05923ee26a1403859ae05ee31cfab580 (patch)
tree416fd130839ed217eb546699469a837606cfb72c /target/linux/generic/files/drivers/net/phy/ar8216.h
parent226f330bcfe1b18633ef4dcd997034fa8f2d8a77 (diff)
downloadupstream-6dcdc2bb05923ee26a1403859ae05ee31cfab580.tar.gz
upstream-6dcdc2bb05923ee26a1403859ae05ee31cfab580.tar.bz2
upstream-6dcdc2bb05923ee26a1403859ae05ee31cfab580.zip
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
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8216.h')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.h b/target/linux/generic/files/drivers/net/phy/ar8216.h
index eb553b489d..ca6b2f2915 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.h
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.h
@@ -291,7 +291,6 @@
#define AR8327_NUM_PORTS 7
#define AR8327_NUM_LEDS 15
-#define AR8327_NUM_PHYS 5
#define AR8327_PORTS_ALL 0x7f
#define AR8327_NUM_LED_CTRL_REGS 4