From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] bnx2i/cnic: kconfig interactions Date: Thu, 18 Jun 2009 09:55:17 -0700 Message-ID: <4A3A7175.8080006@oracle.com> References: <20090618145949.d933719a.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from acsinet11.oracle.com ([141.146.126.233]:36347 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755458AbZFRQ6r (ORCPT ); Thu, 18 Jun 2009 12:58:47 -0400 In-Reply-To: <20090618145949.d933719a.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: linux-next@vger.kernel.org, LKML , Sam Ravnborg , Anil Veerabhadrappa , Michael Chan , scsi , James Bottomley From: Randy Dunlap NETDEVICES + NETDEV_1000 need to be enabled so that kconfig will check those branches for selects and enforce "select UIO" under CNIC. Otherwise the build fails with: ERROR: "uio_unregister_device" [drivers/net/cnic.ko] undefined! ERROR: "uio_event_notify" [drivers/net/cnic.ko] undefined! ERROR: "__uio_register_device" [drivers/net/cnic.ko] undefined! Signed-off-by: Randy Dunlap Cc: Sam Ravnborg Cc: Anil Veerabhadrappa Cc: Michael Chan --- drivers/scsi/bnx2i/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- linux-next-20090618.orig/drivers/scsi/bnx2i/Kconfig +++ linux-next-20090618/drivers/scsi/bnx2i/Kconfig @@ -1,6 +1,8 @@ config SCSI_BNX2_ISCSI tristate "Broadcom NetXtreme II iSCSI support" select SCSI_ISCSI_ATTRS + select NETDEVICES + select NETDEV_1000 select CNIC depends on PCI ---help--- -- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/