MFC r344553:asmc: Add support for Mac mini 2,1PR: 235798Submitted by: Trev <[email protected]>Reported by: Trev <[email protected]>
MFC r342822:asmc: Add support for Mac mini 4,1 (Mid-2010)
MFC r342770:asmc: Patch to add MacBook Pro 9,2 supportPR: 211513Submitted by: William Theesfeld Jr <[email protected]>Reported by: William Theesfeld Jr <[email protected]>
MFC r342218:asmc: Add support for MacPro1,1PR: 203431Submitted by: [email protected] & [email protected]Reported by: [email protected]
MFC r342171:asmc: Add support for mid-2011 Macmini 5,2PR: 225911Submitted by: trev <[email protected]>Reported by: trev <[email protected]>
MFC r341988asmc: Add Support for Macbook Pro 8,1PR: 217505Submitted by: John O. Brickley <[email protected]>, updated by Maciej Pasternacki <[email protected]>Reported by: John O.
MFC r341988asmc: 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]>
show more ...
MFC r341820:asmc: Add Support for MacBookAir 7,1 and 7,2PR: 226172Submitted by: James Wright <[email protected]>Reported by: James Wright <[email protected]>
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.
This isn't functionally identical. In some cases a hint to disableunit 0 would in fact disable all units.This reverts r241856Approved by: cperciva (implicit)
Now that device disabling is generic, remove extraneous code from thedevice drivers that used to provide this feature.Reviewed by: desApproved by: cpercivaMFC after: 1 week
Use %zu for size_t.Fix printf format string (again)Pointed out by: bde, ed
Fix previous commit. I got it backwards.MFC after: 1 week
Fix printf format string in asmc_key_dump().Spotted by: tinderboxMFC after: 1 week
12