From patchwork Fri Oct 16 13:36:19 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Haskins X-Patchwork-Id: 36212 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 4B60EB7BB9 for ; Sat, 17 Oct 2009 00:48:37 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932406AbZJPNhq (ORCPT ); Fri, 16 Oct 2009 09:37:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757583AbZJPNhH (ORCPT ); Fri, 16 Oct 2009 09:37:07 -0400 Received: from victor.provo.novell.com ([137.65.250.26]:60929 "EHLO victor.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751329AbZJPNhE (ORCPT ); Fri, 16 Oct 2009 09:37:04 -0400 Received: from dev.haskins.net (prv-ext-foundry1int.gns.novell.com [137.65.251.240]) by victor.provo.novell.com with ESMTP (TLS encrypted); Fri, 16 Oct 2009 07:36:21 -0600 Received: from dev.haskins.net (localhost [127.0.0.1]) by dev.haskins.net (Postfix) with ESMTP id 11BE7464281; Fri, 16 Oct 2009 09:36:19 -0400 (EDT) From: Gregory Haskins Subject: [PATCH 1/2] net: fix vbus-enet Kconfig dependencies To: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, alacrityvm-devel@lists.sourceforge.net Date: Fri, 16 Oct 2009 09:36:19 -0400 Message-ID: <20091016133618.13423.38066.stgit@dev.haskins.net> In-Reply-To: <20091016133411.13423.36106.stgit@dev.haskins.net> References: <20091016133411.13423.36106.stgit@dev.haskins.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org We currently select VBUS_PROXY when vbus-enet is enabled, which is the wrong direction. Not all platforms will define VBUS-PROXY, and venet depends on its inclusion. Therefore, lets fix vbus-enet to properly depend on the presence of VBUS_PROXY to get this right. Signed-off-by: Gregory Haskins --- drivers/net/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 47dfa04..c9128ea 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -3233,7 +3233,7 @@ config VIRTIO_NET config VBUS_ENET tristate "VBUS Ethernet Driver" default n - select VBUS_PROXY + depends on VBUS_PROXY help A virtualized 802.x network device based on the VBUS "virtual-ethernet" interface. It can be used with any