【Roger】linux下PCI9054驱…

豆豆和宝宝都回家了,我一个人闲的真的快疯了。前几天跑到学校一趟,老师问我有认识会做linux驱动的人没,我一冲动说我就可以,老师一听就激动了,刚好有快pci的板子,要做驱动,让我帮忙做一下。我应下,还没等我思考,boss来了句话——这事是没有“米”。OS:次奥,没有米!唉,没办法,谁让我应了!不过对我自己确实是一个挑战,我之前虽然有接触过linux驱动,说实话我自学的不少,但是真的没有实践过,好吧,那就在重走一遍青春!挑战自我一把!

我是豁出去了,工欲善其事,必先利其器!回家我就把台式机的硬盘整理,准备装linux。万事开头真的很难!windows换linux其实比想象中麻烦,到处查资料怎么装系统,终于折腾了2、3天,ubuntu10.04装好了!太不容易了!

板子还没到手,先做两件事:1 熟悉linux和vim  2 熟悉原来pcie板子的驱动程序(pci和pcie是软件兼容的,依稀记得好像是pcie在配置空间有一些扩展)。

 

豆豆说我干些没米的事情还这么带劲,我心里闪了一个数字2出来。我是不是2了?不过面对挑战我心里那种欲望还是控制不住!ok,谁让我是Roger!我就是要确定我能做到!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
PCI8系列 PCI9系列 PCI9054 linux驱动程序 PLX SDK Samples ================================================================ ABOUT This document provides a brief description of the samples included in the PLX SDK. Please refer to the source code in each sample & the PLX SDK User's Manual for additional details. The PLX samples are intended to demonstrate use of the PLX API. The samples are not intended for debug or real world applications, although they can be extended to complex applications. They should be treated as a reference for writing custom software that utilizes the PLX API. Not all samples work with all PLX devices. The PLX API supports numerous PLX chip families in PCI/PCIe, including 6000-series PCI-to-PCI bridges, 9000-series PCI-to-Local bus bridges, & 8000-series PCI/PCIe bridges & switches. Some samples are provided only for specific chip families. SAMPLES - ApiTest Simple application that calls various PLX APIs for a selected device & verifies return codes & parameters. The API calls made depend upon the type of device selected. - DSlave Demonstrates how to read/write from a PLX 9000 PCI BAR space using the PLX API/driver to perform the data transer. This operation is often referred to as "Direct Slave". - DSlave_BypassApi Similar to the 'DSlave' sample, except this sample uses the PLX API only to map a PCI BAR space directly to the application's virtual space. The application can then directly access the space via simple memory dereferencing, bypassing the PLX API/driver & resulting in greater performance, especially for small transfers. The application is responsible for initializing the BAR space, such as setup of translation/remap registers. - LocalToPciInt [9000-series & 8311] Demonstrates how to wait for a generic Local-to-PCI interrupt using the PLX Notification API. - NT_DmaTest [8000-series switches with DMA & NT support] Demonstrates using the DMA engine in a PLX 8000 switch to transfer data through a PLX
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值