🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #2999

Re: [PATCH net-next v5 2/9] net: dsa: realtek: rtl8365mb: add chip family infrastructure

#2999
From: Linus Walleij
Date: Tue, 13 Oct 2026 23:27
22 lines
7315 bytes
On Tue, Oct 13, 2026 at 10:39 AM Mieczyslaw Nalewaj <namiltd@yahoo.com> wrote:

> Add enum rtl8365mb_family and a family member to struct
> rtl8365mb_chip_info, together with rtl8365mb_get_family() declared in a
> new rtl8365mb.h so that the VLAN code can use it too. Tag all existing
> chips as RTL8365MB_FAMILY_C.
>
> RTL8365MB_FAMILY_D is defined here but no chip uses it yet; it is needed
> by the following patches, which add family D handling for chips whose
> register layout differs from the existing ones.
>
> No functional change.
>
> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>

Makes sense.
Reviewed-by: Linus Walleij <linusw@kernel.org>

Yours,
Linus Walleij
Technical Details
Message-ID: <CAD++jLkwAr7QuJnrvZHao3Y=f4QDtxQQ1e1FMtbRicyhqyNwdg@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-345940-linux-kernel-netdev=dewy.ru
References: <b45a3350-44a3-45ad-89cc-452c25edbd7d.ref@yahoo.com> <aa5fa12c-e43e-4e5e-9f77-c6eaf477abc4@yahoo.com> <56fb70c5-9e8c-4d7f-af47-46ed3c860694@yahoo.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-345940-linux-kernel-netdev=dewy.ru
From: linusw@kernel.org (Linus Walleij)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v5 2/9] net: dsa: realtek: rtl8365mb: add chip
 family infrastructure
Date: Wed, 14 Oct 2026 01:27:59 +0200
Organization: Usenet Network
Message-ID: <CAD++jLkwAr7QuJnrvZHao3Y=f4QDtxQQ1e1FMtbRicyhqyNwdg@mail.gmail.com>
References: <b45a3350-44a3-45ad-89cc-452c25edbd7d.ref@yahoo.com>
 <aa5fa12c-e43e-4e5e-9f77-c6eaf477abc4@yahoo.com> <56fb70c5-9e8c-4d7f-af47-46ed3c860694@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="2180792"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:BG+kNW1oqKbaT0QHhV+eMv1hPv4= sha256:mcJLopPg91692PBNHi1fiVvnBPbyRBlDqGQ9KfHpPbg=
	sha1:fuxdNGQp8pjQbJFnRguCPKzvCoY= sha256:IpfPvLY64zffW+ZRkbxMqCxIAmfUGOt5wIs2ACI2m+4=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id B9E5A10FF8E; Wed, 14 Oct 2026 02:52:26 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.34
X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 8TRETfCw2mpI;
	Wed, 14 Oct 2026 02:52:24 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-345940-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id D5FD910FF5C; Wed, 14 Oct 2026 02:52:15 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 3428C6687E; Tue, 13 Oct 2026 23:28:15 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id B44284BB26D;
	Tue, 13 Oct 2026 23:28:14 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BfdIPTVi"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A279C4BB81D
	for <netdev@vger.kernel.org>; Tue, 13 Oct 2026 23:28:13 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791934094; cv=none; b=tjGAh6H2WV9ysOBPp2ZICM6W+R5Kv/+A6DrPouz0wTE3Tq1pXvv9IcmGoI5cDYW2gSpAhCFrm1gAa13uWNMvPmMXnHmQ5hq9VaIFdmi1Cgh3BK9Beeag8ducRFmqi+vjvh6RSI8zkelQMLPkNasmJj3KcOUNCE593u6Zs/fqQQ8=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791934094; c=relaxed/simple;
	bh=jfICjUN4uGEgxT4SIC11mAwKtjbwwaD5aD305KLzTmY=;
	h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
	 To:Cc:Content-Type; b=SWvI0qGH60mVEoudHcK3Pcx3pEg5vqujVKka2xXAa1b232pAfukMIiY4oGJRY+eiVdnf3RnU7SrQen2Fm/9MxeMUt6ft9EL0aTgldJs5A+jKKSs2sUGOsRXBsAn29lNTcE6+PoWP+Gy0BFG98aDzP0eC9nxuOBlPOpTQLs3LK68=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BfdIPTVi; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48E7B1F0089B
	for <netdev@vger.kernel.org>; Tue, 13 Oct 2026 23:28:13 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791934093;
	bh=jfICjUN4uGEgxT4SIC11mAwKtjbwwaD5aD305KLzTmY=;
	h=References:In-Reply-To:From:Date:Subject:To:Cc;
	b=BfdIPTViqrUvoKgyDOjZ4GSRMmT0vP/qzCOD3dk44TENBobYWugmO75x8KpvaKXFR
	 uZHwiOmTwA6oHXtcIDpOglH1XPRDx7i6vLwcwKZQdAlbgFynqbh7kkhJCQDW0S2yj7
	 Gn36ASQ1MT1Jxx/UjSao9nGiRGJK+HJlqSwZ9bLTq/s+1Rm0/Msw+vUU1xsK488r1b
	 WSyO97dsQQB7phOHs0cbWkhL0OXtospujIT+lQ1uvPaLoWhRhmauU7Xq1dJdAu8IPt
	 tr+Mwgqq2BQ+wqCsFRbmimP6tdAAUwP2+Jk3vEQj583C/lv9dnmQbiqE43rRQDqYos
	 /6orbnrnOBs8A==
X-Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-3a20f06cce6so48566471fa.1
        for <netdev@vger.kernel.org>; Tue, 13 Oct 2026 16:28:13 -0700 (PDT)
X-Forwarded-Encrypted: i=1; AKwUvBw23EZ/KfjBASkOpyuHoG9TvPvuNESBt2uz2Jmn6xvvgz9rED00O9zPh/AClUWHlPZxFGKzphc=@vger.kernel.org
X-Gm-Message-State: AFq9FYJMSyGU887btbnsi5vsS7ljwTrk6MrcmV04/ETSWFi4RaBlS/uy
	ykXBIT92LJ7ZE6u07J2e+BTeHoO0qBhK+RUWqj30lMSwgSbI5TvzQ9fdrH0Sr5ctvavj/j8X8gG
	tikPLSAaozU9ZgQpZE1ET2bm6PodE6iI=
X-Received: by 2002:a2e:be88:0:b0:3a6:62bb:906e with SMTP id
 38308e7fff4ca-3a9c2b34d90mr33801471fa.20.1791934092040; Tue, 13 Oct 2026
 16:28:12 -0700 (PDT)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <56fb70c5-9e8c-4d7f-af47-46ed3c860694@yahoo.com>
X-Gmail-Original-Message-ID: <CAD++jLkwAr7QuJnrvZHao3Y=f4QDtxQQ1e1FMtbRicyhqyNwdg@mail.gmail.com>
X-Gm-Features: AclHuK8YuIE-kWbk3_VVqYiyOABl7Epu0vDyuoAROAUzyJrvRto2P0FIbcDiEDk
X-Cc: andrew@lunn.ch, olteanv@gmail.com, kuba@kernel.org, davem@davemloft.net, 
	edumazet@google.com, pabeni@redhat.com, linux@armlinux.org.uk, 
	luizluca@gmail.com, maxime.chevallier@bootlin.com, netdev@vger.kernel.org, 
	linux-kernel@vger.kernel.org
X-Received-Bytes: 7109