Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758126AbZADMMU (ORCPT ); Sun, 4 Jan 2009 07:12:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750855AbZADMMM (ORCPT ); Sun, 4 Jan 2009 07:12:12 -0500 Received: from chilli.pcug.org.au ([203.10.76.44]:36643 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbZADMML (ORCPT ); Sun, 4 Jan 2009 07:12:11 -0500 Date: Sun, 4 Jan 2009 23:12:02 +1100 From: Stephen Rothwell To: Milton Miller Cc: Kamalesh Babulal , linux-ppc , linux-kernel Subject: Re: [PATCH] 2.6.28-git4 - powerpc - drivers build fails with !CONFIG_VIOPATH Message-Id: <20090104231202.239c824a.sfr@canb.auug.org.au> In-Reply-To: <5414eaef99b7392a95f6e3488b81dbf7@bga.com> References: <5414eaef99b7392a95f6e3488b81dbf7@bga.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sun__4_Jan_2009_23_12_02_+1100_sS0_ddx+6veNp2Sv" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1870 Lines: 61 --Signature=_Sun__4_Jan_2009_23_12_02_+1100_sS0_ddx+6veNp2Sv Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Milton, On Sun, 4 Jan 2009 02:54:15 -0600 Milton Miller wrote: > > As VIOPATH is iSeries code and is only used by the iSeries code, the=20 > requirment should be >=20 > depends on PPC_PSERIES || (PPC_ISERIES && VIOPATH) >=20 > except VIOPATH isn't selectable: >=20 > arch/powerpc/platforms/iseries/Kconfig: >=20 > config VIOPATH > bool > depends on VIODASD || VIOCD || VIOTAPE || ISERIES_VETH > default y >=20 > so instead we should be adding >=20 > select VIOPATH if PPC_ISERIES >=20 > to SCSI_IBMVSCSI and just >=20 > select VIOPATH >=20 > to HVC_ISERIES as it depends on PPC_ISERIES >=20 > otherwise you have to enable one driver to get these other drivers. You are completely correct. We didn't have "select" when those drivers were added (at least I was not aware of it) so they should all be changed to select VIOPATH and the dependency in VIOPATH should be dropped. This so= rt of thing is exactly what select is for. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Sun__4_Jan_2009_23_12_02_+1100_sS0_ddx+6veNp2Sv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAklgp5IACgkQjjKRsyhoI8w07QCgvfGCyOEUTdDPbJYB02ZJfKHi yM8AmwR2ghlGqAbHtPL62M+89F9+DB0R =kgnN -----END PGP SIGNATURE----- --Signature=_Sun__4_Jan_2009_23_12_02_+1100_sS0_ddx+6veNp2Sv-- -- 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/