Add IDs for Nuvoton NCT6793/NCT6795.MFC after: 2 weeks
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 ...
etc: minor spelling fixes.Mostly comments but also some user-visible strings.MFC after: 2 weeks
sys/dev: use our nitems() macro when it is avaliable through param.h.No functional change, only trivial cases are done in this sweep,Drivers that can get further enhancements will be done independ
sys/dev: use our nitems() macro when it is avaliable through param.h.No functional change, only trivial cases are done in this sweep,Drivers that can get further enhancements will be done independently.Discussed in: freebsd-current
Remove watchdog timer stop check.There are bunch of reports that this check fails at least on NuvotonNCT6776 chips. I don't see why this check needed there, and Linux doesnot have it either. So
Remove watchdog timer stop check.There are bunch of reports that this check fails at least on NuvotonNCT6776 chips. I don't see why this check needed there, and Linux doesnot have it either. So far this check only made watchdogd unstopable.MFC after: 1 month
Polish wbwd(4) driver and add more supported chips.MFC after: 1 month
Revert r279933; this is going to be fixed in sbuf instead.PR: 195668
Nullterminate strings returned via sysctl.PR: 195668
Add ID for Nuvoton WPCM450RA0BX found on Supermicro X9SCA-F motherboards.While I'm there, also make this driver to attach to devices that havean unknown device ID.MFC after: 1 month
Add DEVICE_IDENTIFY method for wbwd(4), required on most of recentSupermicro motherboards.Tested on X8STi and X8DTH boards.Sponsored by: iXsystems, Inc.MFC after: 2 weeks
Use DEVMETHOD_END.MFC after: 2 weeks
sbuf_trim() cannot be used on sbuf with drain function set.This fixes panic when listing sysctls on INVARIANTS-enabled kernel whilehaving wbwd loaded.This panic was not fatal, at worst one additi
sbuf_trim() cannot be used on sbuf with drain function set.This fixes panic when listing sysctls on INVARIANTS-enabled kernel whilehaving wbwd loaded.This panic was not fatal, at worst one additional space was printed.Also sbuf_trim() makes some sense even if drain function is set. The drainfunction is called only when buffer is to be expanded. So we could still trimexisting buffer before drain is called. In this case it worked just fine - thetrailing space was correctly trimmed.Obtained from: WHEEL SystemsMFC after: 1 week
Add device ids for the Winbond 83627DHG-P chip and set the registers totrigger the keyboard reset line on timeout.Reviewed by: bzMFC after: 1 week
Fix a typo in wbwd so that CRF5 is actually written to the data registerrather than the index register.Reviewed by: bzMFC after: 3 days
Provide wbwd(4), a driver for the watchdog timer found on variousWinbond Super I/O chips.With minor efforts it should be possible the extend the driver to supportfurther chips/revisions available
Provide wbwd(4), a driver for the watchdog timer found on variousWinbond Super I/O chips.With minor efforts it should be possible the extend the driver to supportfurther chips/revisions available from Winbond. In the simplest caseonly new IDs need to be added, while different chipsets might requiretheir own function to enter extended function mode, etc.Sponsored by: Sandvine Incorporated ULC (in 2011)Reviewed by: emaste, bruefferMFC after: 2 weeks