From patchwork Sun Aug 1 00:27:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 490127 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:1185:0:0:0:0 with SMTP id f5csp671857jas; Sat, 31 Jul 2021 17:32:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJya/8hk/4rasNjJCab+EfAbJxOaVZGkN6Cjquz8FdZsUDi/IonG3h/vQycI0igmTSJJR2o4 X-Received: by 2002:aa7:cd18:: with SMTP id b24mr11213798edw.171.1627777929416; Sat, 31 Jul 2021 17:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627777929; cv=none; d=google.com; s=arc-20160816; b=otIBt9OWXGpf/02a8ydx2j5djo8Vm8S4/It8rQ6sDoZ1WRhXuIDO51HuGkYlrxSFfc oWXZ6A6tvEBqngcMHCCgpfPz+gBFrq46JO5gpcQ3WV3+X3K7iJY7uFDJFsbFxNLnKS4u wpY6605OCyVoFewYClpqFcKXt0IiuwB74kAJ/IpBro/d7pGDdf96aJd1Zl1s9IXF0/7i cEp7g9ZWY419dhH6VbzsloBL7WXgfalo1HdqQ037y68m09WGuK+Gny1Wh9UHwl0d8c3D NgYYHkd15eUch/K7IAo+p/3wZ7h0meuRDeBkDuVOnsfHGsRzZAazZSbmTnBxH5k3KNps c7tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XwiTSMLrZkuBiZd1olOJbf+y/nxUHybnrS+ax6rMLQ8=; b=Bm2GWPx7uCVIFqeGrtYKDPeZAALQm4Pm3zzBv8XM+oqAVkeVBK3WoKjO2l2DDU7r1v P89I0mz/bkx87VE0o3CmsrspAY5dT6v8hLo4lXtJzh+ODRIQYA6aW7uxOcqGEQtQOjzX Y9DN+sO+PF002moufyb9A/ZJGAFvSlJWb2L30Xjy5LsoDnHyb2wTiIvvVgJg1roKlVIm nXdRTZRRGB7wFFgiU5qtJxNhZp8LwddgpJ9kHSRSEwBVtGEVBgJuxCEssY+W6MR5HaT7 vOphPekW3002iCvoqSkwk2KhbGMbiM12YSMl03HRRVYpopgPkK7hUdgfO7LUpu4a06Si uiiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oRa3h4HP; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si6516397ejy.710.2021.07.31.17.32.09; Sat, 31 Jul 2021 17:32:09 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oRa3h4HP; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230196AbhHAAcM (ORCPT + 8 others); Sat, 31 Jul 2021 20:32:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbhHAAcG (ORCPT ); Sat, 31 Jul 2021 20:32:06 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFFEFC0613CF for ; Sat, 31 Jul 2021 17:31:58 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id b21so18650364ljo.13 for ; Sat, 31 Jul 2021 17:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XwiTSMLrZkuBiZd1olOJbf+y/nxUHybnrS+ax6rMLQ8=; b=oRa3h4HPdjP65j0kac0hidY3TLnoa3mWCeo5je5tvFSe1r8pNv0yZGO1aSJKgDzlCK YUGKt+Gl6lz8LaAM5BmvKwxKpZHB3uoguS926MseTUy9WdSsvVLR93a4EgSuTsAyflqC mthk/YyCXFN13ZcP/qQObOX00to2+zITu0dXq4vtcdc+hFGuVkSNqNiLT1g3jtUEa6o7 hVPMxKugWu4d1pgokA5Ka1JDaDBxyx33YaK4YLmB0GQZeQZodolUvrj0dvjCkKykSvX1 qmHXKvRFu5WfWxb0uzdvTa9mJhIf/HmVCbnb2TTti39nUs4NgkB53gIgIioIhI5aLet5 aSkQ== 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=XwiTSMLrZkuBiZd1olOJbf+y/nxUHybnrS+ax6rMLQ8=; b=CAv5M7vUJ41RPDhYYJNW6YYdwvyqH2BwwePhKK3WTPfFYjStOjc6ATRes3pecrs2lY 6/4x/Wb0WvQ9MaV8UzpDVwCml8tEp+MTR360UkIoVbHsLkg3VVIDeuicjaRr6xQPf6D1 jRrFmeexZVvC2jrR8Vo6Pl0LxX7sboaVE70gA/omazzIibYlLuHB0qJBTKrpIpmqPMgi SHMvpuV+dR70UParI1mZgFj0NNCC7m+pNLCuQ6B7R0DZxOVN9yHhZNOox8G1w13r99lc /JkSh39MmoHd8R1J3OItT1n9+LZR/cY/u/UlBeN65yL3egeQS17khSZVL70QaCmgdz3u 0gqg== X-Gm-Message-State: AOAM530c9/GjvNFyAlYF3V4kDcNqihZKhPT8xHDK1bD+4d5r5DgHcM9D 3FNaGOs9VsacvEvfciwSaBT0ygTubui63g== X-Received: by 2002:a2e:a555:: with SMTP id e21mr6924730ljn.238.1627777916941; Sat, 31 Jul 2021 17:31:56 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id r6sm485255ljk.76.2021.07.31.17.31.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Jul 2021 17:31:56 -0700 (PDT) From: Linus Walleij To: netdev@vger.kernel.org, "David S . Miller" , Jakub Kicinski Cc: Imre Kaloz , Krzysztof Halasa , Arnd Bergmann , Linus Walleij Subject: [PATCH net-next 3/6] ixp4xx_eth: enable compile testing Date: Sun, 1 Aug 2021 02:27:34 +0200 Message-Id: <20210801002737.3038741-4-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210801002737.3038741-1-linus.walleij@linaro.org> References: <20210801002737.3038741-1-linus.walleij@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Arnd Bergmann The driver is now independent of machine specific header files and should build on all architectures, so enable building with CONFIG_COMPILE_TEST. Signed-off-by: Arnd Bergmann Signed-off-by: Linus Walleij --- drivers/net/ethernet/xscale/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.31.1 diff --git a/drivers/net/ethernet/xscale/Kconfig b/drivers/net/ethernet/xscale/Kconfig index 0e878fa6e322..b93e88422a13 100644 --- a/drivers/net/ethernet/xscale/Kconfig +++ b/drivers/net/ethernet/xscale/Kconfig @@ -6,8 +6,8 @@ config NET_VENDOR_XSCALE bool "Intel XScale IXP devices" default y - depends on NET_VENDOR_INTEL && (ARM && ARCH_IXP4XX && \ - IXP4XX_NPE && IXP4XX_QMGR) + depends on NET_VENDOR_INTEL && IXP4XX_NPE && IXP4XX_QMGR + depends on ARCH_IXP4XX || COMPILE_TEST help If you have a network (Ethernet) card belonging to this class, say Y. @@ -20,7 +20,8 @@ if NET_VENDOR_XSCALE config IXP4XX_ETH tristate "Intel IXP4xx Ethernet support" - depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR + depends on IXP4XX_NPE && IXP4XX_QMGR + depends on ARCH_IXP4XX || COMPILE_TEST select PHYLIB select OF_MDIO if OF select NET_PTP_CLASSIFY