摘要
以S3C2440为硬件平台,Linux2.6为软件平台,搭建Arm-Linux环境,以网络设备CS8900的驱动程序为例,分析设备结构,研究并实现了Arm-Linux网络设备的工作原理和关键技术、驱动程序结构的重要组成部分(设备注册、初始化、模块卸载、设备方法)。另外,介绍了有关中断的处理,最终提供了一种网络接口标准。
In this paper,we buid Arm-Linux envireonment using the Linux 2.6 as the software platform, SC2440 microprocessor as the hardware platform. Then,we take CS8900 network device driver as example, analyzing the Linux network driver structure, researching and realizing the working principle and key technologies of Arm-Linux network device, making out several important parts of general network driver structure ,which include the device registration, Initializing each device, module unloading, the device methods (open, stop, sending and receiving). In addition, interruption is introduced to explain the process of receiving information. Finally we provide a network interface standard,based on Ethernet.
出处
《电脑开发与应用》
2012年第4期50-53,共4页
Computer Development & Applications
基金
山西省回国留学人员科研基金资助项目(No.2011-028)