diff options
author | John Crispin <blogic@openwrt.org> | 2012-03-22 13:07:34 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-03-22 13:07:34 +0000 |
commit | ea1c8334d911844321be0b4c4eb38afd0b79abd2 (patch) | |
tree | 38a5a8fc00b230c95e21e3d94f30615bffa297db /target/linux/generic/files | |
parent | e7de53b9bfe590da9cbcb86be8583c62426cd04a (diff) | |
download | upstream-ea1c8334d911844321be0b4c4eb38afd0b79abd2.tar.gz upstream-ea1c8334d911844321be0b4c4eb38afd0b79abd2.tar.bz2 upstream-ea1c8334d911844321be0b4c4eb38afd0b79abd2.zip |
[ar8216] fixes breakage introduced in 776722ce36ac95877efb7fd771dde2f6ffc96433
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31054 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8216.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c index 93d30079f8..7214fa232f 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8216.c +++ b/target/linux/generic/files/drivers/net/phy/ar8216.c @@ -442,8 +442,8 @@ ar8216_init_port(struct ar8216_priv *priv, int port) if (port == AR8216_PORT_CPU) { priv->write(priv, AR8216_REG_PORT_STATUS(port), AR8216_PORT_STATUS_LINK_UP | - ar8xxx_has_gige(priv) ? AR8216_PORT_SPEED_1000M : - AR8216_PORT_SPEED_100M | + (ar8xxx_has_gige(priv) ? + AR8216_PORT_SPEED_1000M : AR8216_PORT_SPEED_100M) | AR8216_PORT_STATUS_TXMAC | AR8216_PORT_STATUS_RXMAC | ((priv->chip_type == AR8316) ? AR8216_PORT_STATUS_RXFLOW : 0) | |