projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80bb3a0
)
via-velocity: Fix FLOW_CNTL_TX_RX handling in set_mii_flow_control()
author
David S. Miller
<davem@davemloft.net>
Tue, 23 Mar 2010 02:59:47 +0000
(19:59 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 25 Mar 2010 18:56:32 +0000
(11:56 -0700)
Clear, don't set, ANAR_ASMDIR in this case.
Noticed by Roel Kluin.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/via-velocity.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/via-velocity.c
b/drivers/net/via-velocity.c
index 3a486f3bad3ddd6477c0fa15102e47c668ea3566..bc278d4ee89debb359c4d70ef21e06bfd7479ae3 100644
(file)
--- a/
drivers/net/via-velocity.c
+++ b/
drivers/net/via-velocity.c
@@
-812,7
+812,7
@@
static void set_mii_flow_control(struct velocity_info *vptr)
case FLOW_CNTL_TX_RX:
MII_REG_BITS_ON(ANAR_PAUSE, MII_REG_ANAR, vptr->mac_regs);
- MII_REG_BITS_O
N
(ANAR_ASMDIR, MII_REG_ANAR, vptr->mac_regs);
+ MII_REG_BITS_O
FF
(ANAR_ASMDIR, MII_REG_ANAR, vptr->mac_regs);
break;
case FLOW_CNTL_DISABLE: