-
Notifications
You must be signed in to change notification settings - Fork 19.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: openwrt/rtl8168@8.054.00...8.055.00 Signed-off-by: Álvaro Fernández Rojas <[email protected]> (cherry picked from commit 5dd7636)
- Loading branch information
1 parent
16969dc
commit dba7952
Showing
3 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]> | |
|
||
--- a/src/r8168_n.c | ||
+++ b/src/r8168_n.c | ||
@@ -1655,9 +1655,9 @@ static int proc_dump_rx_desc_2(struct se | ||
@@ -1668,9 +1668,9 @@ static int proc_dump_rx_desc_2(struct se | ||
j, k); | ||
for (i=0; i<(tp->RxDescLength/4); i++) { | ||
if (!(i % 4)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]> | |
|
||
--- a/src/r8168.h | ||
+++ b/src/r8168.h | ||
@@ -1468,6 +1468,8 @@ enum RTL8168_register_content { | ||
@@ -1480,6 +1480,8 @@ enum RTL8168_register_content { | ||
LinkStatus = 0x02, | ||
FullDup = 0x01, | ||
|
||
|
@@ -36,7 +36,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]> | |
#include <linux/netdevice.h> | ||
#include <linux/etherdevice.h> | ||
#include <linux/delay.h> | ||
@@ -5369,6 +5370,36 @@ rtl8168_link_down_patch(struct net_devic | ||
@@ -5396,6 +5397,38 @@ rtl8168_link_down_patch(struct net_devic | ||
#endif | ||
} | ||
|
||
|
@@ -65,6 +65,8 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]> | |
+ speed = SPEED_100; | ||
+ else if (status & _10bps) | ||
+ speed = SPEED_10; | ||
+ else if (eee_giga_lite) | ||
+ speed = SPEED_1000; | ||
+ } | ||
+ | ||
+ return speed; | ||
|
@@ -73,7 +75,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]> | |
static void | ||
rtl8168_check_link_status(struct net_device *dev) | ||
{ | ||
@@ -5388,11 +5419,18 @@ rtl8168_check_link_status(struct net_dev | ||
@@ -5415,11 +5448,18 @@ rtl8168_check_link_status(struct net_dev | ||
if (link_status_on) { | ||
rtl8168_link_on_patch(dev); | ||
|
||
|