摘要
文中根据嵌入式Linux下以太网设备驱动的设计架构和编程要点,给出了网络驱动设计方案,并结合具体的硬件环境完成了网络驱动程序的编写。为了提高程序代码的可重用性和可移植性,该方案将网络驱动程序分离为硬件接口层和软件层,软件层屏蔽了底层硬件的特性,从而可以在保证设备驱动程序质量的基础上,降低开发难度,提高开发速度。
This paper presents the design of network driver, which is based on the design framework and programming essentials of ethernet device driver in embedded Linux. The network driver is completed according to the specific hardware environment. To improve reusability and portability of the program code, this project separates the network driver into hardware interface layer from and software layer. The software layer is not tied to any specific hardware, so network device driver with good quality could be developed easily and quickly.
出处
《通信技术》
2009年第9期145-147,共3页
Communications Technology
基金
国家自然科学基金资助项目(60574098)