kernel: r8168: update to v8.056.02
Changelog: https://github.com/openwrt/rtl8168/compare/8.055.00...8.056.02 Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com> Link: https://github.com/openwrt/openwrt/pull/23201 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
b33959a668
commit
9cb54a2c4c
@ -1,12 +1,12 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=r8168
|
PKG_NAME:=r8168
|
||||||
PKG_VERSION:=8.055.00
|
PKG_VERSION:=8.056.02
|
||||||
PKG_RELEASE:=5
|
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/rtl8168/releases/download/$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://github.com/openwrt/rtl8168/releases/download/$(PKG_VERSION)
|
||||||
PKG_HASH:=61deb2a9cb7d6b08748ad51734b108da95d629712b64b204e2e6bd3f16d0a48f
|
PKG_HASH:=38c48129c41d1dc38681cb83e87c70bda12873384899d94ecc26bb79903829ce
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_LICENSE:=GPLv2
|
PKG_LICENSE:=GPLv2
|
||||||
|
|||||||
@ -13,7 +13,7 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
|
|||||||
|
|
||||||
--- a/src/r8168_n.c
|
--- a/src/r8168_n.c
|
||||||
+++ b/src/r8168_n.c
|
+++ b/src/r8168_n.c
|
||||||
@@ -1668,9 +1668,9 @@ static int proc_dump_rx_desc_2(struct se
|
@@ -1671,9 +1671,9 @@ static int proc_dump_rx_desc_2(struct se
|
||||||
j, k);
|
j, k);
|
||||||
for (i=0; i<(tp->RxDescLength/4); i++) {
|
for (i=0; i<(tp->RxDescLength/4); i++) {
|
||||||
if (!(i % 4))
|
if (!(i % 4))
|
||||||
|
|||||||
@ -1,26 +0,0 @@
|
|||||||
From b5a3eaec6a4ba859602a286fcb5034cf3f25fc55 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
|
|
||||||
Date: Tue, 30 Dec 2025 14:35:03 +0100
|
|
||||||
Subject: [PATCH] Makefile: fix CFLAGS with linux 6.15+
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
Ensure EXTRA_CFLAGS are taken into account.
|
|
||||||
|
|
||||||
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
|
|
||||||
---
|
|
||||||
src/Makefile | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
--- a/src/Makefile
|
|
||||||
+++ b/src/Makefile
|
|
||||||
@@ -121,6 +121,8 @@ ifneq ($(KERNELRELEASE),)
|
|
||||||
ifeq ($(ENABLE_GIGA_LITE), y)
|
|
||||||
EXTRA_CFLAGS += -DENABLE_GIGA_LITE
|
|
||||||
endif
|
|
||||||
+
|
|
||||||
+ ccflags-y += $(EXTRA_CFLAGS)
|
|
||||||
else
|
|
||||||
BASEDIR := /lib/modules/$(shell uname -r)
|
|
||||||
KERNELDIR ?= $(BASEDIR)/build
|
|
||||||
@ -37,7 +37,7 @@ Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
|
|||||||
#include <linux/netdevice.h>
|
#include <linux/netdevice.h>
|
||||||
#include <linux/etherdevice.h>
|
#include <linux/etherdevice.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
@@ -5396,6 +5397,38 @@ rtl8168_link_down_patch(struct net_devic
|
@@ -5527,6 +5528,38 @@ rtl8168_link_down_patch(struct net_devic
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
|
|||||||
static void
|
static void
|
||||||
rtl8168_check_link_status(struct net_device *dev)
|
rtl8168_check_link_status(struct net_device *dev)
|
||||||
{
|
{
|
||||||
@@ -5415,11 +5448,18 @@ rtl8168_check_link_status(struct net_dev
|
@@ -5546,11 +5579,18 @@ rtl8168_check_link_status(struct net_dev
|
||||||
if (link_status_on) {
|
if (link_status_on) {
|
||||||
rtl8168_link_on_patch(dev);
|
rtl8168_link_on_patch(dev);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user