Quote:
ld list the modules you want automatically loaded in /etc/modules.autoload.d/kernel-2.4 (or kernel-2.6). You can add extra options to the modules too if you want.
To view all available modules, run the following find command. Don't forget to substitute "<kernel version>" with the version of the kernel you just compiled:
Code Listing 27: Viewing all available modules
# find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'
For instance, to automatically load the 3c59x.o module, edit the kernel-2.4 or kernel-2.6 file and enter the module name in it.
Code Listing 28: Editing /etc/modules.autoload.d/kernel-2.4
(Example for 2.4 kernels)
# nano -w /etc/modules.autoload.d/kernel-2.4
Code Listing 29: /etc/modules.autoload.d/kernel-2.4 or kernel-2.6
3c59x