diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-11-19 20:17:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-11-19 20:17:30 +0000 |
commit | 6dcdc2bb05923ee26a1403859ae05ee31cfab580 (patch) | |
tree | 416fd130839ed217eb546699469a837606cfb72c /target/linux/generic/files/drivers/net/phy/ar8216.h | |
parent | 226f330bcfe1b18633ef4dcd997034fa8f2d8a77 (diff) | |
download | mtk-20170518-6dcdc2bb05923ee26a1403859ae05ee31cfab580.zip mtk-20170518-6dcdc2bb05923ee26a1403859ae05ee31cfab580.tar.gz mtk-20170518-6dcdc2bb05923ee26a1403859ae05ee31cfab580.tar.bz2 |
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.h | 1 |
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 eb553b4..ca6b2f2 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 |