From patchwork Sun Sep 19 15:11:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 12504363 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=unavailable 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 6C555C433FE for ; Sun, 19 Sep 2021 15:43:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3A731611F0 for ; Sun, 19 Sep 2021 15:43:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233527AbhISPpL (ORCPT ); Sun, 19 Sep 2021 11:45:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229951AbhISPpK (ORCPT ); Sun, 19 Sep 2021 11:45:10 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEDF6C061574; Sun, 19 Sep 2021 08:43:44 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id v24so50626458eda.3; Sun, 19 Sep 2021 08:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=21nowariD76inilnHAN+GS6tHZVsucKQkxTmpZSNO8A=; b=hrxRrin1Qasg87BAYXGStevSUDYwxTQWEEPBNPy94Ye8sgDN4Qi/Nnoqf+L3Cdo/7v QQi/wV/6hD8YVcobJXz3QJ55zJlym7MM6QmyeLv9QgGfvUDg8pSdm0kUlW+CXzY0F0Pe u5SbXMWYS3J9FbWeDyodF1IvN8mFmlN+1c1GJkROEGrWfrBO+oeppppXBbbGQ1b7bi1W RfrBGK3l4RpmVm+u5Fbdf0RsgxQoZIXHCSsxGuwWAvWRI70km9L/fX1Cw+d2hvYng+Ye tcR5AkBJ/YUgxJI3QIjc1aMmNiGfED+VooBl+cebtRLaeW4La4xT4WYx/ZYWUtvzLx1B YwZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=21nowariD76inilnHAN+GS6tHZVsucKQkxTmpZSNO8A=; b=FMzzLGljKRFU9M5W97EEjJOuEhITrOk1Gqowsmt6GTADNu1pRvt+ypovl0k6BGV7yA 1241wHoGhHamChLo2kh8QuZ1rMCbK+0VsiohVcWyyP/ye7jb4KRpuoMKC0ABEuQnzoBE 6VOb7skbhhXONgJr52XC3GkO08yw3nlmqv1N9bnCYJwuC8HGsCA9mCaGzY8QBDy1IqEN 6UiNdczQ1HdwK6moemD8lytUEpGQpj33KT5KdNGKP2+x/7dBhRxUfWc9Smt3w0GNeyAj tEyvkclZOD7f8MIvGgzFl9jxSzLYFoFF49jfRUXOAwcaaIyojHPM9EueZE0JHJ07Kmi3 4LVQ== X-Gm-Message-State: AOAM532AdNcu9xb2q8FvijJZmjMPdjZeADihkNW6D3b13+qPM+9FE3en jTknIFGssUP0PJ09uQzBTITos+Xzs9E= X-Google-Smtp-Source: ABdhPJzJ04iFjlmnzyY6W3jR7upKKCGYKZF9be2Z6iewlYxnQs+3zMp8Uzh0sP+08FUt0KleZJI1sA== X-Received: by 2002:a17:906:f88a:: with SMTP id lg10mr24205524ejb.13.1632066223181; Sun, 19 Sep 2021 08:43:43 -0700 (PDT) Received: from Ansuel-xps.localdomain (93-42-67-254.ip85.fastwebnet.it. [93.42.67.254]) by smtp.googlemail.com with ESMTPSA id g10sm4999309ejj.44.2021.09.19.08.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 08:43:42 -0700 (PDT) From: Ansuel Smith To: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ansuel Smith Subject: [net-next PATCH 1/3] net: phy: at803x: add support for qca 8327 A variant internal phy Date: Sun, 19 Sep 2021 17:11:44 +0200 Message-Id: <20210919151146.10501-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org For qca8327 internal phy there are 2 different switch variant with 2 different phy id. Add this missing variant so the internal phy can be correctly identified and fixed. Signed-off-by: Ansuel Smith --- drivers/net/phy/at803x.c | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 719860a93d7c..618e014abd2f 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -150,7 +150,8 @@ #define ATH8035_PHY_ID 0x004dd072 #define AT8030_PHY_ID_MASK 0xffffffef -#define QCA8327_PHY_ID 0x004dd034 +#define QCA8327_A_PHY_ID 0x004dd033 +#define QCA8327_B_PHY_ID 0x004dd034 #define QCA8337_PHY_ID 0x004dd036 #define QCA8K_PHY_ID_MASK 0xffffffff @@ -1421,10 +1422,23 @@ static struct phy_driver at803x_driver[] = { .get_strings = at803x_get_strings, .get_stats = at803x_get_stats, }, { - /* QCA8327 */ - .phy_id = QCA8327_PHY_ID, + /* QCA8327-A from switch QCA8327-AL1A */ + .phy_id = QCA8327_A_PHY_ID, .phy_id_mask = QCA8K_PHY_ID_MASK, - .name = "QCA PHY 8327", + .name = "QCA PHY 8327-A", + /* PHY_GBIT_FEATURES */ + .probe = at803x_probe, + .flags = PHY_IS_INTERNAL, + .config_init = qca83xx_config_init, + .soft_reset = genphy_soft_reset, + .get_sset_count = at803x_get_sset_count, + .get_strings = at803x_get_strings, + .get_stats = at803x_get_stats, +}, { + /* QCA8327-B from switch QCA8327-BL1A */ + .phy_id = QCA8327_B_PHY_ID, + .phy_id_mask = QCA8K_PHY_ID_MASK, + .name = "QCA PHY 8327-B", /* PHY_GBIT_FEATURES */ .probe = at803x_probe, .flags = PHY_IS_INTERNAL, @@ -1444,7 +1458,8 @@ static struct mdio_device_id __maybe_unused atheros_tbl[] = { { PHY_ID_MATCH_EXACT(ATH8035_PHY_ID) }, { PHY_ID_MATCH_EXACT(ATH9331_PHY_ID) }, { PHY_ID_MATCH_EXACT(QCA8337_PHY_ID) }, - { PHY_ID_MATCH_EXACT(QCA8327_PHY_ID) }, + { PHY_ID_MATCH_EXACT(QCA8327_A_PHY_ID) }, + { PHY_ID_MATCH_EXACT(QCA8327_B_PHY_ID) }, { } }; From patchwork Sun Sep 19 15:11:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 12504361 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 3EEE8C433F5 for ; Sun, 19 Sep 2021 15:43:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 13682611C8 for ; Sun, 19 Sep 2021 15:43:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233590AbhISPpM (ORCPT ); Sun, 19 Sep 2021 11:45:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233428AbhISPpL (ORCPT ); Sun, 19 Sep 2021 11:45:11 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A943DC061574; Sun, 19 Sep 2021 08:43:45 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id co2so4134974edb.8; Sun, 19 Sep 2021 08:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q3TLMvWKODKgQevKC2fILhwIeSJWa7sk0dMQgGyL238=; b=WWIcReOTFRvLrEOt26ndhPr6s81lKS8rh4SBA6dBl0EMVEmt+T8UmCm4DxDaBGAO5W dVk/dBQZ1VPmt0wKvWdiVHHUOXHNAk67wHX/lpL6Fri3AlSya4zT0lYJgC/kgCHqSLiH A4GNzceelhs9sffLkVQQkVBoDVAXkmuxhoIKw53h6ERp93hyD0fuxrZ8b9GLsWkezeSl lHIi5OWz1WSzhewiLCPvKcBYC8xcj3xmTL9sGxl90iuTTvdHm9rMIt5I64f4+DEZ70+M cvlFwvvUBIisqNUUY+lUcQ1dHNbMRVcwbglIvElfWLgzslNbVnajxB2NJsHfU/ojk0tt IGpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=q3TLMvWKODKgQevKC2fILhwIeSJWa7sk0dMQgGyL238=; b=2BI7YiaV5Dof+0UsvaXl2SYhI+0LKLhXRuHmJ/vE+/jermVov0a66PHhvAheBDU5aa WjBHTYlJjpx4ULwwyU4qpMHcB9zru47PeHi9WT1pzBctARzYwUDFsVNiBCFhtvqzc1tC sOjSUWay20LXalbQRlPRWZxIwAmmMLsMA6n/o3sa5UUYoiqor8iopFKDfpJWaAIwVl5O //N1XdgWGujT87b8xGLi/Ejydrgd0gvgSqW2DIw30YzQ8/mj/kDB0Zuh1MFA9rAeojUR 360JcpA2r8+T9KChXwCK0bTKiT4PlIBKCiqOXbWolPh12Hn1OgUkT7cqoxqNnKroesOx VBoA== X-Gm-Message-State: AOAM531MsiA7ge3KOKXM0/YMKuQoTYSZOVyJrKt9mHrU9tNSW2r25PVF zPU6WedPVq56taY4Sg0ALGQ= X-Google-Smtp-Source: ABdhPJywXnrC1NswQbe2g/ZUD4YClju7BGrw3nFk+e1xRn2akogB88IHxce5BxZF9BPT6++UCd0QBA== X-Received: by 2002:a50:d4dc:: with SMTP id e28mr23628210edj.106.1632066224047; Sun, 19 Sep 2021 08:43:44 -0700 (PDT) Received: from Ansuel-xps.localdomain (93-42-67-254.ip85.fastwebnet.it. [93.42.67.254]) by smtp.googlemail.com with ESMTPSA id g10sm4999309ejj.44.2021.09.19.08.43.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 08:43:43 -0700 (PDT) From: Ansuel Smith To: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ansuel Smith Subject: [net-next PATCH 2/3] net: phy: at803x: add resume/suspend function to qca83xx phy Date: Sun, 19 Sep 2021 17:11:45 +0200 Message-Id: <20210919151146.10501-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210919151146.10501-1-ansuelsmth@gmail.com> References: <20210919151146.10501-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Add resume/suspend function to qca83xx internal phy. We can't use the at803x generic function as the documentation lacks of any support for WoL regs. Signed-off-by: Ansuel Smith --- drivers/net/phy/at803x.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 618e014abd2f..8156fbc7f00d 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -1312,6 +1312,18 @@ static int qca83xx_config_init(struct phy_device *phydev) return 0; } +static int qca83xx_suspend(struct phy_device *phydev) +{ + phy_modify(phydev, MII_BMCR, 0, BMCR_PDOWN); + + return 0; +} + +static int qca83xx_resume(struct phy_device *phydev) +{ + return phy_modify(phydev, MII_BMCR, BMCR_PDOWN, 0); +} + static struct phy_driver at803x_driver[] = { { /* Qualcomm Atheros AR8035 */ @@ -1421,6 +1433,8 @@ static struct phy_driver at803x_driver[] = { .get_sset_count = at803x_get_sset_count, .get_strings = at803x_get_strings, .get_stats = at803x_get_stats, + .suspend = qca83xx_suspend, + .resume = qca83xx_resume, }, { /* QCA8327-A from switch QCA8327-AL1A */ .phy_id = QCA8327_A_PHY_ID, @@ -1434,6 +1448,8 @@ static struct phy_driver at803x_driver[] = { .get_sset_count = at803x_get_sset_count, .get_strings = at803x_get_strings, .get_stats = at803x_get_stats, + .suspend = qca83xx_suspend, + .resume = qca83xx_resume, }, { /* QCA8327-B from switch QCA8327-BL1A */ .phy_id = QCA8327_B_PHY_ID, @@ -1447,6 +1463,8 @@ static struct phy_driver at803x_driver[] = { .get_sset_count = at803x_get_sset_count, .get_strings = at803x_get_strings, .get_stats = at803x_get_stats, + .suspend = qca83xx_suspend, + .resume = qca83xx_resume, }, }; module_phy_driver(at803x_driver); From patchwork Sun Sep 19 15:11:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 12504365 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 46CCFC433F5 for ; Sun, 19 Sep 2021 15:44:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2429D611C8 for ; Sun, 19 Sep 2021 15:44:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233647AbhISPpP (ORCPT ); Sun, 19 Sep 2021 11:45:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233562AbhISPpM (ORCPT ); Sun, 19 Sep 2021 11:45:12 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 766D5C061574; Sun, 19 Sep 2021 08:43:46 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id v24so50626740eda.3; Sun, 19 Sep 2021 08:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cdE3tlr27r+sjfChK7knCeuUo8PGCjjDp/M+CvdPjmg=; b=hhUgILbuYNm6pTiR5yB6kasYLq5KnxMIEisqdjuTPwQtkdxyxTgJHCB0bPMoEhIjIe 4m2P11Wkg+c09xWySzIatDu6OD0K2+G4OCnVtUEtYotGPLQBzNoXZRUqOqTkfgrN2+LA g9l+8PgToTL4Y+umPGwEWrIhuBz72w28QD1Yex01uVQoFm0dWmrDOGXFaq1HrEQJA6Vf cRPPkGSNMXoj9fa3/69QXSNP7fNM6Egw5OJgMqj13Mx3dZ85qLwF+eTz5GT8WS0PtDUG cRQOebUcABmqOnPAjmqQDch+UzL5/GRSOPt26WMVbJ1+898mtEbCRI8qNR6eEViJ4Bjv pA/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cdE3tlr27r+sjfChK7knCeuUo8PGCjjDp/M+CvdPjmg=; b=T+72BC8yJR7MMlIr44bVaM7LdmLRN5nWGpjHbPR3UZM2dCd5/j5pToERxnWyqfQ4J6 5cP82ekbuluuA5nDIm28+zd/crIHaUGpzfbwRRt1CeEQciKeCseYBzBws+ItS2HaYR/4 K2xF6MydkCLARdc0zaURnrD/gzIW+aDM6jPCbbsVkITbvx/Mafz+fMvZWs9opT3YsNcL 6uuUKvYRiS2zS0iJlnosd1muAmjaDaMN4ZRP0lfmfEAtNCaSRzG55nRHIDBQPHnRFVGn xhg34RjS9ZgrJuzmWqjRkNebb+PTwVgnehDcVOQo4/J5Nm8JWHjyIzG8Skzk4UAd8qES Ho8w== X-Gm-Message-State: AOAM530iaac52xLRERkoRKKiRwCKJI74Z5hlQGP2cg3rmqNT/SklbjfY 4WFKtPTRMBqKtKs/AshH1ei/ZofjpYo= X-Google-Smtp-Source: ABdhPJy+8m5K7XvuDsGAV3V4a6JGGjPwaeRZKUEvwB2u7px2G/voQUJ79njLRDW5sfWlBcITw6qh/w== X-Received: by 2002:a17:906:3b56:: with SMTP id h22mr23385797ejf.141.1632066224875; Sun, 19 Sep 2021 08:43:44 -0700 (PDT) Received: from Ansuel-xps.localdomain (93-42-67-254.ip85.fastwebnet.it. [93.42.67.254]) by smtp.googlemail.com with ESMTPSA id g10sm4999309ejj.44.2021.09.19.08.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 08:43:44 -0700 (PDT) From: Ansuel Smith To: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ansuel Smith Subject: [net-next PATCH 3/3] net: phy: at803x: fix spacing and improve name for 83xx phy Date: Sun, 19 Sep 2021 17:11:46 +0200 Message-Id: <20210919151146.10501-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210919151146.10501-1-ansuelsmth@gmail.com> References: <20210919151146.10501-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Fix spacing and improve name for 83xx phy following other phy in the same driver. Signed-off-by: Ansuel Smith --- drivers/net/phy/at803x.c | 60 ++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 8156fbc7f00d..f6f44d343667 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -1422,47 +1422,47 @@ static struct phy_driver at803x_driver[] = { .config_aneg = at803x_config_aneg, }, { /* QCA8337 */ - .phy_id = QCA8337_PHY_ID, - .phy_id_mask = QCA8K_PHY_ID_MASK, - .name = "QCA PHY 8337", + .phy_id = QCA8337_PHY_ID, + .phy_id_mask = QCA8K_PHY_ID_MASK, + .name = "Qualcomm Atheros 8337 internal PHY", /* PHY_GBIT_FEATURES */ - .probe = at803x_probe, - .flags = PHY_IS_INTERNAL, - .config_init = qca83xx_config_init, - .soft_reset = genphy_soft_reset, - .get_sset_count = at803x_get_sset_count, - .get_strings = at803x_get_strings, - .get_stats = at803x_get_stats, + .probe = at803x_probe, + .flags = PHY_IS_INTERNAL, + .config_init = qca83xx_config_init, + .soft_reset = genphy_soft_reset, + .get_sset_count = at803x_get_sset_count, + .get_strings = at803x_get_strings, + .get_stats = at803x_get_stats, .suspend = qca83xx_suspend, .resume = qca83xx_resume, }, { /* QCA8327-A from switch QCA8327-AL1A */ - .phy_id = QCA8327_A_PHY_ID, - .phy_id_mask = QCA8K_PHY_ID_MASK, - .name = "QCA PHY 8327-A", + .phy_id = QCA8327_A_PHY_ID, + .phy_id_mask = QCA8K_PHY_ID_MASK, + .name = "Qualcomm Atheros 8327-A internal PHY", /* PHY_GBIT_FEATURES */ - .probe = at803x_probe, - .flags = PHY_IS_INTERNAL, - .config_init = qca83xx_config_init, - .soft_reset = genphy_soft_reset, - .get_sset_count = at803x_get_sset_count, - .get_strings = at803x_get_strings, - .get_stats = at803x_get_stats, + .probe = at803x_probe, + .flags = PHY_IS_INTERNAL, + .config_init = qca83xx_config_init, + .soft_reset = genphy_soft_reset, + .get_sset_count = at803x_get_sset_count, + .get_strings = at803x_get_strings, + .get_stats = at803x_get_stats, .suspend = qca83xx_suspend, .resume = qca83xx_resume, }, { /* QCA8327-B from switch QCA8327-BL1A */ - .phy_id = QCA8327_B_PHY_ID, - .phy_id_mask = QCA8K_PHY_ID_MASK, - .name = "QCA PHY 8327-B", + .phy_id = QCA8327_B_PHY_ID, + .phy_id_mask = QCA8K_PHY_ID_MASK, + .name = "Qualcomm Atheros 8327-B internal PHY", /* PHY_GBIT_FEATURES */ - .probe = at803x_probe, - .flags = PHY_IS_INTERNAL, - .config_init = qca83xx_config_init, - .soft_reset = genphy_soft_reset, - .get_sset_count = at803x_get_sset_count, - .get_strings = at803x_get_strings, - .get_stats = at803x_get_stats, + .probe = at803x_probe, + .flags = PHY_IS_INTERNAL, + .config_init = qca83xx_config_init, + .soft_reset = genphy_soft_reset, + .get_sset_count = at803x_get_sset_count, + .get_strings = at803x_get_strings, + .get_stats = at803x_get_stats, .suspend = qca83xx_suspend, .resume = qca83xx_resume, }, };