K 10 svn:author V 4 gber K 8 svn:date V 27 2013-11-20T11:10:23.777069Z K 7 svn:log V 297 Split raw reading/programming into smaller chunks to avoid allocating too big chunk of kernel memory. Validate size of data. Add error handling to avoid calling copyout() when data has not been read correctly. Reviewed by: zbb Reported by: x90c MFC after: 2 days END