History log of /freebsd/sys/dev/asmc/asmc.c (Results 1 – 25 of 115)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 49a5fe1a 11-Jun-2024 Joshua Rogers <Joshua@Joshua.Hu>

asmc: Add support for MacbookPro11,4

Signed-off-by: Joshua Rogers <Joshua@Joshua.Hu>

MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd-src/pull/1366


Revision tags: release/14.1.0, release/13.3.0
# fdafd315 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remov

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix

show more ...


Revision tags: release/14.0.0
# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


Revision tags: release/13.2.0
# 2e9d05fd 08-Feb-2023 Adrian Chadd <adrian@FreeBSD.org>

asmc: Add support for 10 byte light sensor payloads; MacBookAir6,1

The later macbook models use a different packet payload for the light
sensors:

* There's only one, done in the camera
* It's a 4 b

asmc: Add support for 10 byte light sensor payloads; MacBookAir6,1

The later macbook models use a different packet payload for the light
sensors:

* There's only one, done in the camera
* It's a 4 byte sensor value, not a 2 byte value
* It's in a 10 byte payload.

So, this adds support for that and flips it on for the MacbookAir6,2.

It also adds support for MacBookAir6,1 as that now works fine here.

Tested - MacBookAir6,1 and 6,2

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D38365

show more ...


# ffc58e2c 21-Jan-2023 Adrian Chadd <adrian@FreeBSD.org>

asmc: Add MacbookAir6,2

Add in the zones for my MacbookAir6,2, a 2013 Macbook Air.

Tested - said Macbook Air 2013. Thermal Zones and keyboard backlight
control works fine.

Differential Revision:

asmc: Add MacbookAir6,2

Add in the zones for my MacbookAir6,2, a 2013 Macbook Air.

Tested - said Macbook Air 2013. Thermal Zones and keyboard backlight
control works fine.

Differential Revision: https://reviews.freebsd.org/D38073
Approved by: jrtc27

show more ...


# 638937d4 29-Dec-2022 Michael Gmelin <grembo@FreeBSD.org>

asmc: Add support for MacBook5,5

This is a slightly refined version of a patch[0] by FreeBSD Forums
user "tmcclean".

[0]https://forums.freebsd.org/threads/success-installing-freebsd-13-0-on-macbook

asmc: Add support for MacBook5,5

This is a slightly refined version of a patch[0] by FreeBSD Forums
user "tmcclean".

[0]https://forums.freebsd.org/threads/success-installing-freebsd-13-0-on-macbook-pro-5-5.80458/

Reviewed by: adrian, emaste, imp
Differential Revision: https://reviews.freebsd.org/D37900
MFC after: 1 month

show more ...


Revision tags: release/12.4.0
# 3416f5cd 25-Jul-2022 ed crowe <fbsdbug@edcrowe.com>

asmc: Add support for MacBookPro6,2

Modify asmc_sms_printintr() to be silent when the ambient light sensor
interrupt fires on this model, since the messages can otherwise fill up
the dmesg.

PR: 26

asmc: Add support for MacBookPro6,2

Modify asmc_sms_printintr() to be silent when the ambient light sensor
interrupt fires on this model, since the messages can otherwise fill up
the dmesg.

PR: 265005
Reviewed by: markj
MFC after: 2 weeks

show more ...


Revision tags: release/13.1.0
# 867864a2 09-May-2022 John Baldwin <jhb@FreeBSD.org>

asmc: Remove unused devclass argument to DRIVER_MODULE.


# dc484aed 09-May-2022 Adam S <adam@anschwa.com>

asmc: Update Mac Pro 6 sensor definitions

- Make descriptions a bit more human-friendly.
- Don't attempt to probe fan safe speeds, this model does not provide
one.

PR: 260781
MFC after: 2 weeks


# 601abb30 04-May-2022 Trev <fbsdbugs4@sentry.org>

asmc: Add support for Macmini 5,1 (2011) and 5,3 and 7,1 (2014) models

PR: 262456
MFC after: 2 weeks


# a31b0c0c 04-May-2022 Mark Johnston <markj@FreeBSD.org>

asmc: Style

MFC after: 2 weeks


# 79291c9b 04-May-2022 Daniel W. Delâtre <dawdler@blacklodge.dev>

asmc: Add support for MacBook Pro 9,1 (mid 2012)

PR: 261981
MFC after: 2 weeks


# 27d4c6f8 04-May-2022 Mark Johnston <markj@FreeBSD.org>

asmc: Make the model table const and local to asmc.c

No functional change intended.

MFC after: 2 weeks


# 7d5fef18 04-May-2022 Adam S <adam@anschwa.com>

asmc: Add support for MacPro 6,1 (2013)

PR: 260781
MFC after: 2 weeks


# 308340cc 04-May-2022 Mark Johnston <markj@FreeBSD.org>

asmc: Add support for MacBook Air 4,1 and 4,2 (2011)

PR: 218574
Submitted by: NapoleonWils0n <t43InvisibleMan@gmail.com>
Submitted by: John Hay <john@sanren.ac.za>
MFC after: 2 weeks


# e02d0cab 10-Dec-2021 Mateusz Guzik <mjg@FreeBSD.org>

asmc: plug set-but-not-unused vars

Sponsored by: Rubicon Communications, LLC ("Netgate")


Revision tags: release/12.3.0, release/13.0.0, release/12.2.0
# 721b3402 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

asmc: clean up empty lines in .c and .h files


# e2515283 27-Aug-2020 Glen Barber <gjb@FreeBSD.org>

MFH

Sponsored by: Rubicon Communications, LLC (netgate.com)


# 9c325393 27-Aug-2020 Mark Johnston <markj@FreeBSD.org>

asmc(4): Handle errors from asmc_key_read() properly.

asmc_key_read() returns only 0 and 1, some callers were checking
incorrectly for failure.

PR: 248939
Submitted 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 checking
incorrectly for failure.

PR: 248939
Submitted by: Tong Zhang <ztong0001@gmail.com>
MFC after: 1 week

show more ...


# e4a14ce7 17-Aug-2020 Mark Johnston <markj@FreeBSD.org>

asmc(4): Add support for MacBook7,1.

PR: 248693
Submitted by: gcx61@interia.pl
MFC after: 1 week


Revision tags: release/11.4.0
# 75dfc66c 27-Feb-2020 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r358269 through r358399.


# 7029da5c 26-Feb-2020 Pawel Biernacki <kaktus@FreeBSD.org>

Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)

r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are
still 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 are
still 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 and
SYSCTL_PROC nodes using one of the soon-to-be-required flags.

Mark all obvious cases as MPSAFE. All entries that haven't been marked
as MPSAFE before are by default marked as NEEDGIANT

Approved by: kib (mentor, blanket)
Commented by: kib, gallatin, melifaro
Differential Revision: https://reviews.freebsd.org/D23718

show more ...


Revision tags: release/12.1.0, release/11.3.0
# b18a4cca 05-Mar-2019 Enji Cooper <ngie@FreeBSD.org>

MFhead@r344786


# 844fc3e9 04-Mar-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r344549 through r344775.


12345