forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: r8101: remove duplicate code iproute2: Fix KERNEL_INCLUDE in SDK kernel: 5.19: refresh patches (coolsnowwolf#9966) mt76: mt7921e: fix crash in chip reset fail on rockchip 5.19 kernel mt76: add 5.19 kernel support kernel: bump 5.19 to 5.19.2 package: add realtek r8101 driver (coolsnowwolf#9964) rockchip: add NanoPi R5S dummy dts for build (coolsnowwolf#9961)
- Loading branch information
Showing
28 changed files
with
916 additions
and
1,008 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-5.19 = .1 | ||
LINUX_KERNEL_HASH-5.19.1 = f4e27b926ea2c66b808db1f5706254cf92a8899e2108eedb0c3a7d12499aea55 | ||
LINUX_VERSION-5.19 = .2 | ||
LINUX_KERNEL_HASH-5.19.2 = 48e40a1f5501ec6c40e3c86d3d5319200b688f2d9360f72833084d74801fe63d |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=mt76 | ||
PKG_RELEASE=4 | ||
PKG_RELEASE=5 | ||
|
||
PKG_LICENSE:=GPLv2 | ||
PKG_LICENSE_FILES:= | ||
|
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
package/kernel/mt76/patches/020-fix-crash-in-chip-reset-fail.patch
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/mt7921/pci_mac.c | ||
+++ b/mt7921/pci_mac.c | ||
@@ -261,7 +261,7 @@ int mt7921e_mac_reset(struct mt7921_dev *dev) | ||
|
||
err = mt7921e_driver_own(dev); | ||
if (err) | ||
- return err; | ||
+ goto out; | ||
|
||
err = mt7921_run_firmware(dev); | ||
if (err) |
14 changes: 14 additions & 0 deletions
14
package/kernel/mt76/patches/090-backport-to-linux-5.19.patch
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- a/usb.c | ||
+++ b/usb.c | ||
@@ -1068,7 +1068,11 @@ | ||
|
||
INIT_WORK(&usb->stat_work, mt76u_tx_status_data); | ||
|
||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,19,0) | ||
usb->data_len = usb_maxpacket(udev, usb_sndctrlpipe(udev, 0), 1); | ||
+#else | ||
+ usb->data_len = usb_maxpacket(udev, usb_sndctrlpipe(udev, 0)); | ||
+#endif | ||
if (usb->data_len < 32) | ||
usb->data_len = 32; | ||
|
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# Download realtek r8101 linux driver from official site: | ||
# [https://www.realtek.com/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software] | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
include $(INCLUDE_DIR)/kernel.mk | ||
|
||
PKG_NAME:=r8101 | ||
PKG_VERSION:=1.037.01 | ||
PKG_RELEASE:=$(AUTORELEASE) | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 | ||
PKG_SOURCE_URL:=https://github.com/umarizulkifli/r8101/blob/main/r8101-1.037.01.tar.bz2 | ||
PKG_HASH:=45b3ae6af31054879b06c13ce4f0fb14 | ||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) | ||
|
||
PKG_MAINTAINER:=umarizulkifli <umarizulkifli@gmail.com> | ||
PKG_LICENSE:=GPL-2.0-only | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define KernelPackage/r8101 | ||
TITLE:=Driver for Realtek r8101 chipsets | ||
SUBMENU:=Network Devices | ||
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) | ||
DEPENDS:=@PCI_SUPPORT | ||
FILES:= $(PKG_BUILD_DIR)/src/r8101.ko | ||
AUTOLOAD:=$(call AutoProbe,r8101) | ||
endef | ||
|
||
define Package/r8101/description | ||
This package contains a driver for Realtek r8101 chipsets. | ||
endef | ||
|
||
define Build/Compile | ||
+$(KERNEL_MAKE) M=$(PKG_BUILD_DIR)/src modules | ||
endef | ||
|
||
$(eval $(call KernelPackage,r8101)) |
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
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
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
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
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
Oops, something went wrong.