- // __u32 nBlocks; // Size of whole device in blocks
- __u32 startBlock; // Start block we're allowed to use
- __u32 endBlock; // End block we're allowed to use
- __u16 chunkGroupBits; // 0 for devices <= 32MB. else log2(nchunks) - 16
- __u16 chunkGroupSize; // == 2^^chunkGroupBits
+ int nBytesPerChunk; // Should be a power of 2 >= 512
+ int nChunksPerBlock;
+ int startBlock; // Start block we're allowed to use
+ int endBlock; // End block we're allowed to use
+
+ int useNANDECC; // Flag to decide whether or not to use NANDECC
+ int nShortOpCaches; // If <= 0, then short op caching is disabled, else
+ // the number of short op caches (don't use too many).