文件名称:misc_add
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.35kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.