主题 : linux驱动 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 9203
精华: 0
发帖: 69
金钱: 590 两
威望: 265 点
综合积分: 138 分
注册时间: 2009-09-21
最后登录: 2010-03-26
楼主  发表于: 2009-11-21 10:48

 linux驱动

linux-2.6驱动程序  描述mini2440硬件头文件是那个的
有写书说是<asm/hardware.h>我看看好像没那个文件的,所有编译都有错误的
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-11-21 20:17
对于linux 2.6.2x或更新的内核来说, 硬件平台相关的头文件已经不再放在include/asm目录下了,大部分移到了arch/arm/mach-s3c2410/include/mach, arch/arm/plat-s3c24xx/include/mach和arch/arm/plat-s3c24xx/include/plat目录下。如果你的源代码是基于老的内核源代码,需要根据你使用的内核源代码目录架构调整。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."