Home | History | Annotate | Download | only in acpi
History log of /src/sys/dev/acpi/pcppi_acpi.c
RevisionDateAuthorComments
 1.13  29-Jan-2021  thorpej Use acpi_compatible_match().
 1.12  05-Mar-2010  jruoho branches: 1.12.76;
Remove <dev/acpi/acpica.h> from all files. It is included from
<dev/acpi/acpivar.h>. Ditto for <dev/sysmon/sysmonvar.h>, <sys/bus.h>,
<dev/pci/pcivar.h>, and <dev/isa/isavar.h>.

Also nuke a lot of unused and invalid headers. Some of these are audibly
provided by standard headers (namely <sys/param.h> and <sys/device.h>), some
have nothing to do with ACPI devices (e.g. <sys/syslog.h>), and some are
nonexistent local includes (e.g. "mpu_ym.h"). Moreoever, try to group the
includes into their respective blocks.

Tested with GENERIC and ALL (i386). No functional change.
 1.11  17-Feb-2009  jmcneill branches: 1.11.2;
Cut the amount of spam from acpi devices in roughly half by printing
resources on the same line as autoconf messages. Things like:
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
become:
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 1.10  04-Mar-2008  cube branches: 1.10.4; 1.10.12; 1.10.14; 1.10.18; 1.10.22;
- Split device_t and softc for pcppi(4) and attimer(4)
- Change the attimer <-> pcppi communication using device_t so that
pcppi(4) doesn't have to know about the contents of struct attimer_softc.

XXX pcppi's childdet function is completely wrong. This has to be
XXX revisited later.
 1.9  10-Jan-2008  dyoung branches: 1.9.2; 1.9.6;
Support pcppi(4) detachment.

Use device_t, device_private(). Get rid of a struct device * cast.
 1.8  09-Dec-2007  jmcneill branches: 1.8.2;
Merge jmcneill-pm branch.
 1.7  19-Oct-2007  ad branches: 1.7.2; 1.7.4; 1.7.6;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.6  06-Oct-2007  xtraeme branches: 1.6.2;
Use a two clause license for all the code I contributed.

The envsys code will be changed later.
 1.5  16-Nov-2006  christos branches: 1.5.8; 1.5.22; 1.5.24; 1.5.26;
__unused removal on arguments; approved by core.
 1.4  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.3  20-Feb-2006  kochi branches: 1.3.14; 1.3.16;
use aprint_*
 1.2  11-Dec-2005  christos branches: 1.2.2; 1.2.4; 1.2.6;
merge ktrace-lwp.
 1.1  21-Mar-2005  xtraeme branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Add pcppi(4) ACPI attachment, which matches the "AT-style speaker
sound" ACPI device.

Reviewed by christos@.
 1.1.8.5  17-Mar-2008  yamt sync with head.
 1.1.8.4  21-Jan-2008  yamt sync with head
 1.1.8.3  27-Oct-2007  yamt sync with head.
 1.1.8.2  30-Dec-2006  yamt sync with head.
 1.1.8.1  21-Jun-2006  yamt sync with head.
 1.1.6.2  29-Apr-2005  kent sync with -current
 1.1.6.1  21-Mar-2005  kent file pcppi_acpi.c was added on branch kent-audio2 on 2005-04-29 11:28:45 +0000
 1.1.4.2  01-Apr-2005  skrll Sync with HEAD.
 1.1.4.1  21-Mar-2005  skrll file pcppi_acpi.c was added on branch ktrace-lwp on 2005-04-01 14:29:52 +0000
 1.1.2.2  26-Mar-2005  yamt sync with head.
 1.1.2.1  21-Mar-2005  yamt file pcppi_acpi.c was added on branch yamt-km on 2005-03-26 18:19:18 +0000
 1.2.6.1  22-Apr-2006  simonb Sync with head.
 1.2.4.1  09-Sep-2006  rpaulo sync with head
 1.2.2.1  01-Mar-2006  yamt sync with head.
 1.3.16.2  10-Dec-2006  yamt sync with head.
 1.3.16.1  22-Oct-2006  yamt sync with head
 1.3.14.1  18-Nov-2006  ad Sync with head.
 1.5.26.1  14-Oct-2007  yamt sync with head.
 1.5.24.3  23-Mar-2008  matt sync with HEAD
 1.5.24.2  09-Jan-2008  matt sync with HEAD
 1.5.24.1  06-Nov-2007  matt sync with HEAD
 1.5.22.5  08-Dec-2007  jmcneill Rename pnp(9) -> pmf(9), as requested by many.
 1.5.22.4  06-Nov-2007  joerg Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
three layers (class logic, device logic, bus logic), all of them being
optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
not suspended (even partially), device_is_enabled returns true if the
device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
pnp_system_resume. Before running any suspend/resume handlers, check
that all currently attached devices support power management and bail
out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
can register what events they are interested in and whether the handler
should be global or not.
- Introduce device_active API for devices to mark themselve in use from
either the system or the device. Use this to implement the idle handling
for audio and input devices. This is intended to replace most ad-hoc
watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.
 1.5.22.3  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.5.22.2  07-Oct-2007  joerg Sync with HEAD.
 1.5.22.1  21-Aug-2007  joerg pcppi can use the generic NULL power handler.
 1.5.8.2  23-Oct-2007  ad Sync with head.
 1.5.8.1  09-Oct-2007  ad Sync with head.
 1.6.2.1  25-Oct-2007  bouyer Sync with HEAD.
 1.7.6.1  11-Dec-2007  yamt sync with head.
 1.7.4.1  26-Dec-2007  ad Sync with head.
 1.7.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.8.2.1  10-Jan-2008  bouyer Sync with HEAD
 1.9.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.9.2.1  24-Mar-2008  keiichi sync with head.
 1.10.22.1  21-Apr-2010  matt sync to netbsd-5
 1.10.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.10.14.1  01-May-2009  snj Pull up following revision(s) (requested by jmcneill in ticket #498):
sys/dev/acpi/acpi_ec.c: revision 1.53
sys/dev/acpi/acpi_resource.c: revision 1.27
sys/dev/acpi/atppc_acpi.c: revision 1.16
sys/dev/acpi/attimer_acpi.c: revision 1.12
sys/dev/acpi/com_acpi.c: revision 1.28
sys/dev/acpi/fdc_acpi.c: revision 1.35
sys/dev/acpi/hpet_acpi.c: revision 1.4
sys/dev/acpi/joy_acpi.c: revision 1.9
sys/dev/acpi/lpt_acpi.c: revision 1.18
sys/dev/acpi/mpu_acpi.c: revision 1.9
sys/dev/acpi/pckbc_acpi.c: revision 1.31
sys/dev/acpi/pcppi_acpi.c: revision 1.11
sys/dev/acpi/ug_acpi.c: revision 1.5
sys/dev/acpi/wss_acpi.c: revision 1.20
sys/dev/acpi/ym_acpi.c: revision 1.6
Cut the amount of spam from acpi devices in roughly half by printing
resources on the same line as autoconf messages. Things like:
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
become:
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 1.10.12.1  03-Mar-2009  skrll Sync with HEAD.
 1.10.4.2  11-Mar-2010  yamt sync with head
 1.10.4.1  04-May-2009  yamt sync with head.
 1.11.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.12.76.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed