From patchwork Thu Oct 14 01:12:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 252061 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9E4697R003013 for ; Thu, 14 Oct 2010 04:06:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750753Ab0JNEEZ (ORCPT ); Thu, 14 Oct 2010 00:04:25 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:48678 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075Ab0JNEEX (ORCPT ); Thu, 14 Oct 2010 00:04:23 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o9E43fD0008768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 14 Oct 2010 04:03:42 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o9DJPcpg017342; Thu, 14 Oct 2010 04:03:40 GMT Received: from abhmt010.oracle.com by acsmt355.oracle.com with ESMTP id 682147691287028934; Wed, 13 Oct 2010 21:02:14 -0700 Received: from chimera.site (/173.50.240.230) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 13 Oct 2010 21:02:13 -0700 Date: Wed, 13 Oct 2010 18:12:53 -0700 From: Randy Dunlap To: lkml , netdev , akpm Cc: linux-rdma@vger.kernel.org, Roland Dreier , Sean Hefty , Hal Rosenstock Subject: [PATCH -next] infiniband: fix mlx4 kconfig dependency warning Message-Id: <20101013181253.f3f5cd6f.randy.dunlap@oracle.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 14 Oct 2010 04:06:09 +0000 (UTC) --- linux-next-20101013.orig/drivers/infiniband/hw/mlx4/Kconfig +++ linux-next-20101013/drivers/infiniband/hw/mlx4/Kconfig @@ -1,5 +1,6 @@ config MLX4_INFINIBAND tristate "Mellanox ConnectX HCA support" + depends on NETDEVICES && NETDEV_10000 && PCI select MLX4_CORE ---help--- This driver provides low-level InfiniBand support for