From patchwork Fri Feb 12 20:57:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12086071 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4CA0AC4332D for ; Fri, 12 Feb 2021 20:59:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1804864EC0 for ; Fri, 12 Feb 2021 20:59:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231937AbhBLU7S (ORCPT ); Fri, 12 Feb 2021 15:59:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231865AbhBLU60 (ORCPT ); Fri, 12 Feb 2021 15:58:26 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D19AC061756; Fri, 12 Feb 2021 12:57:46 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id x9so477863plb.5; Fri, 12 Feb 2021 12:57:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dwmciB3pTNwaIWJFsxZaCQR8SUWVkirrLZDjakBcESE=; b=ZipO9dHyac6j5wc6ijVotyxnuKsojDI+CYsjl0YR1C17ksYUpSc+RNSk6Jhsxlpe7L Ng4qsNjEVbavsvu/gUrd/92lagnrgAJJdeS/IX8eYSBbRyxWcAEMa6pmSXvwNkNjgYCj 1t4/WB/88nGTzb/cVHZAe53loIvuZ5dFwb7CbneMDzbDh0Oae4sbQHm/cuO6D1czNEgd hYbJC9IoYz0ZKNgu7DpjMXKQQ7NgRGtJLtwcFaE6SvgTocFy4NYT89BPVm/3W2DXx8nY H4/ZfF0Umdjou07AK8U37tkHwUW77QkT1kA/xNIwabKaLBw56YMhn0osrrNAqrYV08FS gJfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dwmciB3pTNwaIWJFsxZaCQR8SUWVkirrLZDjakBcESE=; b=ZoD8h/IEKJ1eWkcw5CE6PfGa8o1D6jngGlUtR9SFvRAoA+ae4Qkma3p+GGQa1ZNipn Nh6gPSKFF8lROwvb143f8hEDxJR7b7ONuRkJHsxxLttmWlMzaza8hfOVMzYFMgEaxrXc xHcI53ZCRJzKNAj1xOUlyZnEyuEmNGb83gKShVkIhUHIOn7ql+OTjXxOTFkCqmjAYfA1 WIfuRt0tg8II8hAr3GuubSpeybqyXJqTvXW/vZwIK1EsecTaPj3iTmi9Mi2Tk5oDgnN8 3MJ0SyTDAkOOxz0vhiOl5QqVkd2KDvsZggzwpbjUp9mUMz+HAOhz/lG7uj3sBwc8vyB9 5duA== X-Gm-Message-State: AOAM531dwVIqlyimdeARwCrzzqUn6WKs4BcHKuI+awTcP2LPCTco8aGz B8nBRXyMntvtEeCnWUtvbZuS3hy2Huc= X-Google-Smtp-Source: ABdhPJxKLchfNaCa0OZyevwo53CBHBtpJROnAgssY4gVPrWZiARfvtxtGOEsECETqWc1EUu4NVl9kw== X-Received: by 2002:a17:90a:67ca:: with SMTP id g10mr4159160pjm.166.1613163455250; Fri, 12 Feb 2021 12:57:35 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id a141sm9891628pfa.189.2021.02.12.12.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 12:57:28 -0800 (PST) From: Florian Fainelli To: netdev@vger.kernel.org Cc: Florian Fainelli , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Michael Chan , bcm-kernel-feedback-list@broadcom.com (open list:BROADCOM ETHERNET PHY DRIVERS), linux-kernel@vger.kernel.org (open list), olteanv@gmail.com, michael@walle.cc Subject: [PATCH net-next 1/3] net: phy: broadcom: Remove unused flags Date: Fri, 12 Feb 2021 12:57:19 -0800 Message-Id: <20210212205721.2406849-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210212205721.2406849-1-f.fainelli@gmail.com> References: <20210212205721.2406849-1-f.fainelli@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org We have a number of unused flags defined today and since we are scarce on space and may need to introduce new flags in the future remove and shift every existing flag down into a contiguous assignment. No functional change. Signed-off-by: Florian Fainelli --- include/linux/brcmphy.h | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h index de9430d55c90..da7bf9dfef5b 100644 --- a/include/linux/brcmphy.h +++ b/include/linux/brcmphy.h @@ -61,19 +61,15 @@ #define PHY_BCM_OUI_5 0x03625e00 #define PHY_BCM_OUI_6 0xae025000 -#define PHY_BCM_FLAGS_MODE_COPPER 0x00000001 -#define PHY_BCM_FLAGS_MODE_1000BX 0x00000002 -#define PHY_BCM_FLAGS_INTF_SGMII 0x00000010 -#define PHY_BCM_FLAGS_INTF_XAUI 0x00000020 -#define PHY_BRCM_WIRESPEED_ENABLE 0x00000100 -#define PHY_BRCM_AUTO_PWRDWN_ENABLE 0x00000200 -#define PHY_BRCM_RX_REFCLK_UNUSED 0x00000400 -#define PHY_BRCM_STD_IBND_DISABLE 0x00000800 -#define PHY_BRCM_EXT_IBND_RX_ENABLE 0x00001000 -#define PHY_BRCM_EXT_IBND_TX_ENABLE 0x00002000 -#define PHY_BRCM_CLEAR_RGMII_MODE 0x00004000 -#define PHY_BRCM_DIS_TXCRXC_NOENRGY 0x00008000 -#define PHY_BRCM_EN_MASTER_MODE 0x00010000 +#define PHY_BCM_FLAGS_MODE_1000BX 0x00000001 +#define PHY_BRCM_AUTO_PWRDWN_ENABLE 0x00000002 +#define PHY_BRCM_RX_REFCLK_UNUSED 0x00000004 +#define PHY_BRCM_STD_IBND_DISABLE 0x00000008 +#define PHY_BRCM_EXT_IBND_RX_ENABLE 0x00000010 +#define PHY_BRCM_EXT_IBND_TX_ENABLE 0x00000020 +#define PHY_BRCM_CLEAR_RGMII_MODE 0x00000040 +#define PHY_BRCM_DIS_TXCRXC_NOENRGY 0x00000080 +#define PHY_BRCM_EN_MASTER_MODE 0x00000100 /* Broadcom BCM7xxx specific workarounds */ #define PHY_BRCM_7XXX_REV(x) (((x) >> 8) & 0xff) From patchwork Fri Feb 12 20:57:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12086067 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6482FC433DB for ; Fri, 12 Feb 2021 20:59:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 27A2A64DF0 for ; Fri, 12 Feb 2021 20:59:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231993AbhBLU6x (ORCPT ); Fri, 12 Feb 2021 15:58:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231766AbhBLU6W (ORCPT ); Fri, 12 Feb 2021 15:58:22 -0500 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C4F1C06178B; Fri, 12 Feb 2021 12:57:38 -0800 (PST) Received: by mail-pg1-x531.google.com with SMTP id t25so462457pga.2; Fri, 12 Feb 2021 12:57:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QAC/y8sQa5RfLFD743kGq2IsbDwySZBznMp15D5eqJY=; b=X9W2nDhAFT8XR+PPkPiuvTuLdH2zSQGnzk5lupJ44NkRCNzW6ieWj3pLUDaCEBM4qc S+LEcejNG+1Cpc4v6JnE4x89xZA3sv2afN0Ocs9YTuB8J145lW0+EafVM7uGQTC07Dl4 XUjsIwaMEjgupXwHUNWPYwbqEYSzprhWfV2u8urqWEWvSL/67WwnUZA+hlMYwr8QTTfN CYM71LwSv1f0VpjSE14Ms2OLK7IBCV520Gaoz6zuefcmQ0L/km/oOExJoSUVcDZJgAMA 0jXixaAU6cTSUJYFzkcFvl3UWbqoFQTMak0zps7BDp9ME1Xt564+hNri5HhhB6zgP13t FNUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QAC/y8sQa5RfLFD743kGq2IsbDwySZBznMp15D5eqJY=; b=NZCSEVk30ga610LotpCVP03GqUG/F7GTbkoWP5yw9DVI83gNOsu/wmBh+rifktG2ls AZP61AQ9DbjPAd/+Eg1hNVYoZVL1+ri9HrbBjwvh8CvOyXOiZQpq8xZmsEmva9IbK10+ hGngXK+MjCa8zL1/6CyXL3ru64RZ6bFsWzsyjYm6Oqd0RNn3QWyhDlD8pUkXFIryw4x/ HXR4KePflMF849HXqWKt1Fq2GS3JuXrb5r1FfMeE1GlIq3C+oQspTnl69n55Nu4nD5HJ rKrHTApMSeDADn22m4PkZ3NaGlsNm75kTKl6umCjkmEzJ4OVnx3JUwbhm8NJfSTjW8vu lG/Q== X-Gm-Message-State: AOAM531OoR3lsOMxYsdKGrFTW2ZPkGRgw5d7qYA4WOihN/iOqinOGhQl Rbx2K/yYt7UPlqUiYrWbJNe9ymoCt1A= X-Google-Smtp-Source: ABdhPJxIRDOAhPuW8Giqdgbw8KoKpeuSVjezG41t58E5DjxUzk5fUrMPdQigZYjLeHkeLpmxK3ql5w== X-Received: by 2002:a05:6a00:1342:b029:1ba:5263:63c3 with SMTP id k2-20020a056a001342b02901ba526363c3mr4756322pfu.2.1613163457695; Fri, 12 Feb 2021 12:57:37 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id a141sm9891628pfa.189.2021.02.12.12.57.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 12:57:37 -0800 (PST) From: Florian Fainelli To: netdev@vger.kernel.org Cc: Florian Fainelli , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Michael Chan , bcm-kernel-feedback-list@broadcom.com (open list:BROADCOM ETHERNET PHY DRIVERS), linux-kernel@vger.kernel.org (open list), olteanv@gmail.com, michael@walle.cc Subject: [PATCH net-next 2/3] net: phy: broadcom: Fix RXC/TXC auto disabling Date: Fri, 12 Feb 2021 12:57:20 -0800 Message-Id: <20210212205721.2406849-3-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210212205721.2406849-1-f.fainelli@gmail.com> References: <20210212205721.2406849-1-f.fainelli@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org When support for optionally disabling the TXC was introduced, bit 2 was used to do that operation but the datasheet for 50610M from 2009 does not show bit 2 as being defined. Bit 8 is the one that allows automatic disabling of the RXC/TXC auto disabling during auto power down. Fixes: 52fae0837153 ("tg3 / broadcom: Optionally disable TXC if no link") Signed-off-by: Florian Fainelli --- include/linux/brcmphy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h index da7bf9dfef5b..3dd8203cf780 100644 --- a/include/linux/brcmphy.h +++ b/include/linux/brcmphy.h @@ -193,7 +193,7 @@ #define BCM54XX_SHD_SCR3 0x05 #define BCM54XX_SHD_SCR3_DEF_CLK125 0x0001 #define BCM54XX_SHD_SCR3_DLLAPD_DIS 0x0002 -#define BCM54XX_SHD_SCR3_TRDDAPD 0x0004 +#define BCM54XX_SHD_SCR3_TRDDAPD 0x0100 /* 01010: Auto Power-Down */ #define BCM54XX_SHD_APD 0x0a From patchwork Fri Feb 12 20:57:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12086069 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5632C433DB for ; Fri, 12 Feb 2021 20:59:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 816C364DF0 for ; Fri, 12 Feb 2021 20:59:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232043AbhBLU7B (ORCPT ); Fri, 12 Feb 2021 15:59:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231830AbhBLU6W (ORCPT ); Fri, 12 Feb 2021 15:58:22 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5728C06178C; Fri, 12 Feb 2021 12:57:39 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id d13so491227plg.0; Fri, 12 Feb 2021 12:57:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dGkVhP9lrZbfNVwJrj0ni02dmAFFlEtayaUfK2Zwqrw=; b=XxdkgWXRS9/yLkEo2KGQz0o3WHM4xZIwpnC3ml6CCPANFlJvi+8FlMFgPLVlCzhU9B 5ygi0XrIJkpHlCXAfsEvqClAMAz+QUAC+D9BJSsLc0y/c5VdJ28apsJppqXBMojYLoH4 tYMMplDbJ27ZVMK8nOcA9PEgN4m/688P0h8tgrtnKBYRfZ+Uqvnjkl/kc+OjReQwDYNH zJNJiOOddugW0qWSuXIOq0lKnLMZ6YN8lM368eOzaJuPTAsru+kInsRwiPUipwcklTqH 7hNKjvTZAvilPhU4yRAXh26KPGLxPBHczYz3P0ckjYcWoRM7aqL4/LJzT8+WQOSZVEGw lgnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dGkVhP9lrZbfNVwJrj0ni02dmAFFlEtayaUfK2Zwqrw=; b=S8A5hZBg+hn2Lh8hYTw57+zUcEjwkNBginYkSul3djkUX6hpE4FALHapSytwfxQwbR g8hxDwc3wyOoM3FdacGBJ7KYqPlIMRdfHrPUZ7fNIVJiN0c7+DyJXr7Thud7XzZVZNhg thOohSORB4OibvXIMrh+0Yi6/ULE4wgpY/my0e9k8eIsPUJOoPqPlnWXgaX080GDLtg9 9WfELIRAyLBDu6wi4LDI43nXVM5Iv0QoqBi3h4KzC607A37sV3+x/OQpduXQMtFfbqHp cmwEPMwllbTb2MNvbcbOSQoEM9wcW6BBvKNif7QyNZbLfzLbcq0MjFgaGe0LuG7Aw7Dd DVPQ== X-Gm-Message-State: AOAM5332Lv5p0jZyQ7HiKf0RFejNJAZ8P7FSG3Qg7JGqeHCsuPY52Gx9 J4CA/wmCbSVwZYGofV7+9tsX/4ViFDg= X-Google-Smtp-Source: ABdhPJyVnQb7pMf/S+48H5BGK7MBA4beWpA91xIgMJgZePiwrGIuvju/US7GJZ/7SlwT315lJy/Rxw== X-Received: by 2002:a17:902:8602:b029:e2:8386:7aed with SMTP id f2-20020a1709028602b02900e283867aedmr4397311plo.36.1613163459096; Fri, 12 Feb 2021 12:57:39 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id a141sm9891628pfa.189.2021.02.12.12.57.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 12:57:38 -0800 (PST) From: Florian Fainelli To: netdev@vger.kernel.org Cc: Florian Fainelli , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Michael Chan , bcm-kernel-feedback-list@broadcom.com (open list:BROADCOM ETHERNET PHY DRIVERS), linux-kernel@vger.kernel.org (open list), olteanv@gmail.com, michael@walle.cc Subject: [PATCH net-next 3/3] net: phy: broadcom: Allow BCM54210E to configure APD Date: Fri, 12 Feb 2021 12:57:21 -0800 Message-Id: <20210212205721.2406849-4-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210212205721.2406849-1-f.fainelli@gmail.com> References: <20210212205721.2406849-1-f.fainelli@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org BCM54210E/BCM50212E has been verified to work correctly with the auto-power down configuration done by bcm54xx_adjust_rxrefclk(), add it to the list of PHYs working. Signed-off-by: Florian Fainelli --- drivers/net/phy/broadcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index 0472b3470c59..cb790bd802ff 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -195,6 +195,7 @@ static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev) if (BRCM_PHY_MODEL(phydev) != PHY_ID_BCM57780 && BRCM_PHY_MODEL(phydev) != PHY_ID_BCM50610 && BRCM_PHY_MODEL(phydev) != PHY_ID_BCM50610M && + BRCM_PHY_MODEL(phydev) != PHY_ID_BCM54210E && BRCM_PHY_MODEL(phydev) != PHY_ID_BCM54810 && BRCM_PHY_MODEL(phydev) != PHY_ID_BCM54811) return;