sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
show more ...
- Use an sx lock to serialize writes since they update the checksum.- Remove D_NEEDGIANT as the rtc drivers already have their own locks, so this doesn't need Giant.MFC after: 1 week
Convert amd64 and i386 to share the atrtc device driver.
Split /dev/nvram driver out of isa/clock.c for i386 and amd64. I have notrefactored it to be a generic device.Instead of being part of the standard kernel, there is now a 'nvram' devicefor i386/a
Split /dev/nvram driver out of isa/clock.c for i386 and amd64. I have notrefactored it to be a generic device.Instead of being part of the standard kernel, there is now a 'nvram' devicefor i386/amd64. It is in DEFAULTS like io and mem, and can be turned offwith 'nodevice nvram'. This matches the previous behavior when it wasfirst committed.