]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r287013 (partial), r294616, r314097 (partial)
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 May 2017 21:42:16 +0000 (21:42 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 May 2017 21:42:16 +0000 (21:42 +0000)
commitea681e99970beb101aa4c7bfe83f24953979fb66
tree5b674ec28bdf04071b2904e2def937e4000cec69
parentaf2cd0bc6763c36255841d629dd60a2be9df447b
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@318159 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/fdt/fdt_slicer.c
sys/geom/geom_flashmap.c
sys/modules/geom/Makefile
sys/modules/geom/geom_flashmap/Makefile [new file with mode: 0644]
sys/sys/slicer.h