Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1261183imm; Tue, 15 May 2018 16:49:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqbIC+aPtJCaTuMlJLbHxrvHmRpQJpaACAg8/Ao2hinbOlYd6RAsDjuNzUBHwWrg0+q84Ly X-Received: by 2002:a17:902:8d81:: with SMTP id v1-v6mr15906071plo.383.1526428178086; Tue, 15 May 2018 16:49:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526428178; cv=none; d=google.com; s=arc-20160816; b=pxPjcyeoEBD97bkEa8KLeMOyT0t3iDmb/IxgyCKNoOo2+klKGejZdFLTeRhENI+5C2 s4dBPz/gv7Zr8p/w4Djn3ftgmRQ2IxCcfCYTvvcaBzxgEYtXQyCpbV4t5jTPvIZDnUiy OWrsGeHu9eKwCkMCwGVbmgqOrPZq4sOTrrF5GZWU2m2n0dtQAltTl1Wu4vIP+O1NNw/G TkpM9Wsw9v4eRHTdmHQ0pYp7Qa+Qz+aIMMbesaktUdbcqfDMSE+o6qu0nVUZGH6BpAhb RMiDBpk+GkeM9JlHHsvdBSiw+2oSmWQOprGoo3s7kwGmqBpeZaaATCCftaoz0Ip/RKH2 LhCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=a6PaC80d9FXhO7YUXsNq65galOR+yXBNwJJboCBUttg=; b=llsmiT9PlvL6P/+ViekT4zQKUk71RL8rMS/5YCPCfz56U19NxRCCJ9H+0hG1PjldkO 6PJ6mey46O2lsO70WT+6Pn22RBbSLTqLiDyDCWyYQsFYQP+1BOB46mB4B5cPf2Cx/g2I rPnbKvBSI4ZT+DChLT63F6DQpzjHBqcCCf18+/uYHn3nw7wfbR32+f92lT2VcUA186ku DcdlGNyzX9UvS9kp/cUoK8lAylN7iDqpVtM2b/yFyTsYyEsIyWjN1bGgGii1a/rm1aY4 UCUAbNcfpC9lvQxrsidEpKnGLU4X7HXqA5vq9Wit3nJLJdm2WrGjooeYJduoms6jwMF4 7E/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UV3tNGZS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s14-v6si1121402plp.589.2018.05.15.16.49.23; Tue, 15 May 2018 16:49:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UV3tNGZS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752431AbeEOXsi (ORCPT + 99 others); Tue, 15 May 2018 19:48:38 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:34052 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104AbeEOXsd (ORCPT ); Tue, 15 May 2018 19:48:33 -0400 Received: by mail-pl0-f66.google.com with SMTP id ay10-v6so982737plb.1; Tue, 15 May 2018 16:48:32 -0700 (PDT) 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; bh=a6PaC80d9FXhO7YUXsNq65galOR+yXBNwJJboCBUttg=; b=UV3tNGZSh9Ms1Ka72uxOyZ5ihicUOvUdeP3ui0H3E7RnM/za//QLEG5SZ0s9/iSc0g R6bESIW3iWbCEMigbxPRGPJvO+bk7GXJpYG0wN1YJA+LxNJaqZk3C28KJbx5m5LuPA4X dz/HhPVWx2hYJ42g5u+k5CkS9zAz1HzAL0zP+QSw4eF7XgRNGkfl97roywjZVkTnGxU8 +pwFit3ABgsASU9a/12TL6n/60GVOVzcKRCf9FbtwoLFMSKXYGGz4/LiHddxAKYM1u7F xVtpEJL9APSnqagr35Afvt3++qBNfuobmF/QDixQxAt2OtnPVx4wssc3vrc9/7APF3Kx e1Cw== 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; bh=a6PaC80d9FXhO7YUXsNq65galOR+yXBNwJJboCBUttg=; b=TFnH4n4Y5fUXYSGDJxAiodOlYkf4vw5xECHv68RqE65y0lqki56oXnz1kUDyXeAVRF dlzq0fcQ6j3NadNWeZzMrSo/T2IJ/OCSpdsHYREL8UmxYWzD/WV/Nb6d6eS9NmTDRoOU yKUxCFRamPP92LgXDlL/JGZ3fH57tSOlnr8P6j6dAHENX2iS3aL24cUbL02Tbf8jln+6 mKegoYxUlQWOKTwiPm6TkvpOPM3zgfQO422OnlMHrNMDYt8iPuXIFiquEsyODaEfSyqI hkX5CTULBl5Q2g5qz7VOBxr3lzZ5E9iFZ2B2yxG9rbT4eYuznkWulv/9yCEoFuhJVQUt jI9A== X-Gm-Message-State: ALKqPwfSGugIH4foBSEMXyjlcFEYMAkD86H924BhZLIQZYtAJ0Gkz+AO 92r/ZHGCzE8+NmKN/jYph6ra3Olc X-Received: by 2002:a17:902:e8:: with SMTP id a95-v6mr16536605pla.274.1526428111685; Tue, 15 May 2018 16:48:31 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id 184-v6sm1398638pfg.89.2018.05.15.16.48.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 May 2018 16:48:30 -0700 (PDT) From: Florian Fainelli To: netdev@vger.kernel.org Cc: Florian Fainelli , "David S. Miller" , Andrew Lunn , linux-kernel@vger.kernel.org (open list) Subject: [PATCH net-next 1/3] net: ethernet: ti: Allow most drivers with COMPILE_TEST Date: Tue, 15 May 2018 16:48:23 -0700 Message-Id: <20180515234825.11240-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180515234825.11240-1-f.fainelli@gmail.com> References: <20180515234825.11240-1-f.fainelli@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Most of the TI drivers build just fine with COMPILE_TEST, cpmac (AR7) is the exception because it uses a header file from arch/mips/include/asm/mach-ar7/ar7.h. Signed-off-by: Florian Fainelli --- drivers/net/ethernet/ti/Kconfig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig index 48a541eb0af2..1f8626999ac6 100644 --- a/drivers/net/ethernet/ti/Kconfig +++ b/drivers/net/ethernet/ti/Kconfig @@ -18,7 +18,7 @@ if NET_VENDOR_TI config TI_DAVINCI_EMAC tristate "TI DaVinci EMAC Support" - depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) + depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST select TI_DAVINCI_MDIO select TI_DAVINCI_CPDMA select PHYLIB @@ -30,7 +30,7 @@ config TI_DAVINCI_EMAC config TI_DAVINCI_MDIO tristate "TI DaVinci MDIO Support" - depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE + depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST select PHYLIB ---help--- This driver supports TI's DaVinci MDIO module. @@ -40,7 +40,7 @@ config TI_DAVINCI_MDIO config TI_DAVINCI_CPDMA tristate "TI DaVinci CPDMA Support" - depends on ARCH_DAVINCI || ARCH_OMAP2PLUS + depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST ---help--- This driver supports TI's DaVinci CPDMA dma engine. @@ -60,7 +60,7 @@ config TI_CPSW_ALE config TI_CPSW tristate "TI CPSW Switch Support" - depends on ARCH_DAVINCI || ARCH_OMAP2PLUS + depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST select TI_DAVINCI_CPDMA select TI_DAVINCI_MDIO select TI_CPSW_PHY_SEL @@ -75,7 +75,7 @@ config TI_CPSW config TI_CPTS bool "TI Common Platform Time Sync (CPTS) Support" - depends on TI_CPSW || TI_KEYSTONE_NETCP + depends on TI_CPSW || TI_KEYSTONE_NETCP || COMPILE_TEST depends on POSIX_TIMERS ---help--- This driver supports the Common Platform Time Sync unit of @@ -95,8 +95,8 @@ config TI_KEYSTONE_NETCP tristate "TI Keystone NETCP Core Support" select TI_CPSW_ALE select TI_DAVINCI_MDIO - depends on OF - depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS + depends on OF && KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS || \ + COMPILE_TEST ---help--- This driver supports TI's Keystone NETCP Core. -- 2.14.1