From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 0/2] net: phy: use phy_id_mask value zero for exact match Date: Thu, 08 Nov 2018 15:05:27 -0800 (PST) Message-ID: <20181108.150527.993725135236462790.davem@davemloft.net> References: <08d52675-f308-4ebb-4ec4-f6c7ac0b6b06@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: f.fainelli@gmail.com, andrew@lunn.ch, netdev@vger.kernel.org To: hkallweit1@gmail.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:38768 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725922AbeKIInQ (ORCPT ); Fri, 9 Nov 2018 03:43:16 -0500 In-Reply-To: <08d52675-f308-4ebb-4ec4-f6c7ac0b6b06@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Heiner Kallweit Date: Wed, 7 Nov 2018 21:52:31 +0100 > A phy_id_mask value zero means every PHYID matches, therefore > value zero isn't used. So we can safely redefine the semantics > of value zero to mean "exact match". This allows to avoid some > boilerplate code in PHY driver configs. > > Realtek PHY driver is the first user of this change. It looks like there will be some changes to this series, so I will wait for the next version.