------kernel modules that need to be recognized in Linux-based production drive processes

Source: Internet
Author: User

Change of Ⅰ and drive

Linux kernel source version before 2.4, the driver is to directly define a Xx.ko, and then the Linux system insmod this personality module can be loaded into the kernel, you can drive their own code, only one: driver. C

Linux kernel version after 2.6, an advanced Linux model was introduced:

1. Linux Device bus---------------------------------------------------

| |

| |

2, equipment 3, drive

Ⅱ, (. ko)----------drive modules and kernel modules

  

Xx.ko >>> kernel module, but not necessarily the driver module-----Drive module must be a kernel module, that is, the kernel module does not necessarily have a driver function.

  

The difference between a kernel module and a drive module:

Same point: Kernel modules are executed inside the kernel, and the driver is the same

Different points: The kernel module is not necessarily powered by the drive device

and the drive module is used to drive the device

  

------kernel modules that need to be recognized in Linux-based production drive processes

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.