Commit Graph

14 Commits

Author SHA1 Message Date
rick.chan 798d67b956 增加 demo 代码.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-06-10 14:11:05 +08:00
ithink.chan fa54c0d6ed 增加描述内容.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-28 15:53:24 +08:00
ithink.chan a52eb313f6 修改参数名称为 position.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-28 15:48:32 +08:00
ithink.chan 8d435d912e misc 示例与 char 示例搞混了.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-28 14:46:23 +08:00
ithink.chan 2e4d588d92 删除多余的头文件.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-28 11:39:27 +08:00
ithink.chan ca1c3a6a63 为读操作增加测试代码.Signed-off-by: ithink.chan <chenyang@autoai.com> 2020-04-28 10:59:05 +08:00
ithink.chan 9ac7295276 字符设备支持单驱动多设备.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 18:15:28 +08:00
ithink.chan 7263d9ebd4 完善字符设备驱动参考.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 17:08:39 +08:00
ithink.chan fd2e512a16 消除 file_operations 编译错误.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 14:51:40 +08:00
ithink.chan 682f84b828 移动文件位置.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 14:18:20 +08:00
ithink.chan 92d8cb3339 按内核版本划分 Kernel Driver Demo 程序.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 11:46:39 +08:00
ithink.chan cdd4e95da0 增加字符设备参考(未完成).
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 11:45:57 +08:00
ithink.chan 80093e080e 增加和调整内容,包括:
增加注释;
修改宏名;
检测 IOCTL cmd 的合法性.

Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-27 11:12:46 +08:00
ithink.chan 8bb7a867e9 增加 misc driver demo.
Signed-off-by: ithink.chan <chenyang@autoai.com>
2020-04-08 17:00:51 +08:00