摘要
主要研究了基于Linux内核的网卡驱动的移植。Linux网络设备驱动程序的体系结构可以分为4层,首先分析了各层的具体功能实现,并在此基础上充分利用S3C2440开发板完成DM9000网卡驱动的移植,编译内核生成内核镜像。最后介绍了网络驱动测试的三种方法 ,并采用第一种方法,即使用ifconfig进行IP地址的设置,完成了测试。
This paper mainly studies the transplantation of network driver based on the Linux kernel. The architecture of Linux network device driver can be divided into four layers. Firstly, this paper analyzes the specific function implementation of each layer. And on this basis, it completes the transplantation of DM9000 network driver by making full use of the S3C2440 development board. Then it compiles the kernel to generate the kernel image. Finally, it introduces three methods of network drive test, and chooses the first one which uses command ifconfig to set IP address to finish the test.
出处
《微型机与应用》
2014年第22期57-59,共3页
Microcomputer & Its Applications