struct nand_chip int page_shift; u_char *data_buf; u_char *data_cache; int cache_page; u_char ecc_code_buf[6] u_char reserved[2]; ... uint oobblock; uint oobsize; uint eccsize; int bus16; };