From nobody Sun Jan 29 13:20:50 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P4X4f6qg8z3cVty for ; Sun, 29 Jan 2023 13:20:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P4X4f4fMyz41Fd for ; Sun, 29 Jan 2023 13:20:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674998450; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qxy9H1yLw0oA2AbfLGUNNzNInPtNfNA7RwPEDDSb8g0=; b=RWrBxzXhZlXn81mZ0QRL48PnrHDH4FDC7R30C3c4Bo5YyUuYWkHFsOGEZvvXH4OBu9akyj ZKJTazwaUlsNaq1VXVRxPUFO7BofsPmOyyXtmumHlfSm1+/MeyE2+8miGr0JTMnZlmGziQ j9NijgFujtZxDDh8yfzuqN/f1N3Ao+tZqh2/0A7sATSIzUUQ3eWfSCczyF+Ux2MKklPw32 eQTI2ZZTaAvfJKkB5ItX8VRdwB7NhW6vF4UCgzHZTS3gVckj1LFSQINuBOcY1gNqkX25U5 EO+pweUaNTlRDsF2pOlqd3uQiFd7tDSugR6czcynOlmG6A9ZbcbcTRlLfTowMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674998450; a=rsa-sha256; cv=none; b=kCF9Qw3DdHtSujP3G/J8WkzYKrlwQpUl2xrOzBUPN0GqEOCENGzoN/47yqsLYyfZRLRovE cnl2/81TVYmrH3eiP1IuDFdsH3f8HSpbTLD1p0WZUnWUoopQOSFIcn5kn/V+pCh64kmGeK xalf7COn2lJtiWVSRjX1Wu+uX6+tSOrPEZO1Q/AbAxM6wn+qZAcgTTzo+kK4zgs/8wvVP+ NTL84dBggv5yB8GqTKaqGnafxDcM5uOqCWBufklzZJKDZEcLtQmy4ZxE0lNB8RGrJqzRnO 6UFAG/cULU4owzA5M5DumIzIKlG72r7ohhg/S7iQYm2s+zGRLDVQtwU00ivDcw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P4X4f3lTNzVC4 for ; Sun, 29 Jan 2023 13:20:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 30TDKo12009917 for ; Sun, 29 Jan 2023 13:20:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30TDKotO009916 for bugs@FreeBSD.org; Sun, 29 Jan 2023 13:20:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 269224] em(4): Intel I219-V (0x0DC8) is not detected by the driver Date: Sun, 29 Jan 2023 13:20:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: osharoiko@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269224 Bug ID: 269224 Summary: em(4): Intel I219-V (0x0DC8) is not detected by the driver Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: osharoiko@gmail.com One of the NICs on ASRosk Z790M-ITX, Intel I219-V specifically, is not dete= cted by em(4) driver. The following patch makes it work though I didn't do much testing other than regular use and 20 minutes of iperf3. There are more dev= ice IDs in https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/intel/e1= 000e/hw.h but I only have this specific device at hands to test. diff -ru /usr/src/sys/dev/e1000/e1000_api.c e1000/e1000_api.c --- /usr/src/sys/dev/e1000/e1000_api.c 2022-12-09 01:03:57.000000000 +0000 +++ e1000/e1000_api.c 2023-01-26 00:33:49.000000000 +0000 @@ -339,6 +339,7 @@ case E1000_DEV_ID_PCH_ADL_I219_V16: case E1000_DEV_ID_PCH_ADL_I219_LM17: case E1000_DEV_ID_PCH_ADL_I219_V17: + case E1000_DEV_ID_PCH_RPL_I219_V22: mac->type =3D e1000_pch_adp; break; case E1000_DEV_ID_PCH_MTP_I219_LM18: diff -ru /usr/src/sys/dev/e1000/e1000_hw.h e1000/e1000_hw.h --- /usr/src/sys/dev/e1000/e1000_hw.h 2022-12-09 01:03:57.000000000 +0000 +++ e1000/e1000_hw.h 2023-01-26 00:26:09.000000000 +0000 @@ -175,6 +175,7 @@ #define E1000_DEV_ID_PCH_MTP_I219_V18 0x550B #define E1000_DEV_ID_PCH_MTP_I219_LM19 0x550C #define E1000_DEV_ID_PCH_MTP_I219_V19 0x550D +#define E1000_DEV_ID_PCH_RPL_I219_V22 0x0DC8 #define E1000_DEV_ID_82576 0x10C9 #define E1000_DEV_ID_82576_FIBER 0x10E6 #define E1000_DEV_ID_82576_SERDES 0x10E7 diff -ru /usr/src/sys/dev/e1000/if_em.c e1000/if_em.c --- /usr/src/sys/dev/e1000/if_em.c 2022-12-09 01:03:57.000000000 +0000 +++ e1000/if_em.c 2023-01-26 00:27:29.000000000 +0000 @@ -194,6 +194,7 @@ PVID(0x8086, E1000_DEV_ID_PCH_MTP_I219_V18, "Intel(R) I219-V MTP(18= )"), PVID(0x8086, E1000_DEV_ID_PCH_MTP_I219_LM19, "Intel(R) I219-LM MTP(19)"), PVID(0x8086, E1000_DEV_ID_PCH_MTP_I219_V19, "Intel(R) I219-V MTP(19= )"), + PVID(0x8086, E1000_DEV_ID_PCH_RPL_I219_V22, "Intel(R) I219-V RPL(22= )"), /* required last entry */ PVID_END }; --=20 You are receiving this mail because: You are the assignee for the bug.=