想编写PCI串口驱动程序 [英] Want to write PCI serial driver

查看:147
本文介绍了想编写PCI串口驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是Linux设备驱动程序的初学者。我想编写与串行(8250)驱动程序相关的PCI卡驱动程序。

- I想要学习从开始编写代码。

- 为此我需要像char驱动程序一样的示例驱动程序代码。

请提供示例PCI-serial驱动程序代码并通知我应该是什么我读了吗?

谢谢。

Hi,
I'm beginner in Linux device driver.I want to write driver for PCI card which is related to serial(8250) driver.
- I want to learn to write code from begining.
- For that i need sample driver code like char driver.
Please provide sample PCI-serial driver code and inform me what should i read?
Thanks.

推荐答案

谷歌是你的朋友: http://lxr.free-electrons.com/source/drivers/tty/serial/8250/8250_pci.c [ ^ ]
Google is your friend : http://lxr.free-electrons.com/source/drivers/tty/serial/8250/8250_pci.c[^]


这篇关于想编写PCI串口驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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