2
0
forked from Ivasoft/openwrt

generic: ar8216: add defines for the AR8316 POSTRIP register

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35539
This commit is contained in:
Gabor Juhos
2013-02-10 13:18:48 +00:00
parent 5ed480598d
commit 393163b098
2 changed files with 32 additions and 2 deletions

View File

@@ -788,7 +788,7 @@ ar8316_hw_init(struct ar8216_priv *priv)
u32 val, newval;
struct mii_bus *bus;
val = priv->read(priv, 0x8);
val = priv->read(priv, AR8316_REG_POSTRIP);
if (priv->phy->interface == PHY_INTERFACE_MODE_RGMII) {
if (priv->port4_phy) {
@@ -812,7 +812,7 @@ ar8316_hw_init(struct ar8216_priv *priv)
if (val == newval)
goto out;
priv->write(priv, 0x8, newval);
priv->write(priv, AR8316_REG_POSTRIP, newval);
/* Initialize the ports */
bus = priv->mii_bus;