mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 22:54:10 +02:00
Uses new eclass, linux-mod-r1. Adds patch with support for ASUS USB C5000 cards. Bug: https://bugs.gentoo.org/908703 Signed-off-by: Jay Faulkner <jay@jvf.cc> Closes: https://github.com/gentoo/gentoo/pull/31523 Signed-off-by: Sam James <sam@gentoo.org>
23 lines
581 B
Diff
23 lines
581 B
Diff
From: https://github.com/wget/realtek-r8152-linux/issues/30
|
|
From: Mark Taylor <mark.taylor.hq@gmail.com>
|
|
Date: Thu, 8 Jun 2023 14:36:30 -0400
|
|
Subject: [PATCH] Add support for ASUS C2500
|
|
|
|
--- a/r8152.c
|
|
+++ b/r8152.c
|
|
@@ -807,6 +807,7 @@
|
|
#define VENDOR_ID_LINKSYS 0x13b1
|
|
#define VENDOR_ID_NVIDIA 0x0955
|
|
#define VENDOR_ID_TPLINK 0x2357
|
|
+#define VENDOR_ID_ASUS 0x0b05
|
|
|
|
#define MCU_TYPE_PLA 0x0100
|
|
#define MCU_TYPE_USB 0x0000
|
|
@@ -20846,6 +20847,8 @@
|
|
/* Getac */
|
|
REALTEK_USB_DEVICE(0x2baf, 0x0012),
|
|
|
|
+ /* ASUS */
|
|
+ REALTEK_USB_DEVICE(VENDOR_ID_ASUS, 0x1976),
|
|
{}
|
|
};
|