Message ID | 20210314051510.26628-6-bmeng.cn@gmail.com |
---|---|
State | Superseded |
Delegated to: | Priyanka Jain |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Dzmqm4Wk; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DynpK3ycXz9sRR for <incoming@patchwork.ozlabs.org>; Sun, 14 Mar 2021 16:16:25 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E479382886; Sun, 14 Mar 2021 06:15:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Dzmqm4Wk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E19882886; Sun, 14 Mar 2021 06:15:42 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 93E0882879 for <u-boot@lists.denx.de>; Sun, 14 Mar 2021 06:15:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pl1-x62e.google.com with SMTP id f8so237818plg.10 for <u-boot@lists.denx.de>; Sat, 13 Mar 2021 21:15: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=tfBc5S+030mhhJ6nyq+s6ESztXYzmxR5YOGahX9rVug=; b=Dzmqm4Wka2BsuT7eUm+Hpuq9XhU6mW7JHVAUeEQbC5zdMVQU49elpDM3z0PRdkssCh pWLRJMQfTPR48tUK5t1Lu8OoOAv5FfbcRJMnEqPnHbfKExsZGgBIR+iTUijZjyCMdx6f DYI44V3Tg7wAnO+eDYLRG2ZkKAT4s797PnrDYEyFeBpsj3fXLpiu6APc7dOPSEfIoLng GXbrn+czeDJYo59HFj63oCzLyXO+6UVskIerWoL/ue+eTc4/Ch/Do8ao+DLQ7XWyuE9b 7da1cMVu1woebwhq+61hkdAfQ+KifAF5TQ3ERYoQuav2OoP0UZe9yYo/qDMldJ5hiQHG m3LA== 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=tfBc5S+030mhhJ6nyq+s6ESztXYzmxR5YOGahX9rVug=; b=FsSZBVDisg/4CZuy7Em74rjDZGwLQEj7Y/OzdJ88vcbkyJwUT01oJSXaQJNI8M9KNs /m7KJ227LAzbiTeBb2X/r2O8+qnP+gdVnmuWuIaTSlpYSHpaDQGWRfFRUca8DegGrfUL 9vOxD5N4cbvjJokByHzo8OmsQ1uXa0uI+H4eAVwiPS1s5DxlhtIHGqNGJM5kVJJfRzKx dy4D2uiDeFhh+hfEV8tIFAtl47yBgYr2R5ee3Q+qa/Q43mdxKPl7fXGbzyOWF0FKg7JN Q5SfQ8VueeniS7PayO1Wyta2gaW4rt1tWCL1GGjtCnze81U/CFHQkcHsZfnTgEG7gsiP /5xA== X-Gm-Message-State: AOAM531o6fKxPyGRxnXtg/t03VEn/aDPKKeBqCpW7FTlI/6sA1GlHIMu CWYrXbkLYL9AEVizdaAdpHM= X-Google-Smtp-Source: ABdhPJyXyXZOAD6IDjUqTdOzKgR94xcgJ1k6Ugm4fu7uNB0nC+SQyZ/LM3xnRcsnxgsgtVlg7n6lzA== X-Received: by 2002:a17:90a:d507:: with SMTP id t7mr6644156pju.54.1615698938176; Sat, 13 Mar 2021 21:15:38 -0800 (PST) Received: from i9-aorus-gtx1080.localdomain (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id 186sm10497309pfb.143.2021.03.13.21.15.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Mar 2021 21:15:37 -0800 (PST) From: Bin Meng <bmeng.cn@gmail.com> To: Priyanka Jain <priyanka.jain@nxp.com>, Ramon Fried <rfried.dev@gmail.com>, Simon Glass <sjg@chromium.org>, u-boot@lists.denx.de Cc: Tom Rini <trini@konsulko.com>, Vladimir Oltean <vladimir.oltean@nxp.com>, Bin Meng <bmeng.cn@gmail.com> Subject: [PATCH v3 05/22] net: phy: fixed: Drop #ifdef CONFIG_DM_ETH around phy_connect_fixed Date: Sun, 14 Mar 2021 13:14:53 +0800 Message-Id: <20210314051510.26628-6-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210314051510.26628-1-bmeng.cn@gmail.com> References: <20210314051510.26628-1-bmeng.cn@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
ppc: qemu: Add eTSEC support
|
expand
|
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 2feb559bba..eae40cc0d6 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -1012,15 +1012,9 @@ struct phy_device *fixed_phy_create(ofnode node) return phydev; } -#ifdef CONFIG_DM_ETH static struct phy_device *phy_connect_fixed(struct mii_dev *bus, struct udevice *dev, phy_interface_t interface) -#else -static struct phy_device *phy_connect_fixed(struct mii_dev *bus, - struct eth_device *dev, - phy_interface_t interface) -#endif { ofnode node = dev_ofnode(dev), subnode; struct phy_device *phydev;