首页 | 本学科首页   官方微博 | 高级检索  
     

VxWorks系统下的RTL8139驱动程序改进
引用本文:蔡卫平,张怡典. VxWorks系统下的RTL8139驱动程序改进[J]. 电子工程师, 2006, 32(5): 56-58
作者姓名:蔡卫平  张怡典
作者单位:九江职业技术学院,江西省九江市,332007
摘    要:RTL8139是目前应用最为广泛的以太网控制器之一,在嵌入式系统中,常用做通信网口,这要求其驱动程序稳定性好,效率高。Realtek公司在其网页上提供了基于VxW orks系统的RTL8139驱动源程序,但在不同的硬件平台上,为提高驱动程序的稳定性和效率,需要修改源程序。RTL8139因其FIFO较小,收发数据包又采用完全拷贝方式,在网络突发数据包较多的情况下,容易丢包,且不能自行恢复。基于MPC8241 CPU的硬件平台,详细讨论了RTL8139收发数据包流程容易中断的原因,提出了一种改进RTL8139驱动的方法。

关 键 词:VxWorks  RTL8139  以太网控制器  驱动程序
收稿时间:2005-10-14
修稿时间:2005-12-30

An Improved RTL8139 Driver in VxWorks
CAI Wei-ping,ZHANG Yi-dian. An Improved RTL8139 Driver in VxWorks[J]. Electronic Engineer, 2006, 32(5): 56-58
Authors:CAI Wei-ping  ZHANG Yi-dian
Abstract:The Realtek RTL8139 is a Fast Ethernet Controller widely used in communication equipment.In embedded system,it is frequently used as network interface card.It is necessary to provide a high efficient and robust driver.The driver source code based on VxWorks can be down loaded from the web of Realtek semiconductor Corp,but it needs modification according to hardware environment.RTL8139 contains only 2K-byte receive(Rx) and transmit(Tx) FIFOs.Moreover,it must copy an entire packet into the corresponding buffer,in both Rx and Tx.If there are too many burst packets in a network,RTL8139 will lose packets in large number ant,it can't recover.Basing on the MPC8241 CPU platform,the cause of losing packets is discussed in this paper,and an improved RTL8139 Ethernet network interface driver is suggested.
Keywords:VxWorks  RTL8139  fast ethernet controller  driver program
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号