Gentoo Archives: gentoo-kernel

From: Andrey Vul <andrey.vul@×××××.com>
To: gentoo-kernel@l.g.o
Subject: [gentoo-kernel] Patch for 2.6.27-r3; needed for r8169 to compile
Date: Sat, 22 Nov 2008 03:42:26
Message-Id: e38d12ff0811211942q6b2dd7fewa80328db7f8df200@mail.gmail.com
1 Greetings, gentoo-sources maintainers!
2
3 The following patch fixes ERROR: "mii_ethtool_gset"
4 [drivers/net/r8169.ko] undefined!
5 Please add this to the -r3 patchset if possible (otherwise -r3 and -r4
6 for 2.6.27.6 is excessive).
7
8 From LKML:
9
10 Hi,
11
12 The r8169 module needs the MII hardware support library.
13
14 Here is a patch for the drivers/net/Kconfig
15
16 Jean.
17
18
19 diff -uNr linux-2.6.27.6.orig/drivers/net/Kconfig
20 linux-2.6.27.6/drivers/net/Kconfig
21 --- linux-2.6.27.6.orig/drivers/net/Kconfig 2008-11-13
22 12:56:21.000000000 -0500
23 +++ linux-2.6.27.6/drivers/net/Kconfig 2008-11-18 12:24:46.000000000 -0500
24 @@ -2046,6 +2046,7 @@
25 tristate "Realtek 8169 gigabit ethernet support"
26 depends on PCI
27 select CRC32
28 + select MII
29 ---help---
30 Say Y here if you have a Realtek 8169 PCI Gigabit Ethernet adapter.
31
32
33
34
35
36 --
37 Andrey Vul
38
39 A: Because it messes up the order in which people normally read text.
40 Q: Why is top-posting such a bad thing?
41 A: Top-posting.
42 Q: What is the most annoying thing in e-mail?