From patchwork Fri Aug 13 22:00:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 496579 Delivered-To: patch@linaro.org Received: by 2002:a02:cf8a:0:0:0:0:0 with SMTP id w10csp973737jar; Fri, 13 Aug 2021 15:02:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxl3lm05ohZ92FJ+VWUpnrVhVODsfc+KrdTyDOxK56GWowWMLZ9Oy9uldo7elgbYevPxNs5 X-Received: by 2002:a17:906:a98e:: with SMTP id jr14mr4587399ejb.450.1628892162711; Fri, 13 Aug 2021 15:02:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628892162; cv=none; d=google.com; s=arc-20160816; b=lZMJdkR55UzQ4pGoOy9CcXw4nu5QVHrgC7H3Yd6uT3+nG0+I0Ty4lbVt0zVvz1WxNq EQ95S8Mwi6dMT+rwgSsi9TZ4OGxfL4EWrXj2tR1nfaeYPFcX8dwPkrIEZYYHTIi+kDZi nvqk2EYPRlMH4rlzBe+ISgJ5nS+4qy2EHV90FY6cf03YPETQLeolFMxs6CO/nuMckU2+ qaLa8ICc4njwAX6nteObvqYJv8yKr2u3htPmRdGQ3lFE6lMYdLmftlcBzEGScRBRF2NC 9+e7yoqwcfnmwrwwRvmsD6SHlH33S3KcWeTX05E6DPWqkgbPOnaoBqxYvPpD1PdGqq8l aYqA== 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=PJ0GC5mYER8hgXnXG/YFJYaGr3Upp+oUpHSQBA/Ae7wmbQuFEzSruMkTp1SUW03xRd i8nnXJK8HYUn30xs44yLFpkk4YymafSdIwtanh5AFNoIpOhWfbEeung5bU7kVO7Mu/f/ JskuyZdWEDUvCgDeMscFQFEcmNEztLSgK/isLhy7Vm2fRN9I6PBr87xNYAmrKsBBB46I G/RxpdcgWcujIrTkMCkN9U1OM8mEVKatKJ9EeLiuBPSk/LeQ8sHJaIXrx93WcCtTa0tQ 6tjAcyB577R7MKQ4+ADSNAYNr1eUJO4t0/PwL/TitiWNXXkHaq5YLFJOKw7M+/XG2WOP v6dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FVvLdWHg; 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 s18si3299982eji.591.2021.08.13.15.02.42; Fri, 13 Aug 2021 15:02:42 -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=FVvLdWHg; 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 S235210AbhHMWDI (ORCPT + 8 others); Fri, 13 Aug 2021 18:03:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235172AbhHMWDH (ORCPT ); Fri, 13 Aug 2021 18:03:07 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28643C061756 for ; Fri, 13 Aug 2021 15:02:40 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id n6so17664154ljp.9 for ; Fri, 13 Aug 2021 15:02:40 -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=FVvLdWHg1BJXQya3T61vQkPb+D2GERvdd8JZMxz0oOcjGxuG7B8q6DABA/wmAVL8EA XHdMUW9Rfuan2qILdIGML8DLx41X6krzeT3ZaXheCXRYs38W34bobEO6WBs0QmV7ZVLk 0F0/i0mMY95mEDREiHlJ5pD/iEYJwMGfVU0uoIpA1m2ZTMjPuiP8/4+nuufCXkdj6d2A V2OVXJ1PnWMjAFsF21uPP3mTQ0I6N+fIlLH8lH03Ev1wR8dHUUKYBmuK0ezUcBzy0h1W mfiScCHeEGtAScxgB/ohLML1N7InjkVn4zJzcAJ5QWIxG6x5ggouf0NUAByNwm8PE0+m B3XA== 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=FF0xXTyLMt6R3y0AJFILEMlU2rSFXs7WPoj8ljPru2uEggCelvkNl8JJj1BWCvP4OY f9+IAIKSnN2rMlCp/vHB3HLSf13ANidP6YG+k3/o0eVzak4TNHNIDb0AgrDPEno8IWTB xa2rJB10N/240y/PrcJIj73PwOfFYYGBIN6j8Se8L1dKI0qvLYQpG+lgR2NjHRlyQ6hD jYIB32L3XXhmv/vwNu9TKCjmFfA3OFr9/We9Y9vMj3eOnfilXnTNhQ0rZdHjC+DsQumK 0b6dsVMmVWz77wMpdyU+mp9rWw+ORGKd3hUtMpyJYTasCIYQHqJv+2cQJ9gI6rv1lWQY 6H9A== X-Gm-Message-State: AOAM531rDsQL0/naERpa2yK+qTkpT/n9WG9dH+CyXrgGvzhljfVusokl D9g3fM5cHT0h/BKUS1dKV/6ilFJYP58JUw== X-Received: by 2002:a2e:8688:: with SMTP id l8mr3264380lji.157.1628892158399; Fri, 13 Aug 2021 15:02:38 -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 s17sm274912ljp.61.2021.08.13.15.02.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 15:02:38 -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 v2] ixp4xx_eth: enable compile testing Date: Sat, 14 Aug 2021 00:00:08 +0200 Message-Id: <20210813220011.921211-4-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210813220011.921211-1-linus.walleij@linaro.org> References: <20210813220011.921211-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