asmc: clean up empty lines in .c and .h files
asmc(4): Handle errors from asmc_key_read() properly.asmc_key_read() returns only 0 and 1, some callers were checkingincorrectly for failure.PR: 248939Submitted by: Tong Zhang <ztong0001@gmail
asmc(4): Handle errors from asmc_key_read() properly.asmc_key_read() returns only 0 and 1, some callers were checkingincorrectly for failure.PR: 248939Submitted by: Tong Zhang <[email protected]>MFC after: 1 week
show more ...
asmc(4): Add support for MacBook7,1.PR: 248693Submitted by: [email protected]MFC after: 1 week
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly marked).Use it in preparation for a general review of all nodes.This is non-functional change that adds annotations to SYSCTL_NODE andSYSCTL_PROC nodes using one of the soon-to-be-required flags.Mark all obvious cases as MPSAFE. All entries that haven't been markedas MPSAFE before are by default marked as NEEDGIANTApproved by: kib (mentor, blanket)Commented by: kib, gallatin, melifaroDifferential Revision: https://reviews.freebsd.org/D23718
asmc: Add support for Mac mini 2,1PR: 235798Submitted by: Trev <[email protected]>Reported by: Trev <[email protected]>MFC after: 1 week
asmc: Add support for Mac mini 4,1 (Mid-2010)MFC after: 1 week
asmc: Patch to add MacBook Pro 9,2 supportPR: 211513Submitted by: William Theesfeld Jr <[email protected]>Reported by: William Theesfeld Jr <[email protected]>MFC after: 1 week
asmc: Add support for MacPro1,1PR: 203431Submitted by: [email protected] & [email protected]Reported by: [email protected]MFC after: 1 week
asmc: Add support for mid-2011 Macmini 5,2PR: 225911Submitted by: trev <[email protected]>Reported by: trev <[email protected]>MFC after: 1 week
asmc: Add Support for Macbook Pro 8,1PR: 217505Submitted by: John O. Brickley <[email protected]>, updated by Maciej Pasternacki <[email protected]>Reported by: John O. Brickley <ob
asmc: Add Support for Macbook Pro 8,1PR: 217505Submitted by: John O. Brickley <[email protected]>, updated by Maciej Pasternacki <[email protected]>Reported by: John O. Brickley <[email protected]>MFC after: 1 week
asmc: Add Support for MacBookAir 7,1 and 7,2PR: 226172Submitted by: James Wright <[email protected]>Reported by: James Wright <[email protected]>MFC after: 1 weekDiffer
asmc: Add Support for MacBookAir 7,1 and 7,2PR: 226172Submitted by: James Wright <[email protected]>Reported by: James Wright <[email protected]>MFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D18396
Distinguish _CID match and _HID match and make lower priority probewhen _CID match.Reviewed by: jhb, impDifferential Revision:https://reviews.freebsd.org/D16468
Yank crufty INTR_FILTER optionIt was introduced to the tree in r169320 and r169321 in May 2007.It never got much use and never became a kernel default. The codeduplicates the default path quite
Yank crufty INTR_FILTER optionIt was introduced to the tree in r169320 and r169321 in May 2007.It never got much use and never became a kernel default. The codeduplicates the default path quite a bit, with slight modifications. Justyank out the cruft. Whatever goals were being aimed for can probably be metwithin the existing framework, without a flag day option.Mostly mechanical change: 'unifdef -m -UINTR_FILTER'.Reviewed by: mmacySponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D15546
asmc: update temperature sensor name/descriptionPR: 225911Submitted by: Trev <fbsdbugs4 at sentry.org>MFC after: 1 week
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.
[asmc] Add support for MacBook Pro 11,2This patch will add support for MacBookPro 11.2.For the macros, the MBP11_* macros (for the existing MacBookPro11.3) did notmatch so they have been renamed
[asmc] Add support for MacBook Pro 11,2This patch will add support for MacBookPro 11.2.For the macros, the MBP11_* macros (for the existing MacBookPro11.3) did notmatch so they have been renamed to MBP113_* and a new MBP112_* has beenadded (modified copy of MBP11_*).Some trailing whitespaces may have been removed automatically.PR: kern/214836Obtained from: Johannes Lundberg <[email protected]
[asmc] Add support for MacBookPro5,1Tested by: Johannes Lundberg <[email protected]>PR: kern/209179Submitted by: Thomas Brierley <[email protected]>
sys/dev: minor spelling fixes.Most affect comments, very few have user-visible effects.
[asmc] add support for more models and restore keyboard backlight after resume.This patch adds support for restoring backlight after resume and adds modelsMacbook3,1MacbookAir5,1MacbookAir5,2I
[asmc] add support for more models and restore keyboard backlight after resume.This patch adds support for restoring backlight after resume and adds modelsMacbook3,1MacbookAir5,1MacbookAir5,2It also incorporates fixes for bug #175260, bug #203610 and bug #203512so those can be closed if this patch is applied.PR: kern/209156PR: kern/175260PR: kern/203610PR: kern/203512Submitted by: Johannes Lundberg <[email protected]>
Fix undefined behavior when using asmc_fan_getstring()It was returning a pointer to stack-allocated memory, so make theallocation at the caller instead.Found by: clang static analyzerCoverity:
Fix undefined behavior when using asmc_fan_getstring()It was returning a pointer to stack-allocated memory, so make theallocation at the caller instead.Found by: clang static analyzerCoverity: CID 1245774Reviewed by: ed, rpauloReview URL: https://reviews.freebsd.org/D4740
The SYSCTL data pointers can come from userspace and must not bedirectly accessed. Although this will work on some platforms, it canthrow an exception if the pointer is invalid and then panic the k
The SYSCTL data pointers can come from userspace and must not bedirectly accessed. Although this will work on some platforms, it canthrow an exception if the pointer is invalid and then panic the kernel.Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure.MFC after: 3 daysSponsored by: Mellanox Technologies
Follow up to r225617. In order to maximize the re-usability of kernel codein userland rename in-kernel getenv()/setenv() to kern_setenv()/kern_getenv().This fixes a namespace collision with libc sy
Follow up to r225617. In order to maximize the re-usability of kernel codein userland rename in-kernel getenv()/setenv() to kern_setenv()/kern_getenv().This fixes a namespace collision with libc symbols.Submitted by: kmacyTested by: make universe
Improvements to asmc(4):1. changed the code so that 2**16 keys are supported2. changed the number of possible fans in a system from 2 to 63. added write support for some fan sysctls4. added a ne
Improvements to asmc(4):1. changed the code so that 2**16 keys are supported2. changed the number of possible fans in a system from 2 to 63. added write support for some fan sysctls4. added a new sysctl which shows the ID of the fan5. added four more apple models with their temperature keys6. changed the maxnumber of temperature keys from 36 to 807. replaced several fixed buf sizes to sizeof bufObtained from: Denis Ahrens denis at h3q.comMFC after: 4 weeks
Add support to asmc(4) for Macmini 3,1.PR: 190195Submitted by: fbsdbugs2 sentry.orgMFC after: 1 weekRelnotes: yes
Give device_printf format string to pacify clang warning.
12