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 Feb 22 2017, 10:21 AM
Parents
rGde7d5ac603c7: xen/timer: mark the Xen PV timer as not safe for suspension
Branches
Unknown
Tags
Unknown