[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to compile tg3 from apt-get source package linux-2.6?



hello:

I got the kernel source by command apt-get source linux-2.6, I got the files:
drwxr-xr-x 22 zhaoyi zhaoyi     4096 2009-08-05 02:04 linux-2.6-2.6.26
-rw-r--r--  1 zhaoyi zhaoyi  7379386 2009-07-27 03:55 linux-2.6_2.6.26-17lenny1.diff.gz
-rw-r--r--  1 zhaoyi zhaoyi     5777 2009-07-27 03:55 linux-2.6_2.6.26-17lenny1.dsc
-rw-r--r--  1 zhaoyi zhaoyi 61818969 2009-03-14 00:40 linux-2.6_2.6.26.orig.tar.gz

But, I can't find tg3 option from "make menuconfig", I have found infomation from /usr/src/linux_2_6_26/drivers/net/Kconfig:
> config TIGON3
>        tristate "Broadcom Tigon3 support"
>        depends on BROKEN
>        depends on PCI

I think this module is broken.

my question is that:
1. Do I need to apply patch linux-2.6_2.6.26-17lenny1.diff.gz again manually?
2. how could I build tg3 into kernel when I do kernel compile?
3. I have got another souce by "apt-get install linux-source-2.6.26", but, I can build tg3 from this source code, what is the different between this tow source which is got by apt-get install and apt-get source, the version is different??

tkanks very much!


Reply to: