diff options
author | John Crispin <john@openwrt.org> | 2015-01-17 14:24:47 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-01-17 14:24:47 +0000 |
commit | 0fb39e6f4b1849fe898cbe5339b3aec721bf63c8 (patch) | |
tree | f12a1b3a683c637b092ddeed3a3072121e65f44e /target/linux/generic/files/drivers/net/phy/ar8327.c | |
parent | 1cb2596f195b0d8e6f437e8cd416c3aa715324a2 (diff) | |
download | master-31e0f0ae-0fb39e6f4b1849fe898cbe5339b3aec721bf63c8.tar.gz master-31e0f0ae-0fb39e6f4b1849fe898cbe5339b3aec721bf63c8.tar.bz2 master-31e0f0ae-0fb39e6f4b1849fe898cbe5339b3aec721bf63c8.zip |
ar8216: replace ar8xxx_rmw with ar8xxx_reg_set where appropriate
Replace ar8xxx_rmw with ar8xxx_reg_set where appropriate.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44003
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8327.c')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8327.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8327.c b/target/linux/generic/files/drivers/net/phy/ar8327.c index 38c11cb59a..b69c33b123 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8327.c +++ b/target/linux/generic/files/drivers/net/phy/ar8327.c @@ -886,13 +886,11 @@ ar8327_set_mirror_regs(struct ar8xxx_priv *priv) (priv->monitor_port << AR8327_FWD_CTRL0_MIRROR_PORT_S)); if (priv->mirror_rx) - ar8xxx_rmw(priv, AR8327_REG_PORT_LOOKUP(priv->source_port), - AR8327_PORT_LOOKUP_ING_MIRROR_EN, + ar8xxx_reg_set(priv, AR8327_REG_PORT_LOOKUP(priv->source_port), AR8327_PORT_LOOKUP_ING_MIRROR_EN); if (priv->mirror_tx) - ar8xxx_rmw(priv, AR8327_REG_PORT_HOL_CTRL1(priv->source_port), - AR8327_PORT_HOL_CTRL1_EG_MIRROR_EN, + ar8xxx_reg_set(priv, AR8327_REG_PORT_HOL_CTRL1(priv->source_port), AR8327_PORT_HOL_CTRL1_EG_MIRROR_EN); } |