HomeFreeBSD

- Allow different slicers for different flash types to be registered

Description

  • 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 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

Submitted by: jhibbits (RouterBoard bits)
Reviewed by: jhibbits

Details

Provenance
mariusAuthored on
Reviewer
jhibbits
Parents
rS314096: Tag import of mandoc 1.4.1
Branches
Unknown
Tags
Unknown