History log of /freebsd-12.1/sys/dev/asmc/asmc.c (Results 1 – 25 of 42)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0
# 5a53a907 07-Mar-2019 David Bright <[email protected]>

MFC r344553:

asmc: Add support for Mac mini 2,1

PR: 235798
Submitted by: Trev <[email protected]>
Reported by: Trev <[email protected]>


# 53cc321a 18-Jan-2019 David Bright <[email protected]>

MFC r342822:

asmc: Add support for Mac mini 4,1 (Mid-2010)


# 727f05f4 18-Jan-2019 David Bright <[email protected]>

MFC r342770:

asmc: Patch to add MacBook Pro 9,2 support

PR: 211513
Submitted by: William Theesfeld Jr <[email protected]>
Reported by: William Theesfeld Jr <[email protected]>


# cc8795b4 04-Jan-2019 David Bright <[email protected]>

MFC r342218:

asmc: Add support for MacPro1,1

PR: 203431
Submitted by: [email protected] & [email protected]
Reported by: [email protected]


# 4bdf5c8a 04-Jan-2019 David Bright <[email protected]>

MFC r342171:

asmc: Add support for mid-2011 Macmini 5,2

PR: 225911
Submitted by: trev <[email protected]>
Reported by: trev <[email protected]>


# 605c3305 20-Dec-2018 David Bright <[email protected]>

MFC r341988

asmc: Add Support for Macbook Pro 8,1

PR: 217505
Submitted by: John O. Brickley <[email protected]>, updated by Maciej Pasternacki <[email protected]>
Reported by: John O.

MFC r341988

asmc: Add Support for Macbook Pro 8,1

PR: 217505
Submitted by: John O. Brickley <[email protected]>, updated by Maciej Pasternacki <[email protected]>
Reported by: John O. Brickley <[email protected]>

show more ...


# 97d377ee 19-Dec-2018 David Bright <[email protected]>

MFC r341820:

asmc: Add Support for MacBookAir 7,1 and 7,2

PR: 226172
Submitted by: James Wright <[email protected]>
Reported by: James Wright <[email protected]>


Revision tags: release/12.0.0, release/11.2.0
# a0638b33 24-May-2018 Conrad Meyer <[email protected]>

Yank crufty INTR_FILTER option

It was introduced to the tree in r169320 and r169321 in May 2007.

It never got much use and never became a kernel default. The code
duplicates the default path quite

Yank crufty INTR_FILTER option

It was introduced to the tree in r169320 and r169321 in May 2007.

It never got much use and never became a kernel default. The code
duplicates the default path quite a bit, with slight modifications. Just
yank out the cruft. Whatever goals were being aimed for can probably be met
within the existing framework, without a flag day option.

Mostly mechanical change: 'unifdef -m -UINTR_FILTER'.

Reviewed by: mmacy
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D15546

show more ...


# 718cf2cc 27-Nov-2017 Pedro F. Giffuni <[email protected]>

sys/dev: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was 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 I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

show more ...


Revision tags: release/10.4.0, release/11.1.0
# 109e2d29 17-Feb-2017 Adrian Chadd <[email protected]>

[asmc] Add support for MacBook Pro 11,2

This patch will add support for MacBookPro 11.2.
For the macros, the MBP11_* macros (for the existing MacBookPro11.3) did not
match so they have been renamed

[asmc] Add support for MacBook Pro 11,2

This patch will add support for MacBookPro 11.2.
For the macros, the MBP11_* macros (for the existing MacBookPro11.3) did not
match so they have been renamed to MBP113_* and a new MBP112_* has been
added (modified copy of MBP11_*).

Some trailing whitespaces may have been removed automatically.

PR: kern/214836
Obtained from: Johannes Lundberg <[email protected]

show more ...


Revision tags: release/11.0.1, release/11.0.0
# 31ae3b07 03-May-2016 Adrian Chadd <[email protected]>

[asmc] Add support for MacBookPro5,1

Tested by: Johannes Lundberg <[email protected]>
PR: kern/209179
Submitted by: Thomas Brierley <[email protected]>


# 453130d9 03-May-2016 Pedro F. Giffuni <[email protected]>

sys/dev: minor spelling fixes.

Most affect comments, very few have user-visible effects.


# 108e3076 02-May-2016 Adrian Chadd <[email protected]>

[asmc] add support for more models and restore keyboard backlight after resume.

This patch adds support for restoring backlight after resume and adds models
Macbook3,1
MacbookAir5,1
MacbookAir5,2

I

