Patchwork [stable] r8169: Fix MII compilation error

login
register
mail settings
Submitter Michael Buesch
Date Nov. 14, 2008, 3:29 p.m.
Message ID <200811141629.32474.mb@bu3sch.de>
Download mbox | patch
Permalink /patch/8769/
State Accepted
Delegated to: David Miller
Headers show

Comments

Michael Buesch - Nov. 14, 2008, 3:29 p.m.
This fixes a compilation error (undefined MII symbols), if
CONFIG_MII is not selected.

Signed-off-by: Michael Buesch <mb@bu3sch.de>

---

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.
Greg KH - Nov. 15, 2008, 5:07 a.m.
On Fri, Nov 14, 2008 at 04:29:32PM +0100, Michael Buesch wrote:
> This fixes a compilation error (undefined MII symbols), if
> CONFIG_MII is not selected.
> 
> Signed-off-by: Michael Buesch <mb@bu3sch.de>
> 
> ---
> 
> 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.

Thanks, I just added commit b73724921d906 to the queue instead.

greg k-h
--
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

Patch

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.