From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753959AbYL2VB7 (ORCPT ); Mon, 29 Dec 2008 16:01:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753632AbYL2VBj (ORCPT ); Mon, 29 Dec 2008 16:01:39 -0500 Received: from acsinet11.oracle.com ([141.146.126.233]:40031 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753580AbYL2VBh (ORCPT ); Mon, 29 Dec 2008 16:01:37 -0500 Date: Mon, 29 Dec 2008 13:01:10 -0800 From: Randy Dunlap To: Stephen Rothwell , kxie@chelsio.com, akpm Cc: linux-next@vger.kernel.org, LKML , scsi , jejb Subject: [PATCH -next] cxgb3i: use same dependencies as CHELSIO_T3 Message-Id: <20081229130110.67d5271a.randy.dunlap@oracle.com> In-Reply-To: <20081230031621.60acd90b.sfr@canb.auug.org.au> References: <20081230031621.60acd90b.sfr@canb.auug.org.au> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.6.0 (GTK+ 2.12.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Source-IP: acsmt706.oracle.com [141.146.40.84] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A09020B.49593A9B.0303:SCFSTAT928724,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Make the CXGB iSCSI driver (that selects the CXGB net driver) have the same dependencies as the net driver, since kconfig doesn't do that automatically. drivers/net/cxgb3/cxgb3_main.c:269: error: implicit declaration of function 'pci_disable_msix' drivers/net/cxgb3/cxgb3_main.c:272: error: implicit declaration of function 'pci_disable_msi' drivers/net/cxgb3/cxgb3_main.c:2778: error: array type has incomplete element type drivers/net/cxgb3/cxgb3_main.c:2781: warning: type defaults to 'int' in declaration of 'type name' drivers/net/cxgb3/cxgb3_main.c:2781: warning: type defaults to 'int' in declaration of 'type name' drivers/net/cxgb3/cxgb3_main.c:2781: error: size of array 'type name' is negative drivers/net/cxgb3/cxgb3_main.c:2784: error: implicit declaration of function 'pci_enable_msix' drivers/net/cxgb3/cxgb3_main.c:2784: warning: type defaults to 'int' in declaration of 'type name' drivers/net/cxgb3/cxgb3_main.c:2784: warning: type defaults to 'int' in declaration of 'type name' drivers/net/cxgb3/cxgb3_main.c:2784: error: size of array 'type name' is negative drivers/net/cxgb3/cxgb3_main.c:2786: warning: type defaults to 'int' in declaration of 'type name' drivers/net/cxgb3/cxgb3_main.c:2786: warning: type defaults to 'int' in declaration of 'type name' drivers/net/cxgb3/cxgb3_main.c:2786: error: size of array 'type name' is negative drivers/net/cxgb3/cxgb3_main.c:2778: warning: unused variable 'entries' drivers/net/cxgb3/cxgb3_main.c:3011: error: implicit declaration of function 'pci_enable_msi' Signed-off-by: Randy Dunlap --- drivers/scsi/cxgb3i/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20081229.orig/drivers/scsi/cxgb3i/Kconfig +++ linux-next-20081229/drivers/scsi/cxgb3i/Kconfig @@ -1,5 +1,6 @@ config SCSI_CXGB3_ISCSI tristate "Chelsio S3xx iSCSI support" + depends on PCI && INET select CHELSIO_T3 select SCSI_ISCSI_ATTRS ---help---