First page Back Continue Last page Overview Graphics
New driver in kernel sources (1)
To add a new driver to the kernel sources:
Add your new source file to the appropriate source directory.
Single file drivers in the common case, even if the file is several thousand lines of code. Only really big drivers are split in several files or have their own directory.
Describe the configuration interface for your new driver
by adding the following lines to the Kconfig file in this directory:
tristate "USB Navman GPS device"
depends on USB_SERIAL
To compile this driver as a module, choose M here: the
module will be called navman.