diff mbox series

r8169: Add support for new Realtek Ethernet

Message ID 20190102064507.32122-1-kai.heng.feng@canonical.com
State Accepted
Delegated to: David Miller
Headers show
Series r8169: Add support for new Realtek Ethernet | expand

Commit Message

Kai-Heng Feng Jan. 2, 2019, 6:45 a.m. UTC
There are two new Realtek Ethernet devices which are re-branded r8168h.
Add the IDs to to support them.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 drivers/net/ethernet/realtek/r8169.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

David Miller Jan. 2, 2019, 6:14 p.m. UTC | #1
From: Kai-Heng Feng <kai.heng.feng@canonical.com>
Date: Wed,  2 Jan 2019 14:45:07 +0800

> There are two new Realtek Ethernet devices which are re-branded r8168h.
> Add the IDs to to support them.
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Heiner, please review.
Heiner Kallweit Jan. 2, 2019, 10:34 p.m. UTC | #2
On 02.01.2019 07:45, Kai-Heng Feng wrote:
> There are two new Realtek Ethernet devices which are re-branded r8168h.
> Add the IDs to to support them.
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
> ---
>  drivers/net/ethernet/realtek/r8169.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
David Miller Jan. 4, 2019, 8:50 p.m. UTC | #3
From: Kai-Heng Feng <kai.heng.feng@canonical.com>
Date: Wed,  2 Jan 2019 14:45:07 +0800

> There are two new Realtek Ethernet devices which are re-branded r8168h.
> Add the IDs to to support them.
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Applied.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 99bc3de906e2..66a3f3bf7835 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -205,6 +205,8 @@  enum cfg_version {
 };
 
 static const struct pci_device_id rtl8169_pci_tbl[] = {
+	{ PCI_VDEVICE(REALTEK,	0x2502), RTL_CFG_1 },
+	{ PCI_VDEVICE(REALTEK,	0x2600), RTL_CFG_1 },
 	{ PCI_VDEVICE(REALTEK,	0x8129), RTL_CFG_0 },
 	{ PCI_VDEVICE(REALTEK,	0x8136), RTL_CFG_2 },
 	{ PCI_VDEVICE(REALTEK,	0x8161), RTL_CFG_1 },