Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3699996imm; Thu, 17 May 2018 13:08:48 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqnilM4AmIovXCub5osSKJcoB8/ngBGl0Gs0bYDY7gHpMt6PoYmW2B2hN6wjBeQOb73A5jM X-Received: by 2002:a65:6510:: with SMTP id x16-v6mr5195941pgv.204.1526587728788; Thu, 17 May 2018 13:08:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526587728; cv=none; d=google.com; s=arc-20160816; b=K2x1/6f2fw4BdQCIzWKrZbpTfF4AbV/RkAyAv7MY1CHYSNFbF6TGr0NklLIuwh+dh+ +7vhJfYFzVaQqzp7fZQtwTrTGSPch5BEGHkwvQMEkducKGjcLwD7PHVM6K+8PKGLF0/r fsXEr2Fe+fZNf2sGnd5FnBZKBtMe4/6v5Cpu7HXd3BDkvRXo145YIobxKLK1b6XPjGml O7PbG20Nv1YZ6n7rnZpTlPQPpLW/caFxLlYwECoxEVTXvEBqz7LlGFvzxEY3Tdj8JiHv berSswaBmoft//2wibwoGUcP8GHMOPQwoQQa1tZJ3fsP9oz9i1LVmJrSc2GqU/bBDNYX MsXA== 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=EiOy8WXgIJF1KjKvpv3mgrtbCfeFhDchH4fgH/al/A0=; b=pluSLpP9KrochgGsVRsq23P/jH1a072QyJ8GHQ75UevRGIsMvRC/0YvIYIHLnUGgyF ZRHthr2hrMMWTtixGYYmvsmu25UEJMHiqh/m4b4ltUbk7zbg+Gzhmw5LrgxUFGFVS/8N p/91WjAqpC6q73yGAgQiOxBvFJ7SXj4RO08J5spHBDEz9VYODlG5sWkt43aNDdqhaB2q zr9GkBZdD1n5Pe/E2f7MoytRNnFt7RRRlqZbn+B27KRJIfKWGRNCn/vmDj55jM63lUOJ nIC/vkRDtfn+E/ppUG/TM/YNStyMqM96x4Q+DISWIJ5Bt0wkBYY60AE9X5mu4oQwzRXv /XJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rqa11Cpz; 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 81-v6si5694073pfl.295.2018.05.17.13.08.34; Thu, 17 May 2018 13:08:48 -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=rqa11Cpz; 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 S1752226AbeEQUHy (ORCPT + 99 others); Thu, 17 May 2018 16:07:54 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34100 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751530AbeEQUHv (ORCPT ); Thu, 17 May 2018 16:07:51 -0400 Received: by mail-pf0-f195.google.com with SMTP id a14-v6so2612387pfi.1; Thu, 17 May 2018 13:07:51 -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=EiOy8WXgIJF1KjKvpv3mgrtbCfeFhDchH4fgH/al/A0=; b=rqa11Cpz+DBcnQkjgeQKSs19kEGW9WaWEenFbQd1b0A0ko9kVmxGXXTJj6F9RWIQNV LES4oSz9H3qeh3u25e3xLgk70BL/j8s0fw/CbyM/JcrliWCESTVgcgfFdg5smBZJIMJ/ IxoxTCju9WuDU98YlSPyIBui2IQwPp2RT5atjrOEDPVD4lPrbrtCwaVci3/huS8FUJ9a Ilc6ohYn2IPaQId+Z4Td+Tobr/Kn8maVJDzCYUZbSVJDS1EISe+SnqUDuoUfM3UzuBL2 6PDnWTW7brhYcOS2d3SRq/4l9DzN14QaskqOV6RJl12L7sO55tzbPw8M2jV77W5t0lBw 2xbQ== 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=EiOy8WXgIJF1KjKvpv3mgrtbCfeFhDchH4fgH/al/A0=; b=TJo4Qh+ZRK8YIzFFnnMbzmg/Wk0eOcAf5hs0d+URWdZp8NYU4zMi/pL79mOx7REvsD 5xm5CFZVYANdTGqhhegQOBW6DStHPygRektNjx7e7hqfmLcGplnxALRCCU7VatbqWRvw 4ipUIQJ+84lYlldUvHZeSsBFkCmdnPwKAiwr+8y9fFDReJyWZM5U9rveZQw1xJkOL6fa s31EYG9uHN2h7E6MPtDeKPAls/2Xq4t4FLSVq6NJtuHqvRGp8zb7HpvUDQo36XBSzUoS XWItE5o33yl7YL4axTbK14KTxKXWmidgwwWK/t5Y+fdiQbNkOtUcChREz9zhKbHKOxNT 82KA== X-Gm-Message-State: ALKqPwddVyGR/mp9yRGQjCmFVE05J73QLluWnQJWUeUhHKOErTxH1yy8 sOCb2c5cje3vooO+bvHNO+ffXPri X-Received: by 2002:a62:22db:: with SMTP id p88-v6mr6428988pfj.239.1526587670620; Thu, 17 May 2018 13:07:50 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id i1-v6sm10855485pfj.83.2018.05.17.13.07.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 May 2018 13:07:49 -0700 (PDT) From: Florian Fainelli To: netdev@vger.kernel.org Cc: fugang.duan@nxp.com, Florian Fainelli , "David S. Miller" , Andrew Lunn , linux-kernel@vger.kernel.org (open list) Subject: [PATCH net-next v3 1/3] net: ethernet: ti: Allow most drivers with COMPILE_TEST Date: Thu, 17 May 2018 13:07:43 -0700 Message-Id: <20180517200745.19142-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180517200745.19142-1-f.fainelli@gmail.com> References: <20180517200745.19142-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 and keystone netcp which requires help from drivers/soc/ti/ for queue management helpers. Signed-off-by: Florian Fainelli --- drivers/net/ethernet/ti/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig index 48a541eb0af2..9263d638bd6d 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 -- 2.14.1