projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1bd1b4
)
fixes breakage introduced in 776722ce36ac95877efb7fd771dde2f6ffc96433
author
John Crispin
<john@openwrt.org>
Thu, 22 Mar 2012 13:07:34 +0000
(13:07 +0000)
committer
John Crispin
<john@openwrt.org>
Thu, 22 Mar 2012 13:07:34 +0000
(13:07 +0000)
SVN-Revision: 31054
target/linux/generic/files/drivers/net/phy/ar8216.c
patch
|
blob
|
history
diff --git
a/target/linux/generic/files/drivers/net/phy/ar8216.c
b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 93d30079f8af1172899813aa8956934d1841c061..7214fa232f63e77d82de264116fdff38db933688 100644
(file)
--- 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) |