NetBSD Problem Report #57969

From www@netbsd.org  Wed Feb 28 13:19:05 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C96861A9239
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 28 Feb 2024 13:19:05 +0000 (UTC)
Message-Id: <20240228131904.433EA1A923A@mollari.NetBSD.org>
Date: Wed, 28 Feb 2024 13:19:04 +0000 (UTC)
From: shingy_shabooya@yahoo.com
Reply-To: shingy_shabooya@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: Realtek E2600 Killer Ethernet Adapter - added support
X-Send-Pr-Version: www-1.0

>Number:         57969
>Category:       kern
>Synopsis:       Realtek E2600 Killer Ethernet Adapter - added support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 28 13:20:00 +0000 2024
>Last-Modified:  Wed Feb 28 19:00:02 +0000 2024
>Originator:     Daniel
>Release:        10.0_RC4 NetBSD
>Organization:
Self
>Environment:
NetBSD NetBSD10.0.TOTOLINK 10.0_RC4 NetBSD 10.0_RC4 (MYKERNEL) #2: Tue Feb 27 09:48:53 UTC 2024  root@NetBSD10.0.TOTOLINK:/usr/src/sys/arch/amd64/compile/MYKERNEL amd64
>Description:
Added support for Realtek Killer Ethernet adapter 2600 (not Atheros!)

Here are the two diffs:

--- pcidevs	2024-02-27 09:20:00.353084406 +0000
+++ pcidevs.ori	2024-02-26 07:14:22.753695611 +0000
@@ -9191,7 +9191,6 @@

 /* Realtek products */
 product REALTEK E3000 		0x3000	Killer E3000
-product REALTEK E2600		0x2600  Killer E2600
 product REALTEK RTS5208		0x5208	RTS5208 PCI-E Card Reader
 product REALTEK RTS5209		0x5209	RTS5209 PCI-E Card Reader
 product REALTEK RTS5227		0x5227	RTS5227 PCI-E Card Reader


--- if_re_pci.c	2024-02-28 12:50:25.470470112 +0000
+++ if_re_pci.c.ori	2024-02-28 12:47:06.116717087 +0000
@@ -105,9 +105,6 @@
 	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169,
 	    RTK_8169,
 	    "RealTek 8169/8110 Gigabit Ethernet" },
-        { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_E2600,
-	    RTK_8169,
-            "RealTek 2600 Killer Ethernet Adapter" },
 	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169SC,
 	    RTK_8169,
 	    "RealTek 8169SC/8110SC Single-chip Gigabit Ethernet" },



Be sure to run make -f Makefile.pcidevs in the /usr/src/sys/dev/pci directory first to generate the *.h files for this change in that directory. Then build a new kernel.
Working on my ACER Nitro AN-515-58 laptop.
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: "Jonathan A. Kollasch" <jakllsch@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57969 CVS commit: src/sys/dev/pci
Date: Wed, 28 Feb 2024 18:55:11 +0000

 Module Name:	src
 Committed By:	jakllsch
 Date:		Wed Feb 28 18:55:11 UTC 2024

 Modified Files:
 	src/sys/dev/pci: if_re_pci.c

 Log Message:
 Add Killer E2600, adapted from PR 57969


 To generate a diff of this commit:
 cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pci/if_re_pci.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.