From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 ABE5A440C; Sat, 17 Aug 2024 18:43:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723920235; cv=none; b=IzovS8vCA/0JiWin8ajbdWOK0Nd5H3YmvaE/m6dEet/3v9GBTKPMwl6jGCtci7eg1e5q+U6sMPC689OoqEfplliVirCccbOgPTvRKaDDgg4Ydw5JtfrttI2g+PjvCBDAfShzfXdBzqDEg2570ojWx4OTHYAOndi5zp+iKT048us= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723920235; c=relaxed/simple; bh=TLMhnCNzxFvgSXOepq/M/B371LfD1h6QMOnwS74Y5Og=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WK/QcdsMleCpmrQcPgcISRhtgfbZjZVmzhBGbl9BrqdmdgjXzi88TE534tuYdFUlb7ot0HzTNNkBLp7KmDgAsr576ep8wIgUKSqE5INQ8cpJtARzNmYLL9I1za2BfKcaxa1XCn61zeMs15oGFV/NXiSkZkfE8MCc+1N+kIM1y9k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=xWNgSibC; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="xWNgSibC" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=AbIYY58M0xzO1lHb5rqK15bcilbMy5FrPL1/w3PskfI=; b=xWNgSibCL/1TfFP/hGPMWiD5bG eexhIKd09JQ712zqYFiequ+IUytaSnhpCcqJehQoVMSQlluzQdB1/79KRDvqUACTgaGQ2J6FQpmwX wlLtlSAvw+sydMvvaiZcbb2HikAMalmK796q+QyA9DoBNDajk8pR9eG3pH8sQo+3V9JE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1sfOP0-0050ea-Qd; Sat, 17 Aug 2024 20:43:50 +0200 Date: Sat, 17 Aug 2024 20:43:50 +0200 From: Andrew Lunn To: FUJITA Tomonori Cc: netdev@vger.kernel.org, rust-for-linux@vger.kernel.org, tmgross@umich.edu, miguel.ojeda.sandonis@gmail.com, benno.lossin@proton.me, aliceryhl@google.com Subject: Re: [PATCH net-next v4 4/6] rust: net::phy unified read/write API for C22 and C45 registers Message-ID: <4315c9fb-772f-441a-a267-1f51277d5a86@lunn.ch> References: <20240817051939.77735-1-fujita.tomonori@gmail.com> <20240817051939.77735-5-fujita.tomonori@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240817051939.77735-5-fujita.tomonori@gmail.com> On Sat, Aug 17, 2024 at 05:19:37AM +0000, FUJITA Tomonori wrote: > Add the unified read/write API for C22 and C45 registers. The > abstractions support access to only C22 registers now. Instead of > adding read/write_c45 methods specifically for C45, a new reg module > supports the unified API to access C22 and C45 registers with trait, > by calling an appropriate phylib functions. > > Reviewed-by: Trevor Gross > Reviewed-by: Benno Lossin > Signed-off-by: FUJITA Tomonori Reviewed-by: Andrew Lunn Andrew