Re: [gentoo-user] How to tie module name to Kernel CONFIG

2008-12-12 Thread Roland Puntaier
Return Receipt
   
   Your   Re: [gentoo-user]  How to tie module name to Kernel CONFIG   
   document:   
   
   wasroland.punta...@br-automation.com
   received
   by: 
   
   at:12.12.2008 15:40:44  
   




Re: [gentoo-user] How to tie module name to Kernel CONFIG

2008-12-10 Thread kyle . bader
Its a tigon 3 broadcom nic if that helps, I can get the .config line once I 
beat traffic
Sent via BlackBerry from T-Mobile

-Original Message-
From:  Harry Putnam <[EMAIL PROTECTED]>

Date:  Wed, 10 Dec 2008 14:56:30 
To: 
Subject: [gentoo-user]  How to tie module name to Kernel CONFIG


Summary:
How can I tie a module name (tg3) to a kernel config line?

Details:
Usually its kind of obvious if you dig around in .config a bit, but
now always.

I find the module at /lib/modules/2.6.24*/:
../kernel/drivers/net/tg3.ko

But I haven't been able to nail that to a kernel config line.

Searches inside menuconfig on TG3 turn up nothing.

grep -i tg3 of the .config file find nothing.  I'm pretty sure it
located between

  `# Protocols'
  (line 1139)

   and 

  `# Wireless'
  (line 1327)
  
I'm sure it could be different in different .config files but those
two section headings should be there... maybe not on those line
numbers.

It is a section that covers many of the network drivers

After scanning there I still am not sure where tg3 comes from or what
it is.




Re: [gentoo-user] How to tie module name to Kernel CONFIG

2008-12-10 Thread Alan McKinnon
On Wednesday 10 December 2008 22:56:30 Harry Putnam wrote:
> Summary:
> How can I tie a module name (tg3) to a kernel config line?
>
> Details:
> Usually its kind of obvious if you dig around in .config a bit, but
> now always.
>
> I find the module at /lib/modules/2.6.24*/:
> ../kernel/drivers/net/tg3.ko
>
> But I haven't been able to nail that to a kernel config line.

Short answer: TIGON3

Long answer:

You need to study voodoo and sacrifice a virgin at full moon to be able to 
find that out reliably. I can't, so I use google, which sometimes works :-)  
I'm also sure someone somewhere must have made a cross-reference list, but I 
haven't found it despite much search. Yes, this is what I would calle a major 
shortcoming in the kernel code. 

There's also the search function in menuconfig invoked with "/", which in this 
case doesn't help at all as tg3 doesn't show up.

But help is at hand! 
The .config option you are looking for is CONFIG_TIGON3
My last notebook had one of those and I searched for ages before spotting one 
day that "t", "g" and "3" all appeared in "TIGON3".

Sorry that I couldn't help with the more general question, at least you got an 
answer for the more specific case.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] How to tie module name to Kernel CONFIG

2008-12-10 Thread Harry Putnam
Summary:
How can I tie a module name (tg3) to a kernel config line?

Details:
Usually its kind of obvious if you dig around in .config a bit, but
now always.

I find the module at /lib/modules/2.6.24*/:
../kernel/drivers/net/tg3.ko

But I haven't been able to nail that to a kernel config line.

Searches inside menuconfig on TG3 turn up nothing.

grep -i tg3 of the .config file find nothing.  I'm pretty sure it
located between

  `# Protocols'
  (line 1139)

   and 

  `# Wireless'
  (line 1327)
  
I'm sure it could be different in different .config files but those
two section headings should be there... maybe not on those line
numbers.

It is a section that covers many of the network drivers

After scanning there I still am not sure where tg3 comes from or what
it is.