The Linux kernel supports the insertion of modules (aka device drivers) in two ways:
- Built-in kernel modules . When the kernel boots, the kernel automatically inserts this driver into the kernel (it looks more like it is already part of the kernel code).
- (LKM). , ,
insmod driver.ko modprobe driver.ko
, . , , . , , , (rmmod driver.ko modprobe -r driver.ko), . , - , .
:
, .config :
DRIVER_1=y
DRIVER_1=m
: lsmod dynamically loaded modules built-in.
: http://www.tldp.org/HOWTO/Module-HOWTO/x73.html