Hi all,
Here is the error message when compiling :
CC drivers/ata/libata-core.o
drivers/ata/libata-core.c: In function `ata_devchk':
drivers/ata/libata-core.c:640: error: implicit declaration of function `iowrite8'
drivers/ata/libata-core.c:649: error: implicit declaration of function `ioread8'
drivers/ata/libata-core.c: In function `ata_sg_setup_one':
drivers/ata/libata-core.c:4329: warning: use of cast expressions as lvalues is deprecated
drivers/ata/libata-core.c:4353: warning: use of cast expressions as lvalues is deprecated
drivers/ata/libata-core.c: In function `ata_sg_setup':
drivers/ata/libata-core.c:4412: warning: use of cast expressions as lvalues is deprecated
drivers/ata/libata-core.c: In function `ata_data_xfer':
drivers/ata/libata-core.c:4490: error: implicit declaration of function `iowrite16_rep'
drivers/ata/libata-core.c:4492: error: implicit declaration of function `ioread16_rep'
drivers/ata/libata-core.c:4501: error: implicit declaration of function `iowrite16'
drivers/ata/libata-core.c:4503: error: implicit declaration of function `ioread16'
drivers/ata/libata-core.c: In function `ata_wait_register':
drivers/ata/libata-core.c:6816: error: implicit declaration of function `ioread32'
make[4]: *** [drivers/ata/libata-core.o] Erreur 1
make[3]: *** [drivers/ata] Erreur 2
Should defined ioread8, ioread16 ... in asm/io.h?
# define ioread8(X) readb(X)# define ioread16(X) readw(X)
...
What is the kernel configuration for the compact flash?
I followed the instructions given in nioswiki :
http://www.nioswiki.com/operatingsystems/u...ux/compactflash (
http://www.nioswiki.com/operatingsystems/uclinux/compactflash)
Thanks,