SPI_drv_8260

所属分类:Linux/Unix编程
开发工具:C/C++
文件大小:40KB
下载次数:144
上传日期:2005-10-20 14:10:32
上 传 者liaoyuewang
说明:  一个非常有用的SPI驱动程序,是在LINUX平台下的,但也可以一直到其他平台
(a very useful SPI drivers, the Linux platform, but could also have been to other platforms)

文件列表:
cpm_spi.h.bak (3533, 2004-11-30)
immap_8260.h (8420, 2004-12-02)
immap_8260.h.bak (8403, 2004-10-15)
immap_cpm2.h (10703, 2004-12-06)
Makefile (537, 2004-11-30)
commproc[1].c (4356, 2004-12-01)
commproc[1].h (25477, 2004-12-01)
Config.in (1583, 2004-11-30)
cpm_8260.h (32233, 2004-12-02)
cpm_8260.h.bak (30035, 2004-12-02)
cpm_spi.c (10547, 2004-12-02)
cpm_spi.c.bak (10509, 2004-11-30)
cpm_spi.h (3553, 2004-12-02)

The following is the procedure for adding the SPI driver file in the linux kernel: 1. Put the the cpm_spi.h file into the directory /include/asm-ppc 2. Replace the cpm_8260.h file at directory /include/asm-ppc/cpm_8260.h 3. Replace the immap_8260.h file at directory /include/asm-ppc/immap_8260.h 4. Put the cpm_spi.c file into the directory /arch/ppc/8260_io 5. Replace the Makefile file at directory /arch/ppc/8260_io/Makefile 6. Compile the kernel with CONFIG_CPM_SPI sets to True

近期下载者

相关文件


收藏者