linux/drivers/staging/spectra
Javier Martinez Canillas eeba34d97a Staging: spectra: remove non existing blk_fs_request wrapper
The spectra driver doesn't compile with today linux-next

The problem is that it tries to use a blk_fs_request macro. Searching
for this macro I saw that it used to exist in linux/blkdev.h as

#define blk_fs_request(rq) ((rq)->cmd_type == REQ_TYPE_FS)

This patch solves the issue eliminating the unnecessary (and now inexistent) wrapper

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-06-25 11:11:22 -07:00
..
ffsdefs.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
ffsport.c Staging: spectra: remove non existing blk_fs_request wrapper 2010-06-25 11:11:22 -07:00
ffsport.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
flash.c spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
flash.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
Kconfig spectra: Rename config options 2010-06-08 18:28:24 +01:00
lld_cdma.c spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_cdma.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_emu.c spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_emu.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_mtd.c spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_mtd.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_nand.c spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld_nand.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld.c spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
lld.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
Makefile spectra: Rename config options 2010-06-08 18:28:24 +01:00
nand_regs.h spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
README spectra: Move to drivers/staging 2010-06-08 18:08:32 +01:00
spectraswconfig.h spectra: Rename config options 2010-06-08 18:28:24 +01:00

This is a driver for NAND controller of Intel Moorestown platform.

This driver is a standalone linux block device driver, it acts as if it's a normal hard disk.
It includes three layer:
	block layer interface - file ffsport.c
	Flash Translation Layer (FTL) - file flash.c (implement the NAND flash Translation Layer, includs address mapping, garbage collection, wear-leveling and so on)
	Low level layer - file lld_nand.c/lld_cdma.c/lld_emu.c (which implements actual controller hardware registers access)

This driver can be build as modules or build-in.

Dependency:
This driver has dependency on IA Firmware of Intel Moorestown platform.
It need the IA Firmware to create the block table for the first time.
And to validate this driver code without IA Firmware, you can change the
macro AUTO_FORMAT_FLASH from 0 to 1 in file spectraswconfig.h. Thus the
driver will erase the whole nand flash and create a new block table.

TODO:
	- Enable Command DMA feature support
	- lower the memory footprint
	- Remove most of the unnecessary global variables
	- Change all the upcase variable / functions name to lowercase
	- Some other misc bugs

Please send patches to:
	Greg Kroah-Hartman <gregkh@suse.de>

And Cc to: Gao Yunpeng <yunpeng.gao@intel.com>