Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754136AbZAFJjJ (ORCPT ); Tue, 6 Jan 2009 04:39:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751934AbZAFJiz (ORCPT ); Tue, 6 Jan 2009 04:38:55 -0500 Received: from e28smtp02.in.ibm.com ([59.145.155.2]:53427 "EHLO e28smtp02.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751904AbZAFJiy (ORCPT ); Tue, 6 Jan 2009 04:38:54 -0500 Date: Tue, 6 Jan 2009 15:08:47 +0530 From: Kamalesh Babulal To: Sam Ravnborg Cc: Milton Miller , linux-ppc , Stephen Rothwell , linux-kernel Subject: Re: [PATCH] 2.6.28-git4 - powerpc - drivers build fails with !CONFIG_VIOPATH Message-ID: <20090106093847.GB5066@linux.vnet.ibm.com> Reply-To: Kamalesh Babulal References: <5414eaef99b7392a95f6e3488b81dbf7@bga.com> <20090104182441.GA5086@linux.vnet.ibm.com> <98d6aef17cba9d835d7866745f811dc7@bga.com> <20090106072549.GA5066@linux.vnet.ibm.com> <20090106073149.GA12371@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20090106073149.GA12371@uranus.ravnborg.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4102 Lines: 124 * Sam Ravnborg [2009-01-06 08:31:49]: > > > > Sorry for resending the patch before taking care of the response. Resending > > the patch with changes made to other three drivers also. > > > > Impact: Fix the VIOPATH dependency in the iSeries dependent drivers. > > > > iSeries depend drivers build fails, when CONFIG_VIOPATH is disabled. > > Removing the dependency of VIOPATH by selecting it, when the drivers > > dependent on iSeries code. > > > > > > Signed-off-by: Kamalesh Babulal > > --- > > arch/powerpc/platforms/iseries/Kconfig | 5 ++++- > > drivers/char/Kconfig | 1 + > > drivers/scsi/Kconfig | 1 + > > 3 files changed, 6 insertions(+), 1 deletions(-) > > > > diff --git a/arch/powerpc/platforms/iseries/Kconfig b/arch/powerpc/platforms/iseries/Kconfig > > index ed3753d..5cb2320 100644 > > --- a/arch/powerpc/platforms/iseries/Kconfig > > +++ b/arch/powerpc/platforms/iseries/Kconfig > > @@ -10,18 +10,21 @@ menu "iSeries device drivers" > > config VIODASD > > VIOPATH is set using select so the "depends on" is effectively ignored. > If you think you need the "depends on" then you need to revisit the > symbol that will select VIOPATH and make sure _they_ have this dependency. > > Sam Hi Sam, VIOPATH is used only by the PPC_ISERIES code. The symbols selecting the VIOPATH are also dependent on the PPC_ISERIES. Should we make the config VIOPATH as default n, because it being selected the dependent drivers. Impact: Fix the VIOPATH dependency in the iSeries dependent drivers. iSeries depend drivers build fails, when CONFIG_VIOPATH is disabled. Removing the dependency of VIOPATH by selecting it, when the drivers dependent on iSeries code. Signed-off-by: Kamalesh Babulal --- arch/powerpc/platforms/iseries/Kconfig | 6 ++++-- drivers/char/Kconfig | 1 + drivers/scsi/Kconfig | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/iseries/Kconfig b/arch/powerpc/platforms/iseries/Kconfig index ed3753d..fd524cd 100644 --- a/arch/powerpc/platforms/iseries/Kconfig +++ b/arch/powerpc/platforms/iseries/Kconfig @@ -10,18 +10,21 @@ menu "iSeries device drivers" config VIODASD tristate "iSeries Virtual I/O disk support" depends on BLOCK + select VIOPATH help If you are running on an iSeries system and you want to use virtual disks created and managed by OS/400, say Y. config VIOCD tristate "iSeries Virtual I/O CD support" + select VIOPATH help If you are running Linux on an IBM iSeries system and you want to read a CD drive owned by OS/400, say Y here. config VIOTAPE tristate "iSeries Virtual Tape Support" + select VIOPATH help If you are running Linux on an iSeries system and you want Linux to read and/or write a tape drive owned by OS/400, say Y here. @@ -30,5 +33,4 @@ endmenu config VIOPATH bool - depends on VIODASD || VIOCD || VIOTAPE || ISERIES_VETH - default y + default n diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 1697043..b8da09a 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -616,6 +616,7 @@ config HVC_ISERIES default y select HVC_DRIVER select HVC_IRQ + select VIOPATH help iSeries machines support a hypervisor virtual console. diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index b732297..256c7be 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -884,6 +884,7 @@ config SCSI_IBMVSCSI tristate "IBM Virtual SCSI support" depends on PPC_PSERIES || PPC_ISERIES select SCSI_SRP_ATTRS + select VIOPATH if PPC_ISERIES help This is the IBM POWER Virtual SCSI Client -- Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/