.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "NAND_SCAN" "9" "09 October 2005" "" "" .SH NAME nand_scan \- [NAND Interface] Scan for the NAND device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int nand_scan (struct mtd_info * \fImtd\fB, int \fImaxchips\fB); \fR .SH "ARGUMENTS" .TP \fB\fImtd\fB\fR MTD device structure .TP \fB\fImaxchips\fB\fR Number of chips to scan for .SH "DESCRIPTION" .PP This fills out all the not initialized function pointers with the defaults. The flash ID is read and the mtd/chip structures are filled with the appropriate values. Buffers are allocated if they are not provided by the board driver