FTL_CS(4)

NAME
ftl_cs - Flash Translation Layer driver for PCMCIA memory cards

SYNOPSIS
insmod ftl_cs.o [pc_debug=n]

DESCRIPTION
Flash memory devices typically need to be erased before they are written, and most flash devices can only be erased on large block boundaries like 64K or 128K. The Flash Translation Layer driver, ftl_cs, implements a sort of virtual sector-addressable block device that hides the details of erase operations. Using the FTL driver, a flash memory card can be treated as an ordinary block device.

The ftl_cs driver allocates a major device number when it is loaded. Minor devices are numbered as in memory_cs. For the usual case, the FTL initialization script will create one block special device file, /dev/ftl#, that covers the first common memory region on an appropriate card.

An FTL partition must be formatted before use. The formatting utility, ftl_format, needs to write to the raw memory device rather than the FTL device interface.

PARAMETERS

pc_debug=n
    Selects the PCMCIA debugging level. This parameter is only available if the module is compiled with debugging enabled. A non-zero value enables debugging.

AUTHOR
David Hinds - dhinds@allegro.stanford.edu

SEE ALSO
ftl_format(8), cardmgr(8), memory_cs(4), pcmcia(5).