From patchwork Fri Nov 14 15:29:32 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Buesch X-Patchwork-Id: 8769 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 14DCEDDDF6 for ; Sat, 15 Nov 2008 02:33:59 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751598AbYKNPdy (ORCPT ); Fri, 14 Nov 2008 10:33:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751505AbYKNPdx (ORCPT ); Fri, 14 Nov 2008 10:33:53 -0500 Received: from bu3sch.de ([62.75.166.246]:57421 "EHLO vs166246.vserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbYKNPdx (ORCPT ); Fri, 14 Nov 2008 10:33:53 -0500 Received: from p5b09ed78.dip.t-dialin.net ([91.9.237.120] helo=powermac.local) by vs166246.vserver.de with esmtpa (Exim 4.63) (envelope-from ) id 1L10gA-0004EA-Sh; Fri, 14 Nov 2008 15:33:51 +0000 From: Michael Buesch To: stable@kernel.org Subject: [PATCH stable] r8169: Fix MII compilation error Date: Fri, 14 Nov 2008 16:29:32 +0100 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) Cc: Francois Romieu , netdev@vger.kernel.org MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200811141629.32474.mb@bu3sch.de> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This fixes a compilation error (undefined MII symbols), if CONFIG_MII is not selected. Signed-off-by: Michael Buesch --- This fix already is in Linus' tree and I think it's a -stable candidate, as I just hit the bug while trying to compile 2.6.27.6. Index: linux-2.6.27.6/drivers/net/Kconfig =================================================================== --- linux-2.6.27.6.orig/drivers/net/Kconfig 2008-11-14 17:34:43.000000000 +0100 +++ linux-2.6.27.6/drivers/net/Kconfig 2008-11-14 17:35:08.000000000 +0100 @@ -2046,6 +2046,7 @@ tristate "Realtek 8169 gigabit ethernet support" depends on PCI select CRC32 + select MII ---help--- Say Y here if you have a Realtek 8169 PCI Gigabit Ethernet adapter.