Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Peeve - finding kernel config options
Date: Thu, 27 Feb 2014 19:48:20
Message-Id: 530F966C.2090402@gmail.com
In Reply to: [gentoo-user] Re: Peeve - finding kernel config options by Grant Edwards
1 On 27/02/2014 20:32, Grant Edwards wrote:
2 > On 2014-02-27, Grant Edwards <grant.b.edwards@×××××.com> wrote:
3 >> On 2014-02-27, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
4 >>
5 >>> make menuconfig
6 >>> press "/"
7 >>> type CONFIG_FHANDLE
8 >>> press enter
9 >>> profit!!!
10 >>>
11 >>> [Note the lack of ??? in the list]
12 >>>
13 >>> works like searching in vi or less
14 >>
15 >> The issue I occasionally have with that is that it only tells you the
16 >> name of the CONFIG_ variable. It doesn't tell you what the menu entry
17 >> is.
18 >
19 > Doh! I was wrong. It _does_ show it. It just doesn't show it where
20 > I've been looking for it to be for the past 20 years:
21 >
22 > Symbol: E1000 [=n]
23 > Type : tristate
24 >>>> Prompt: Intel(R) PRO/1000 Gigabit Ethernet support
25 > Location:
26 > -> Device Drivers
27 > -> Network device support (NETDEVICES [=y])
28 > -> Ethernet driver support (ETHERNET [=y])
29 > (2) -> Intel devices (NET_VENDOR_INTEL [=y])
30 > Defined at drivers/net/ethernet/intel/Kconfig:47
31 > Depends on: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_INTEL [=y] && PCI [=y]
32 >
33 > The bottom level menu entry is shown at the _top_ rather than where I
34 > always expected the bottom level to be shown (at the bottom):
35 >
36 > Symbol: E1000 [=n]
37 > Type : tristate
38 > Location:
39 > -> Device Drivers
40 > -> Network device support (NETDEVICES [=y])
41 > -> Ethernet driver support (ETHERNET [=y])
42 > (2) -> Intel devices (NET_VENDOR_INTEL [=y])
43 >>>> -> Intel(R) PRO/1000 Gigabit Ethernet support
44 > Defined at drivers/net/ethernet/intel/Kconfig:47
45 > Depends on: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_INTEL [=y] && PCI [=y]
46 >
47 > How embarassing...
48
49 Don't worry too much about it, you're in excellent company. Another 6
50 old timers had the same <doh> moment higher up in the thread :-)
51
52 looks like we're all having a "mea culpa" day here in gentoo-land!
53
54
55 --
56 Alan McKinnon
57 alan.mckinnon@×××××.com