有关在内核3.x上进行设备驱动程序编程的文档 [英] Documentation about device driver programming on kernel 3.x

查看:84
本文介绍了有关在内核3.x上进行设备驱动程序编程的文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些家庭作业,应该在内核3.x上对虚拟设备驱动程序进行编程.您能建议有关它的一些文档吗?我正在使用fedora btw. 我知道有很多教程,但是2.x和3.x之间有一些区别.

I have some homework which I should program a virtual device driver on kernel 3.x Can you suggest some documentation about it? I'm using fedora btw. I know there are lots of tutorials, but there is some difference between 2.x and 3.x.

推荐答案

最后一个2.6.x系列内核和3.x系列之间没有重大区别.这是一个任意的区别.

There is no major difference between the last 2.6.x series kernel and the 3.x series. It's an arbitrary distinction.

Linux设备驱动程序的参考资料恰当地命名为 Linux设备驱动程序.它有些过时了(基于2.6.10),但是仍然是一个很好的指南. Martinez Javier 的GitHub上的过时示例要少一些.

The reference work for Linux device drivers is the aptly named Linux Device Drivers. It's somewhat out of date (being based on 2.6.10), but still a good guide. There are slightly less out-of-date examples on Martinez Javiers GitHub.

当然,最终的指南是代码本身.无论您做什么,都必须经常引用该代码.阅读代码是一项非常宝贵的技能,您应该尽可能多地练习.

Of course, the ultimate guide is the code itself. Regardless of what you do you will have to refer to the code frequently. Code reading is an incredibly valuable skill, and you should practice it as much as possible.

这篇关于有关在内核3.x上进行设备驱动程序编程的文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