sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remov
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
show more ...
videomode: Regenerate filesReviewed by: imp, emasteDifferential Revision: https://reviews.freebsd.org/D41953
videomode/devlist2h.awk: Don't include $FreeBSD$ in generated filesReviewed by: imp, emasteDifferential Revision: https://reviews.freebsd.org/D41952
sys: Remove $FreeBSD$: one-line bare tagRemove /^\s*\$FreeBSD\$$\n/
sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
sys: Remove $FreeBSD$: two-line .c patternRemove /^#include\s+<sys/cdefs.h>.*$\n\s+__FBSDID\("\$FreeBSD\$"\);\n/
sys: Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
videomode: Fix a typo in an kernel message- s/Seperate/Separate/Obtained from: NetBSDMFC after: 3 days
modules: increase MAXMODNAME and provide backward compatWith various firmware files used by graphics and wireless driverswe are exceeding the current 32 character module name (file pathin kldxref
modules: increase MAXMODNAME and provide backward compatWith various firmware files used by graphics and wireless driverswe are exceeding the current 32 character module name (file pathin kldxref) length.In order to overcome this issue bump it to the maximum path lengthfor the next version.To be able to MFC provide backward compat support for another versionof the struct as the offsets for the second half change due to thearray size increase.MAXMODNAME being defined to MAXPATHLEN needs param.h to beincluded first. With only 7 modules (or LinuxKPI module.h) notdoing that adjust them rather than including param.h in module.h [1].Reported by: Greg V (greg unrelenting.technology)Sponsored by: The FreeBSD FoundationSuggested by: imp [1]MFC after: 10 daysReviewed by: imp (and others to different level)Differential Revision: https://reviews.freebsd.org/D32383
videomode: clean up empty lines in .c and .h files
Add hskew field to struct videomode. It is required by some controllersthat are not 100% VESA-compatible (e.g. TDA19988 HDMI framer)
Import videomode code from NetBSD which is needed by USB display link drivers.