我想把我的Intel处理器下的PCI数据采集卡驱动程序移植到PowerPC上,我使用的Linux-2.4.20:1、我需要注意什么问题?2、程序需要改变码?
回复(10) 2004-09-03 16:58 来自版块 - LINUX&UNIX核心开发
表情
fwzfwz1当然要改,片子都不一样。(2004-10-19 21:12)
yfttyyes, it has been set with a value. And I have the answer for IBM's guru. thx though. I will put it after ;) cause I didn't p...(2004-10-13 22:10)
lsshao建议,你先看看bar0是不是已经被赋值?!看看bios有没有对第一个基地址寄存器初始化????!(2004-10-13 20:27)
yfttyyes, yes, but it crash every time I access the attached map space. :( :mad: Thanks for your reply. /yftty www.unix-driver.org (2004-10-13 10:55)
lsshao你可以利用PCI设备的ID和Version号,来获得访问PCI设备的软对象。利用该软对象,就可以访问得到相应的端口范围,然后注册该端口范围,并将其映射到虚拟内存上去!这样就可以访问了!!!!!!!!!! :)(2004-10-13 09:54)
yfttyhttp://bbs.chinaunix.net/forum/9/20041006/419527.html can you tell me how you get the io_addr to do the BUS I/O. I get it from BAR0, b...(2004-10-12 12:48)
lsshao本人做过PPC8265A的PCI驱动!遇到了以下几个问题: 1)字节顺序 2)访问PPC处理器内部寄存器(PCI寄存器要用汇编语言) 3)在Intel环境下,进行交叉编译,很有可能基地址有问题。因此在安装过程中出错。 4)在PPC中运行,很有可能中断服务程序不能正确调用,...(2004-09-09 20:23)
yfttywhy not take the ppc kerncode to your hand, and compare to your own intel kernel code, such as a same pci device driver, then you can figure...(2004-09-08 13:00)
start我没有powerpc的环境,但是需要知道可能出现的问题,因为我需要去客户哪儿现场调试,我想预先知道一些这方面的错误,能说具体点吗?(2004-09-08 11:15)
yfttyIntel is little endian, and PowerPC is big endian. Notice it. And then recompile the driver on PPC to see the warning & errors, then ...(2004-09-06 16:51)

返回顶部