From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Murzin Subject: Re: [PATCH v2] pch_gbe: fix unmet direct dependency on PTP_1588_CLOCK_PCH Date: Tue, 10 Sep 2013 05:12:44 +0200 Message-ID: <20130910031241.GA3979@hp530> References: <1378780396-3694-1-git-send-email-murzin.v@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Cc: davem@davemloft.net, ben@decadent.org.uk, jeffrey.t.kirsher@intel.com, rdunlap@infradead.org, haicheng.lee@gmail.com To: netdev@vger.kernel.org Return-path: Received: from mail-la0-f44.google.com ([209.85.215.44]:59902 "EHLO mail-la0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752468Ab3IJDNY (ORCPT ); Mon, 9 Sep 2013 23:13:24 -0400 Received: by mail-la0-f44.google.com with SMTP id eo20so5647075lab.17 for ; Mon, 09 Sep 2013 20:13:21 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1378780396-3694-1-git-send-email-murzin.v@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Sep 10, 2013 at 04:33:16AM +0200, Vladimir Murzin wrote: > While cross-building for PPC. > > warning: (PCH_GBE) selects PTP_1588_CLOCK_PCH which has unmet direct > dependencies (X86 || COMPILE_TEST) > > Both PCH_GBE and PPT_1588_CLOCK_PCH is only compatible with Intel > architecture. Add dependency on x86 for PCH_GBE. Keep COMPILE_TEST to allow > building on different arches. > > Signed-off-by: Vladimir Murzin > --- > v1->v2: > - s/x86/X86 (pointed by Randy) > > drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig > index cb22341..4a935ec 100644 > --- a/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig > +++ b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig > @@ -4,7 +4,7 @@ > > config PCH_GBE > tristate "OKI SEMICONDUCTOR IOH(ML7223/ML7831) GbE" > - depends on PCI > + depends on PCI && (X86 || COMPILE_TEST) > select MII > select PTP_1588_CLOCK_PCH > ---help--- > -- > 1.8.1.5 > Please, ignore it. It's already fixed by f0e6160 "net: pch_gbe depends on x86". Sorry for the noise. Vladimir