| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: njl
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Submitted by: Anish Mistry <mistry.7 -at- osu.edu>
Reviewed by: njl
X-MFC after: 5.4-RELEASE
|
|
|
|
| |
build structure.
|
|
|
|
| |
although this may change.
|
| |
|
|
|
|
| |
OK'ed by: core
|
| |
|
|
|
|
| |
commit.
|
| |
|
| |
|
|
|
|
| |
Submitted by: rushani, sumikawa
|
|
|
|
|
|
| |
This depends on ACPI and RTC registers.
Reviewed by: njl
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
i386 to dev/acpi_support. In theory, these devices could be found
other than in i386 machines only as amd64 becomes more popular. These
drivers don't appear to do anything i386 specific, so move them to
dev/acpi_support. Move config lines to files so that those
architectures that don't support kernel modules can build them into
the kernel. At the same time, rename acpi_snc to acpi_sony to follow
the lead of all the other specialty devices.
|
| |
|
|
|
|
|
|
|
|
| |
the tree. Small tweaks were made by myself to eliminate unnecessary
includes and some other minor issues. Last time I asked takawata-san
about this driver, he suggested I commit it.
Submitted by: takawata
|
| |
|
|
|
|
| |
Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org> and nyan
|
|
|
|
| |
Approved by: njl
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
modules is a very nice way to produce hard-to-find panics. Who would look for
a bug in a Makefile anyway?
Has anyone seen the pointy hat? :-o
Approved by: njl (mentor)
|
|
|
|
|
|
| |
last night. Sorry about that :-o
Spotted by: njl (mentor, spotter of forgetfulness)
|
| |
|
|
|
|
| |
battery, etc.)
|
| |
|
|
|
|
|
|
| |
but a bit more reamins to be done. For now, it is usable.
Submitted by: Taku YAMAMOTO <taku@cent.saitama-u.ac.jp>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
forced fan control, and CPU throttling).
Submitted by: Hiroyuki Aizu <aizu@navi.org>
|
|
|
|
| |
"make clean".
|
|
|
|
|
| |
headers as in most other modules Makefiles (5 yesterday, none now).
Fixed any simple nearby style bugs (not many).
|
|
|
|
| |
other ACPI-specific drivers into sys/modules/acpi/.
|
|
|
|
|
|
|
| |
needed.
Approved by: re (murray)
Requested by: njl
|
|
|
|
| |
Approved by: re (scottl / blanket)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
idx'th present CPU with pc_acpi_id equal to *acpi_id. If *acpi_id
does not match that processor's pc_acpi_id, return the value for
ProcId derived from the MADT in *acpi_id. If pc_acpi_id is 0xffffffff,
always override it with the value of *acpi_id. Finally, return
pc_cpuid in *cpu_id and use that as our primary key.
* Use pc_cpuid as our unique key because we know it is valid since
MD code set it. The values for ProcId in the ASL and MADT don't
match up on some machines (!), forcing us to fall back to ordered
probing in that case.
* Remove some #ifdef SMP since the refcount doesn't hurt performance
and will be needed for dynamic _CST objects. Only one #ifdef SMP
(for smp_rendezvous) remains.
* Hook up SMP in the compile flags in the Makefile.
Tested by: marcel, truckman
Approved by: re (scottl)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use the cpu_idle_hook() to do idling for C1-C3.
* Use both _CST and the FADT to detect Cx states.
* Use both _PTC and P_CNT for controlling throttling.
* Add a notify handler to detect changes in _CST and _PSS
* Call the _INI function for each processor if present. This will be
done by ACPI-CA in the future.
* Fix a bug on SMP systems where CPUs will attach multiple times if the
bus is rescan.
* Document new sysctls for controlling idling.
|
|
|
|
|
|
| |
change also disables interrupts around non-S4 suspends whereas before we
did not do this. Our version of AcpiEnterSleepStateS4bios was almost
identical to the ACPICA version.
|
|
|
|
|
|
|
| |
acfreebsd.h and remove it from the Makefile. Now ACPI_DEBUG implies
ACPI_DISASSEMBLER.
Noticed by: marcel
|
|
|
|
| |
Reported by: Mark Santcroos <marks@ripe.net>, des+tinderbox
|
|
|
|
|
|
|
|
|
| |
ACPI nodes with the plug and play ID's defined for a "Generic ISA Bus
Device" as defined in section 10.7 of the ACPI 2.0 specification. This
gives machines like the Libretto that contain a fake ISA bus that is not
connected via a PCI-ISA bridge an ISA bus for ISA devices to attach to.
Tested by: markm
|
|
|
|
|
|
|
|
|
|
|
| |
* AcpiOsDerivePciId(): finds a bus number, given the slot/func and the
acpi parse tree.
* AcpiOsPredefinedOverride(): use the sysctl hw.acpi.os_name to
override the value for _OS.
Ideas from: takawata, jhb
Reviewed by: takawata, marcel
Tested on: i386, ia64
|
|
|
|
|
|
|
|
|
| |
This allocate the best IRQ to boot-disable devices (have IRQ 0).
Allocated IRQ will be used for PCI interrupt routing when ACPI is
enabled.
Note that verbose messaging enabled for the time being so that
people can easily notice the strange behavior if it happened.
|
|
|
|
|
|
|
|
| |
automatically once opt_foo.h is in SRCS, modulo some carelessness in
removing garbage in stale versions of opt_foo.h (touch(1) should not
be used to create opt_foo.h in kmod.mk or elsewhere).
Cleaned up nearby rule for creating opt_ddb.h.
|
|
|
|
| |
Noticed by: imp and others
|
|
|
|
| |
Noticed by: imp
|
| |
|