Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119250
b: refs/heads/master
c: a7f75c0
h: refs/heads/master
v: v3
  • Loading branch information
Pantelis Koukousoulas authored and David S. Miller committed Nov 20, 2008
1 parent 4d304d3 commit ffec097
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11b4aa03b212cbaa969df25e723fbd400a6e24b9
refs/heads/master: a7f75c0c9cfb628512b30795bcba02c8a97e03a0
4 changes: 3 additions & 1 deletion trunk/drivers/net/usb/asix.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,12 +1102,14 @@ static int ax88178_link_reset(struct usbnet *dev)
mode = AX88178_MEDIUM_DEFAULT;

if (ecmd.speed == SPEED_1000)
mode |= AX_MEDIUM_GM | AX_MEDIUM_ENCK;
mode |= AX_MEDIUM_GM;
else if (ecmd.speed == SPEED_100)
mode |= AX_MEDIUM_PS;
else
mode &= ~(AX_MEDIUM_PS | AX_MEDIUM_GM);

mode |= AX_MEDIUM_ENCK;

if (ecmd.duplex == DUPLEX_FULL)
mode |= AX_MEDIUM_FD;
else
Expand Down

0 comments on commit ffec097

Please sign in to comment.