[asmc] add support for more models and restore keyboard backlight after resume.

This patch adds support for restoring backlight after resume and adds models
Macbook3,1
MacbookAir5,1
MacbookAir5,2

It also incorporates fixes for bug #175260, bug #203610 and bug #203512
so those can be closed if this patch is applied.

PR: kern/209156
PR: kern/175260
PR: kern/203610
PR: kern/203512
Submitted by: Johannes Lundberg <[email protected]>

show more ...


Revision tags: release/10.3.0
# 623534d6 05-Jan-2016 Ulrich Spörlein <[email protected]>

Fix undefined behavior when using asmc_fan_getstring()

It was returning a pointer to stack-allocated memory, so make the
allocation at the caller instead.

Found by: clang static analyzer
Coverity:

Fix undefined behavior when using asmc_fan_getstring()

It was returning a pointer to stack-allocated memory, so make the
allocation at the caller instead.

Found by: clang static analyzer
Coverity: CID 1245774
Reviewed by: ed, rpaulo
Review URL: https://reviews.freebsd.org/D4740

show more ...


Revision tags: release/10.2.0, release/10.1.0
# 0e1152fc 28-Oct-2014 Hans Petter Selasky <[email protected]>

The SYSCTL data pointers can come from userspace and must not be
directly accessed. Although this will work on some platforms, it can
throw an exception if the pointer is invalid and then panic the k

The SYSCTL data pointers can come from userspace and must not be
directly accessed. Although this will work on some platforms, it can
throw 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 days
Sponsored by: Mellanox Technologies

show more ...


# 2be111bf 16-Oct-2014 Davide Italiano <[email protected]>

Follow up to r225617. In order to maximize the re-usability of kernel code
in 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 code
in userland rename in-kernel getenv()/setenv() to kern_setenv()/kern_getenv().
This fixes a namespace collision with libc symbols.

Submitted by: kmacy
Tested by: make universe

show more ...


# 447666f0 22-Sep-2014 Rui Paulo <[email protected]>

Improvements to asmc(4):

1. changed the code so that 2**16 keys are supported
2. changed the number of possible fans in a system from 2 to 6
3. added write support for some fan sysctls
4. added a ne

Improvements to asmc(4):

1. changed the code so that 2**16 keys are supported
2. changed the number of possible fans in a system from 2 to 6
3. added write support for some fan sysctls
4. added a new sysctl which shows the ID of the fan
5. added four more apple models with their temperature keys
6. changed the maxnumber of temperature keys from 36 to 80
7. replaced several fixed buf sizes to sizeof buf

Obtained from: Denis Ahrens denis at h3q.com
MFC after: 4 weeks

show more ...


Revision tags: release/9.3.0
# 764442e0 05-Jul-2014 Gavin Atkinson <[email protected]>

Add support to asmc(4) for Macmini 3,1.

PR: 190195
Submitted by: fbsdbugs2 sentry.org
MFC after: 1 week
Relnotes: yes


Revision tags: release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0
# 46c76550 09-Nov-2012 Roman Divacky <[email protected]>

Give device_printf format string to pacify clang warning.


# a8de37b0 22-Oct-2012 Eitan Adler <[email protected]>

This isn't functionally identical. In some cases a hint to disable
unit 0 would in fact disable all units.

This reverts r241856

Approved by: cperciva (implicit)


# 76b75122 22-Oct-2012 Eitan Adler <[email protected]>

Now that device disabling is generic, remove extraneous code from the
device drivers that used to provide this feature.

Reviewed by: des
Approved by: cperciva
MFC after: 1 week


Revision tags: release/8.3.0, release/7.4.0, release/8.2.0, release/8.1.0, release/7.3.0, release/8.0.0
# d414bb00 22-Sep-2009 Rui Paulo <[email protected]>

MFC 197190:
Make the sudden motion sensor work on older models and add a bit of
debugging.

Submitted by: Christoph Langguth <christoph at rosenkeller.org>

Approved by: re (kib)


# de3a9cf1 31-Aug-2009 Rui Paulo <[email protected]>

MFC r196455:
Make dev.asmc.N.light.control writable by everyone.

Submitted by: Patrick Lamaiziere <patfbsd at davenulle.org>
Approved by: re (rwatson)


# f17bca82 14-Sep-2009 Rui Paulo <[email protected]>

Use %zu for size_t.
Fix printf format string (again)

Pointed out by: bde, ed


# b660846e 14-Sep-2009 Rui Paulo <[email protected]>

Fix previous commit. I got it backwards.

MFC after: 1 week


12