Index: Kconfig =================================================================== RCS file: /home/cvs/mtd/drivers/mtd/nand/Kconfig,v retrieving revision 1.35 diff -u -r1.35 Kconfig --- Kconfig 7 Nov 2005 11:14:30 -0000 1.35 +++ Kconfig 19 Nov 2005 14:44:37 -0000 @@ -268,4 +268,26 @@ help For 16 bit devices word is 2 bytes, for 8 bit devices - 1 byte +config MTD_NAND_IDE + tristate "Support for NAND Flash through an IDE interface" + depends on MTD_NAND && MTD_PARTITIONS + help + Enables the driver for accessing NAND Flash from the IDE + interface of a PC. If you say Y, you will be asked + if you want access through the I/O ports. + +config MTD_NAND_USE_IO_INSTR + bool "Support for accessing NAND flash through the I/O ports" + depends on MTD_NAND_IDE + help + Allows for accessing NAND Flash through the I/O ports. + If you say Y, you will be asked to select your architecture + below. + +config MTD_NAND_X86_IO_INSTR + bool "Support for x86 architecture I/O instructions" + depends on MTD_NAND_USE_IO_INSTR + help + Port numbers are of type unsigned int. + endmenu Index: Makefile.common =================================================================== RCS file: /home/cvs/mtd/drivers/mtd/nand/Makefile.common,v retrieving revision 1.16 diff -u -r1.16 Makefile.common --- Makefile.common 6 Jul 2005 09:33:28 -0000 1.16 +++ Makefile.common 19 Nov 2005 14:44:37 -0000 @@ -18,5 +18,6 @@ obj-$(CONFIG_MTD_NAND_RTC_FROM4) += rtc_from4.o obj-$(CONFIG_MTD_NAND_SHARPSL) += sharpsl.o obj-$(CONFIG_MTD_NAND_NANDSIM) += nandsim.o +obj-$(CONFIG_MTD_NAND_IDE) += ide.o nand-objs = nand_base.o nand_bbt.o