文件名称:misc_add
介绍说明--下载内容均来自于网络,请自行研究使用
Linux混杂设备驱动编写方法
当字符设备以混杂设备的方式注册时,将会有统一的主设备号10,次设备号可以自定义也可以由系统指定,混杂设备的注册方式在驱动程序编写上,简化了字符设备的驱动注册及设备生成步骤,下面的程序描述了混杂设备接口函数的使用方式。
程序由二个文件组成,驱动模块<misc_add.c>及测试程序<misc_test.c>。-Linux device driver writing mixed methods
When a character device to promiscuous mode device registration, there will be a unified major number 10, minor device number can be customized by the system can also be specified in mixed mode device driver written registration, the simplified character device driver Registration and equipment, build steps, the following procedure describes the hybrid device interface function is used.
Program consists of two files, the driver module <misc_add.c> and test procedures <misc_test.c>.
当字符设备以混杂设备的方式注册时,将会有统一的主设备号10,次设备号可以自定义也可以由系统指定,混杂设备的注册方式在驱动程序编写上,简化了字符设备的驱动注册及设备生成步骤,下面的程序描述了混杂设备接口函数的使用方式。
程序由二个文件组成,驱动模块<misc_add.c>及测试程序<misc_test.c>。-Linux device driver writing mixed methods
When a character device to promiscuous mode device registration, there will be a unified major number 10, minor device number can be customized by the system can also be specified in mixed mode device driver written registration, the simplified character device driver Registration and equipment, build steps, the following procedure describes the hybrid device interface function is used.
Program consists of two files, the driver module <misc_add.c> and test procedures <misc_test.c>.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
misc_add.c
misc_test.c
misc_test.c