projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef0cc4b
)
alx: fix 100mbit/half duplex speed translation
author
Johannes Berg
<johannes@sipsolutions.net>
Sat, 29 Jun 2013 17:23:14 +0000
(19:23 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 1 Jul 2013 20:18:19 +0000
(13:18 -0700)
100mbit half duplex is ADVERTISED_100baseT_Half, not
ADVERTISED_10baseT_Half.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/alx/hw.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/atheros/alx/hw.c
b/drivers/net/ethernet/atheros/alx/hw.c
index
220a16a
..
dc71cfb
100644
(file)
--- a/
drivers/net/ethernet/atheros/alx/hw.c
+++ b/
drivers/net/ethernet/atheros/alx/hw.c
@@
-1134,7
+1134,7
@@
static inline u32 alx_speed_to_ethadv(int speed)
case SPEED_100 + DUPLEX_FULL:
return ADVERTISED_100baseT_Full;
case SPEED_100 + DUPLEX_HALF:
- return ADVERTISED_10baseT_Half;
+ return ADVERTISED_10
0
baseT_Half;
case SPEED_10 + DUPLEX_FULL:
return ADVERTISED_10baseT_Full;
case SPEED_10 + DUPLEX_HALF: