sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Fix some modules to export more used symbolsand remove non-present symbols that are now reported by kmod_syms.awk.Reviewed by: emasteSponsored by: The FreeBSD FoundationMFC after: 1 weekDiffer
Fix some modules to export more used symbolsand remove non-present symbols that are now reported by kmod_syms.awk.Reviewed by: emasteSponsored by: The FreeBSD FoundationMFC after: 1 weekDifferential revision: https://reviews.freebsd.org/D32878
show more ...
Revert r344675It's an incorrect approach to solve the problem. We already have afdt/fdt_slicer module, it just needs to be wired into the build.
GEOM: Add fdt_slicer to the GEOM flashmap module for fdt-based platformsgeom_flashmap depends on a slicer being available in order to do anywork. On fdt platforms this is provided by fdt_slicer,
GEOM: Add fdt_slicer to the GEOM flashmap module for fdt-based platformsgeom_flashmap depends on a slicer being available in order to do anywork. On fdt platforms this is provided by fdt_slicer, but this needsto be available. Often it's compiled into the kernel for platforms thatboot from the relevant media, but this is not always the case. Add thefile to the geom_flashmap module so that it can be used on platformswhich don't always need this functionality available.
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
- 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 defau
- 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 includesSubmitted by: jhibbits (RouterBoard bits)Reviewed by: jhibbits