HomeFreeBSD

Suppress D_NEEDGIANT warnings for some drivers

Description

Suppress D_NEEDGIANT warnings for some drivers

During boot we warn that the kbd and openfirm drivers are Giant-locked
and may be deleted. Generally, the warning helps signal that certain
old drivers are not being maintained and are subject to removal, but
this doesn't really apply to certain drivers which are harder to
detangle from Giant.

Add a flag, D_GIANTOK, that devices can specify to suppress the
misleading warning. Use it in the kbd and openfirm drivers.

Reviewed by: imp, jhb
Sponsored by: The FreeBSD Foundation

(cherry picked from commit fbeb4ccac990fdb3bc26ab925a3ca8e7d2f89721)

Details

Provenance
markjAuthored on Jun 6 2021, 8:40 PM
Parents
rG67b7e2de4fc5: iwn: adjust EEPROM read timeout for Intel 4965AGN M2
Branches
Unknown
Tags
Unknown