论文部分内容阅读
文中根据嵌入式Linux下以太网设备驱动的设计架构和编程要点,给出了网络驱动设计方案,并结合具体的硬件环境完成了网络驱动程序的编写。为了提高程序代码的可重用性和可移植性,该方案将网络驱动程序分离为硬件接口层和软件层,软件层屏蔽了底层硬件的特性,从而可以在保证设备驱动程序质量的基础上,降低开发难度,提高开发速度。
According to the design framework and programming essentials of Ethernet device driver in embedded Linux, this paper gives the network driver design scheme, and completes the compilation of network driver with the specific hardware environment. In order to improve the reusability and portability of the program code, the program separates the network driver into the hardware interface layer and the software layer, and the software layer shields the characteristics of the underlying hardware so as to reduce the quality of the device driver Development difficulty, improve development speed.