diff options
author | marius <marius@FreeBSD.org> | 2017-05-10 21:42:16 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2017-05-10 21:42:16 +0000 |
commit | 896a2f526aed24d69595321792110e1e7bc78154 (patch) | |
tree | 5b674ec28bdf04071b2904e2def937e4000cec69 /sys/modules/geom | |
parent | 9a50b64a7cf43f488f86280586c54bbdcae78669 (diff) | |
download | FreeBSD-src-896a2f526aed24d69595321792110e1e7bc78154.zip FreeBSD-src-896a2f526aed24d69595321792110e1e7bc78154.tar.gz |
MFC: r287013 (partial), r294616, r314097 (partial)
- Allow overriding the FDT slicer with a custom slicer.
- Teach the flashmap code about SPI flash.
- Allow different slicers for different flash types to be registered
with geom_flashmap(4) and teach it about MMC for slicing enhanced
user data area partitions. The FDT slicer still is the default for
CFI, NAND and SPI flash on FDT-enabled platforms.
- In addition to a device_t, also pass the name of the GEOM provider
in question to the slicers as a single device may provide more than
one provider.
- Build a geom_flashmap.ko.
- Use MODULE_VERSION() so other modules can depend on geom_flashmap(4).
- Remove redundant/superfluous GEOM routines that either do nothing
or provide/just call default GEOM (slice) functionality.
- Trim/adjust includes
Diffstat (limited to 'sys/modules/geom')
-rw-r--r-- | sys/modules/geom/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/geom/geom_flashmap/Makefile | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/modules/geom/Makefile b/sys/modules/geom/Makefile index f803af0..37ee422 100644 --- a/sys/modules/geom/Makefile +++ b/sys/modules/geom/Makefile @@ -7,6 +7,7 @@ SUBDIR= geom_bde \ geom_cache \ geom_concat \ geom_eli \ + geom_flashmap \ geom_fox \ geom_gate \ geom_journal \ diff --git a/sys/modules/geom/geom_flashmap/Makefile b/sys/modules/geom/geom_flashmap/Makefile new file mode 100644 index 0000000..d475860 --- /dev/null +++ b/sys/modules/geom/geom_flashmap/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../geom + +KMOD= geom_flashmap +SRCS= geom_flashmap.c + +.include <bsd.kmod.mk> |