mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-12 07:32:10 -05:00
kernel: r8126: update to v10.016.00
Changelog: https://github.com/openwrt/rtl8126/compare/10.015.00...10.016.00 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
2dfad04a82
commit
27a3e5c7b7
@ -1,12 +1,12 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=r8126
|
PKG_NAME:=r8126
|
||||||
PKG_VERSION:=10.015.00
|
PKG_VERSION:=10.016.00
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=https://github.com/openwrt/rtl8126/releases/download/$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://github.com/openwrt/rtl8126/releases/download/$(PKG_VERSION)
|
||||||
PKG_HASH:=fac513aa925264a95b053e7532fcda56022d29db288f6625fafee2759a8a6124
|
PKG_HASH:=50c8d3d49592d2e8f372bd7ece8e7df9b50a71b055c077d42eacc42302914440
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_LICENSE:=GPLv2
|
PKG_LICENSE:=GPLv2
|
||||||
|
|||||||
@ -18,7 +18,7 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
|
|||||||
|
|
||||||
--- a/src/r8126.h
|
--- a/src/r8126.h
|
||||||
+++ b/src/r8126.h
|
+++ b/src/r8126.h
|
||||||
@@ -1756,6 +1756,10 @@ enum RTL8126_register_content {
|
@@ -1752,6 +1752,10 @@ enum RTL8126_register_content {
|
||||||
LinkStatus = 0x02,
|
LinkStatus = 0x02,
|
||||||
FullDup = 0x01,
|
FullDup = 0x01,
|
||||||
|
|
||||||
@ -39,8 +39,8 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
|
|||||||
#include <linux/netdevice.h>
|
#include <linux/netdevice.h>
|
||||||
#include <linux/etherdevice.h>
|
#include <linux/etherdevice.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
@@ -4661,6 +4662,40 @@ rtl8126_link_down_patch(struct net_devic
|
@@ -4410,6 +4411,40 @@ rtl8126_link_down_patch(struct net_devic
|
||||||
#endif
|
//rtl8126_set_speed(dev, tp->autoneg, tp->speed, tp->duplex, tp->advertising);
|
||||||
}
|
}
|
||||||
|
|
||||||
+static unsigned int rtl8126_phy_duplex(u32 status)
|
+static unsigned int rtl8126_phy_duplex(u32 status)
|
||||||
@ -80,7 +80,7 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
|
|||||||
static void
|
static void
|
||||||
_rtl8126_check_link_status(struct net_device *dev, unsigned int link_state)
|
_rtl8126_check_link_status(struct net_device *dev, unsigned int link_state)
|
||||||
{
|
{
|
||||||
@@ -4673,11 +4708,18 @@ _rtl8126_check_link_status(struct net_de
|
@@ -4422,11 +4457,18 @@ _rtl8126_check_link_status(struct net_de
|
||||||
if (link_state == R8126_LINK_STATE_ON) {
|
if (link_state == R8126_LINK_STATE_ON) {
|
||||||
rtl8126_link_on_patch(dev);
|
rtl8126_link_on_patch(dev);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user