History log of /freebsd-9.3-release/sys/modules/acpi/acpi/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 220663 15-Apr-2011 jkim

Merge ACPICA 20110413.


# 218590 11-Feb-2011 jkim

Merge ACPICA 20110211.


# 216471 15-Dec-2010 jkim

Merge ACPICA 20101209.


# 215201 12-Nov-2010 jkim

Warn users that acpi.ko is deprecated and exit immediately unless the user
set FORCE_BUILD. This is to avoid foot-shooting while making MFC to stable
branches easier.

Discussed with: jhb


# 215200 12-Nov-2010 jkim

MFamd64: (based on) r209957

Move logic of building ACPI headers for acpi_wakeup.c into better places,
remove intermediate makefile and shell script, and reduce diff between i386
and amd64.


# 215072 09-Nov-2010 jkim

Refactor acpi_machdep.c for amd64 and i386, move APM emulation into a new
file acpi_apm.c, and place it on sys/x86/acpica.


# 215012 08-Nov-2010 jhb

Move the MADT parser for amd64 and i386 to sys/x86/acpica now that it is
identical on both platforms.


# 213884 14-Oct-2010 jkim

Stop hard coding nm(1) and make it overridable.


# 212761 16-Sep-2010 jkim

Merge ACPICA 20100915.


# 211690 23-Aug-2010 imp

MFtbemd:

Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is the
source code location of the machine, the latter the binary output. In
general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless
we're tesitng for a specific target. The isn't even moot for
i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,
although a specific cleanup for that likely would be needed...


# 210976 06-Aug-2010 jkim

Merge ACPICA 20100806.


# 210005 13-Jul-2010 jkim

Define SMP unconditionally for amd64 and remove opt_global.h from SRCS.
Note it is done just for correctness sake because we do not build, ship, or
support acpi.ko on amd64.

Prodded by: bde


# 209957 12-Jul-2010 jkim

Move i386-inherited logic of building ACPI headers for acpi_wakeup.c into
better places and remove intermediate makefile and shell scripts. This
makes parallel kernel build little bit safer for amd64.


# 207344 28-Apr-2010 jkim

Merge ACPICA 20100428.


# 204877 08-Mar-2010 jkim

Enable ACPI module build on amd64. Although we strongly recommend building
it into kernel, there is no need to prevent it from building at all.


# 204874 08-Mar-2010 jkim

Update module Makefile for ACPICA 20100304.

Submitted by: Paul B Mahol (onemda at gmail dot com)


# 199338 16-Nov-2009 jkim

Add a forgotten module Makefile change from the previous commit.


# 197688 01-Oct-2009 jkim

Compile ACPI debugger and disassembler for kernel modules unconditionally.
These files will generate almost empty object files without ACPI_DEBUG/DDB
options. As a result, size of acpi.ko will increase slightly.


# 197105 11-Sep-2009 jkim

Catch up with ACPICA 20090903.


# 194313 16-Jun-2009 jkim

Fix a typo from the previous commit.


# 194312 16-Jun-2009 jkim

Sync acpi(4) kld module Makefile with conf/options.


# 193530 05-Jun-2009 jkim

Import ACPICA 20090521.


# 188516 12-Feb-2009 n_hibma

