Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1940443rdh; Sat, 28 Oct 2023 13:48:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQarJEpw3hSQYUcgHPAV8zCkDnhcpU4z3/Y6IVNYwOrQpokrJyIwaxar49IFVHe+QDPQyp X-Received: by 2002:aca:1302:0:b0:3af:71cf:2b52 with SMTP id e2-20020aca1302000000b003af71cf2b52mr6859889oii.27.1698526135392; Sat, 28 Oct 2023 13:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698526135; cv=none; d=google.com; s=arc-20160816; b=coG125SCZeS5kvVLqGpbp5789QyOhWEDGh8Acu6+sjM5AGiFwnwndG3JOenjvCY0qN 9Hn3j1lRJrS+wNa7PKVh2nTK/PhRlCHfgdWqKOtOzh7fUZfaOWlrxrXDk/FoRWiyK6j0 dwnOYxHF3kt9im7e1O56XNY3Uel+fRD0nL9PgocpAZCy95wN0ca429VWhPwI+b/hL9Uq twdtqGJeh63Es9UfKws3jaMEje+fkyMIh9L3QThng7jiLSSyR5mTXJP5SGbdC4df+Skb HIKxQGqk98qJeL5AtIQK7gywRUOFO9dPbYKYtxmRZ+yxe6U8FJxCiPeMZfNHqFlmQ6u8 gQsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=YVLQjXVLKZfGCSGch/qGFr8re6qYrJR23uX27QZ5BbI=; fh=YkCTELGFe+S31gE1Ys9mO1ZKFlcZyTZEHvenpZVQn7s=; b=xyJ6U6+v+t1jDv2n+8Unrx2XReVY8krwdpANGeBJYA2NL7u5U5WHKL5CNV6zNhrrFh 7ixKGIH3QEcGYh/WKVA8ptqA9xRem47BPxP4bKxoq9UYXkgDFcLVFyxLMj6KvyNFvzUu IQVM3i2i3JN2oiEXCi9IrNWoTJ3YDyTgMqlLfyVUi4pzFGLvKMcoWc6ijasNA8sdYcTa kLi6J35+udvopZP5wL3yY1VtWh9nDQ+ZTqkO+KW1MTe+S97DUvGWlT9E/kR+B1TKni0C MS4uW//RKi8+fW00VupvyTzdhwUvbX/dBHSNWk/k75HzI9gBMtMjAmsxI/MyYcGixMaL ri3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UPUocww3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id w5-20020aa79a05000000b0068e380c3654si2713576pfj.395.2023.10.28.13.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 13:48:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UPUocww3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E8E5E8092C8A; Sat, 28 Oct 2023 13:48:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229450AbjJ1Usp (ORCPT + 99 others); Sat, 28 Oct 2023 16:48:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjJ1Uso (ORCPT ); Sat, 28 Oct 2023 16:48:44 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01142D3 for ; Sat, 28 Oct 2023 13:48:41 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-507e85ebf50so4473335e87.1 for ; Sat, 28 Oct 2023 13:48:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698526120; x=1699130920; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=YVLQjXVLKZfGCSGch/qGFr8re6qYrJR23uX27QZ5BbI=; b=UPUocww3P8hragmlvqHKHM1kAfZDoyiO12bcrM282lqvAjJov/aUmHudFhiTttvMB0 6oBEb4/7cPiqNmFUdoh8q7LnRvlegqtpp6v/BQtFDjPWIoeC4QMLUtxbEIG6lt3E14B4 h2TIHyVfHwFk8UHVfa0JNksr7BfbFUhqfKeLoedN5ZTODwamQ4jrzaOCmcOJt/Sivwh+ RmotqlevDs+a6Ytts+m9+JnaI/PtTWRFO4O0+3jIwu2aGBKREA2UtyJl2m5iVEsdvewK CuEha96BlWH4NbcSkF6FVDDEflawgp+oVb2yPsXMAl8VEI5Ko7kCZgwwQkRHH55lf4tR G1AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698526120; x=1699130920; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YVLQjXVLKZfGCSGch/qGFr8re6qYrJR23uX27QZ5BbI=; b=v6G5rdHciNErBWVSnRVvztFMo7dPWRxVOeD7C069HkFSkOf83rfIatMPN2vKB0ZNDz 8c0I2t1MuMW0+byUe1yiNws9xC9wkLHXWvjX45WZ/Lc0NkgXpnMuTJkawBmdyTsnOI6Z /IiY6MHSYmDfvmQeY9vlcZO/Tq/l+827/4fxNzkXjYHdesSVSzofWTlgngH+ZlytPDgX gJ/oZo9MVnlZ1IDfeFAHdx0UBwYqOp1E3z1FdoWwoH/UYzJvjQT3V2VQz+tVX4Qh05k8 p8zgNz6nLZkuyWnQmzmcnfO1Z9my7NZVSuxG7D+7b6a2Cclpckv7YfJHJ1+QVySPpCHl GYlw== X-Gm-Message-State: AOJu0Yz8JOEJLIhMNbOx3rc9rVkVyk4BM6CfnKBCQvRuWwWcDvutlTqL C9kCQmVZo7Ge5f/Y/9s5FTWBwg== X-Received: by 2002:a05:6512:324a:b0:4fa:5e76:7ad4 with SMTP id c10-20020a056512324a00b004fa5e767ad4mr3946367lfr.10.1698526120201; Sat, 28 Oct 2023 13:48:40 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id n4-20020ac24904000000b0050300e013f3sm770940lfi.254.2023.10.28.13.48.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 13:48:39 -0700 (PDT) From: Linus Walleij Date: Sat, 28 Oct 2023 22:48:35 +0200 Subject: [PATCH net-next] net: xscale: Drop unused PHY number MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231028-ixp4xx-eth-id-v1-1-57be486d7f0f@linaro.org> X-B4-Tracking: v=1; b=H4sIAKJzPWUC/x2MSQqAMAwAv1JyNmCr4PIV8aA1ai61tEUC4t8NH odh5oFMiSnDaB5IdHPmKyjYyoA/l3AQ8qYMrnaNrV2PLLEVQSqnGuw2tw67Cut70CYm2ln+3wS BCgaSAvP7fp1i1YtpAAAA To: Krzysztof Halasa , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Howard Harte , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.4 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sat, 28 Oct 2023 13:48:53 -0700 (PDT) For some cargoculted reason on incomplete cleanup, we have a PHY number which refers to nothing and gives confusing messages about PHY 0 on all ports. Print the name of the actual PHY device instead. Reported-by: Howard Harte Signed-off-by: Linus Walleij --- drivers/net/ethernet/xscale/ixp4xx_eth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/xscale/ixp4xx_eth.c b/drivers/net/ethernet/xscale/ixp4xx_eth.c index 3b0c5f177447..711f2727fa33 100644 --- a/drivers/net/ethernet/xscale/ixp4xx_eth.c +++ b/drivers/net/ethernet/xscale/ixp4xx_eth.c @@ -154,7 +154,6 @@ typedef void buffer_t; /* Information about built-in Ethernet MAC interfaces */ struct eth_plat_info { - u8 phy; /* MII PHY ID, 0 - 31 */ u8 rxq; /* configurable, currently 0 - 31 only */ u8 txreadyq; u8 hwaddr[ETH_ALEN]; @@ -1520,7 +1519,7 @@ static int ixp4xx_eth_probe(struct platform_device *pdev) if ((err = register_netdev(ndev))) goto err_phy_dis; - netdev_info(ndev, "%s: MII PHY %i on %s\n", ndev->name, plat->phy, + netdev_info(ndev, "%s: MII PHY %s on %s\n", ndev->name, phydev_name(phydev), npe_name(port->npe)); return 0; --- base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d change-id: 20231028-ixp4xx-eth-id-7d2b9f1021c8 Best regards, -- Linus Walleij