aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nand/nand_cdev.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove NAND and NANDFS supportWarner Losh2019-06-251-454/+0
| | | | | | | | | | | | | | | | | | | | | NANDFS has been broken for years. Remove it. The NAND drivers that remain are for ancient parts that are no longer relevant. They are polled, have terrible performance and just for ancient arm hardware. NAND parts have evolved significantly from this early work and little to none of it would be relevant should someone need to update to support raw nand. This code has been off by default for years and has violated the vnode protocol leading to panics since it was committed. Numerous posts to arch@ and other locations have found no actual users for this software. Relnotes: Yes No Objection From: arch@ Differential Revision: https://reviews.freebsd.org/D20745 Notes: svn path=/head/; revision=349352
* sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326255
* No need to test command values this way. There can be only one, evenWarner Losh2015-12-181-2/+2
| | | | | | | though the encoding is bit-wise today... Notes: svn path=/head/; revision=292428
* Unbreak compilation with GCC.Grzegorz Bernacki2013-11-211-1/+2
| | | | Notes: svn path=/head/; revision=258425
* Split raw reading/programming into smaller chunks to avoid allocating tooGrzegorz Bernacki2013-11-201-11/+49
| | | | | | | | | | | | 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 <geinblues@gmail.com> MFC after: 2 days Notes: svn path=/head/; revision=258387
* Import work done under project/nand (@235533) into head.Grzegorz Bernacki2012-05-171-0/+413
The NAND Flash environment consists of several distinct components: - NAND framework (drivers harness for NAND controllers and NAND chips) - NAND simulator (NANDsim) - NAND file system (NAND FS) - Companion tools and utilities - Documentation (manual pages) This work is still experimental. Please use with caution. Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper Networks Notes: svn path=/head/; revision=235537