Fix a few problems related to building modules in /sys/modules (not
checked whether this applies to builds in /sys/*/compile/* as well):

- Create empty opt_*.h files were missing
- Hook up svr4 to the build. It compiles fine here, so no reason to
disconnect it in the Makefile. were missing
- Hook up svr4 to the build. It compiles fine here, so no reason to
disconnect it in the Makefile.


# 172313 24-Sep-2007 njl

Rewrite the EC driver event model. The main goal is to avoid
polling/interrupt-driven fallback and instead use polling only during
boot and pure interrupt-driven mode after boot. Polled mode could be
relegated completely to a legacy role if we could enable interrupts
during boot. Polled mode can be forced after boot by setting
debug.acpi.ec.polled="1", i.e. if there are timeouts.

- Use polling only during boot, shutdown, or if requested by the user.
Otherwise, use a generation count of GPEs, incremented atomically. This
prevents an old status value from being used if the EC is really slow
and the same condition (i.e. multiple IBEs for a write transaction) is
being checked.
- Check for and run the query handler directly if the SCI bit is set in
the status register during boot. Previously, the query handler wouldn't
run until interrupts were finally enabled late in boot.
- During boot and after starting a command, check if the event appears
to already have occurred before we even start waiting. If so, it's
possible the EC is very slow and we might accept an old status value.
Print a warning in this case. Once we've booted, interrupt-driven mode
should work just fine but polled mode could be unreliable. There's not
much more we can do about this until interrupts are enabled during boot.
- In the above case, we also do one final check if the interrupt-driven
mode gets a timeout. If the status is complete, it will force the
system back into polled mode since interrupt mode doesn't work. For
polled mode during boot, if the status appears to be already complete
before beginning the check loop, it waits 10 us before actually checking
the status, just in case the EC is really slow and hasn't gotten to work
on the new request yet.
- Use upper-case hex for the _Qxx method
- Use device_printf for errors, don't hide them under verbose
- Increase default total timeout to 750 ms and decrease polling interval
to 5 us.
- Don't pass the status value via the softc. Just read it directly.
- Remove the mutex. We use the sx lock for transaction serialization
with the query handler.
- Remove the Intel copyright notice as no code of theirs was ever
present in this file (verified against rev 1.1)
- Allow KTR module-only builds for ease of testing

Thanks to jkim and Alexey Starikovskiy for helpful discussions and testing.

Approved by: re
MFC after: 2 weeks


# 167814 22-Mar-2007 jkim

Catch up with ACPI-CA 20070320 import.


# 165320 18-Dec-2006 takawata

Hook acpi gadget driver modules to other acpi archs.


# 159066 30-May-2006 ru

Dike out WARNS from kernel module makefiles. Kernels and modules
use a different mechanism for setting warning flags, and using
WARNS here only has null or negative effects.

Submitted by: bde (I think it means "submitted")


# 151948 01-Nov-2005 jkim

Catch up with ACPI-CA 20051021 import


# 151913 31-Oct-2005 phk

Tie acpi_hpet.c into the module and kernel.


# 151565 22-Oct-2005 njl

Hook acpi_smbat up to the build.


# 151350 14-Oct-2005 yar

Let modules use the kernel's opt_*.h files if built along with
the kernel by wrapping all targets for fake opt_*.h files in
.if defined(KERNBUILDDIR). Thus, such fake files won't be
created at all if modules are built with the kernel.

Some modules undergo cleanup like removing unused or unneeded
options or .h files, without which they wouldn't build this way
or the other.

Reviewed by: ru
Tested by: no binary changes in modules built alone
Tested on: i386 sparc64 amd64


# 146020 09-May-2005 marks

Fix separate module build.

Submitted by: njl


# 145397 22-Apr-2005 iedowse

Pick up the selectors to use for various kernel segments from assym.s
instead of assuming fixed offsets within the GDT. The hard-coded
values here have been incorrect since Peter's GDT rearranging around
10 days ago, causing ACPI resume problems.

Reviewed by: peter


# 142397 24-Feb-2005 njl

Move acpi_perf and acpi_throttle into acpi.ko. Remove the acpi_perf
build structure.


# 131388 01-Jul-2004 marks

Set WARNS=2 for the module build of ACPI.

Approved by: njl


# 131314 30-Jun-2004 njl

Add glue for building acpi_quirk.c


# 131279 29-Jun-2004 njl

Add acpi_if.h dependencies to module build.


# 128509 21-Apr-2004 njl

Divide the drivers into essential (pci, thermal) and mobile (lid,
battery, etc.)


# 126369 28-Feb-2004 njl

Clean all the object files whether or not ACPI_DEBUG is specified.


# 124255 08-Jan-2004 njl

Always clean all files, including ones under ACPI_DEBUG when doing a
"make clean".


# 123962 29-Dec-2003 bde

Use double quotes instead of single quotes for echos to build options
headers as in most other modules Makefiles (5 yesterday, none now).
Fixed any simple nearby style bugs (not many).


# 123795 24-Dec-2003 njl

Move the acpi module down a directory. This will allow us to import
other ACPI-specific drivers into sys/modules/acpi/.