摘要
设备驱动是Linux系统的重要组成部分,也是硬件和应用软件之间的纽带,而网络设备更是设备间通信的重要方式之一,所以设计网络驱动有着重要的意义。论文在分析Linux网络驱动程序体系结构的基础上,利用Linux2.6.32.2内核在S3C2440开发板上移植编写DM9000网卡驱动程序的实例,重点讨论了嵌入式网络驱动程序的实现原理,并详细分析了程序代码的框架结构。设计的网卡接口电路与程序最终实现了驱动的目的,使得DM9000网卡能够正常工作,并且可以应用到多种嵌入式设备当中。
The device driver is an important part of Linux system,but also the link between hardware and application software,and network equipment is one of the important ways of communication between devices,so the design of network driver has important significance.Based on analysing of the Linux network driver architecture,using Linux2.6.32.2 kernel on S3C2440 development board transplant write DM9000 card driver instance,the implementation principle of the embedded network driver programe is discussed and the framework structure of the program code is analysed in detail.Design of interface circuit and program finally achieve the purpose of driving,makes the DM9000 card to work properly,and can be applied to a variety of embedded equipment.
出处
《计算机与数字工程》
2013年第2期304-306,共3页
Computer & Digital Engineering
基金
陕西省国际科技合作重点项目(编号:2012KW-12)
陕西省教育厅产业化培育项目(编号:2011JG16)资助