Re: kernel module configuration
On Sat, May 14, 2005 at 03:23:53PM -0700, Cheng Jin wrote: Hi, Is there a way to compile only kernel modules that one needs like with Linux's configuration file? I included only the drivers I need in the kernel config file, but all the modules got compiled anyway. :( I looked around both in the kernel config dir and google, but didn't find anything that would allow me to select which kernel modules to compile. See the make.conf manpage. Kris pgp71eR5VJrDi.pgp Description: PGP signature
Re: kernel module configuration
On 2004-08-15 18:04, Hanspeter Roth [EMAIL PROTECTED] wrote: in the kernel configuration one can enable various devices by the respective 'device' statement. It seems that most drivers go into the kernel directly. Some drivers such as 'acpi' produce a kernel module. How is determined which modules become built in and which become modules? If you don't include something in the kernel it's built as a module. Can I have 'ohci' as a kernel module? I haven't tried. I don't know for sure. - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kernel module configuration
Hanspeter Roth [EMAIL PROTECTED] wrote: Hello, in the kernel configuration one can enable various devices by the respective 'device' statement. It seems that most drivers go into the kernel directly. Some drivers such as 'acpi' produce a kernel module. How is determined which modules become built in and which become modules? By the config file. If you enable the module in the config, it is built into the kernel, otherwise a kld is generated. Can I have 'ohci' as a kernel module? Whether or not a specific feature is capable of operating as a kernel module or built in is specific to that feature. Some work very well in either capacity (the FAT filesystem drivers for example) others don't really work compiled into the kernel (vinum) and many others _must_ be compiled into the kernel for them to work correctly (ISA and PCI support, I believe) I don't know specifically about ohci, but the man page for ohci would be the first place to check. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]