diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-11-29 20:18:48 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-11-29 20:18:48 +0000 |
commit | c378d5e95300ff69ec49add9188787a00312958f (patch) | |
tree | ba2eaf37212c72a6e6520eccaf5d4437fde45b5d /target/linux/generic/files/drivers/net/phy/ar8216.h | |
parent | 74a353f64fc032358db34636019c16b469d16f0a (diff) | |
download | upstream-c378d5e95300ff69ec49add9188787a00312958f.tar.gz upstream-c378d5e95300ff69ec49add9188787a00312958f.tar.bz2 upstream-c378d5e95300ff69ec49add9188787a00312958f.zip |
generic: ar8216: add AR8337N switch support
This patch is needed to use the switch inside the Sitecom WLR-8100;
it was unusable and detected as Generic-Phy before.
since ar8337 is behaving like ar8327
generally do the same thing
see: https://forum.openwrt.org/viewtopic.php?pid=214218#p214218
forward-ported to trunk
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4469/
[juhosg: merge chip_is_ar83[23]7 statements in ar8xxx_phy_config_init]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38952
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8216.h')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8216.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.h b/target/linux/generic/files/drivers/net/phy/ar8216.h index ea6d6821c1..2244c4f19a 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8216.h +++ b/target/linux/generic/files/drivers/net/phy/ar8216.h @@ -452,6 +452,8 @@ #define AR8327_REG_PORT_STATS_BASE(_i) (0x1000 + (_i) * 0x100) +#define AR8337_PAD_MAC06_EXCHANGE_EN BIT(31) + /* port speed */ enum { AR8216_PORT_SPEED_10M = 0, |