[quote=“kingofl337, post: 12809, member: 6032”]Does anyone know how DaveO incorporated the 8161 driver into the kernel? I’d like to learn how for future use.
All the examples I’ve found are to build a module, instead of incorporating it into the kernel image.[/quote]
Found some notes on how we did it. I will just paste them here. It has been a long time since this was done so hopefully these still help. Looks like you will need to find a new location to download the add-alx-next-20120228 patch.
Compile kernel with ar8161 support
$ cd /usr/src
$ wget [B][url]http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.5.4.tar.bz2[/url][/B]
$ sudo tar -xf linux-3.5.4.tar.bz2
$ cd linux-3.5.4
$ wget [B][url]http://bombadil.infradead.org/~mcgrof/2012/02/28/add-alx-next-20120228.patch[/url][/B]
$ sudo patch -p1 < add-alx-next-20120228.patch
$ sudo cp /opt/fog-setup/fog_0.32/kernel/kitchensink.config .config
$ sudo make menuconfig
Enable alx driver: Device Drivers > Network device support > Ethernet driver support > Atheros ALX Gigabit Ethernet support
$ sudo make bzImage
Resources used:
[B][url]http://www.gossamer-threads.com/lists/linux/kernel/1513700[/url][/B]
[B][url]http://forums.gentoo.org/viewtopic-t-931478.html[/url][/B]