Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/attimer.c
RevisionDateAuthorComments
 1.12  28-Oct-2017  riastradh Kill some more extern struct cfdriver declarations.

Down with externs in .c!
 1.11  23-Nov-2011  jmcneill branches: 1.11.8;
Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From
the original ad-audiomp branch notes:

Add MP locking to the audio drivers.

Making the audio drivers MP safe is necessary before efforts
can be made to make the VM system MP safe.

The are two locks per device instance, an ISR lock and
a character device lock. The ISR lock replaces calls to
splaudio()/splx(), and will be held across calls to device
methods which were called at splaudio() before (e.g.
trigger_output). The character device lock is held across
calls to nearly all of the methods, excluding some only
used for initialization, e.g. get_locks.

Welcome to 5.99.57.
 1.10  07-Apr-2009  dyoung branches: 1.10.12; 1.10.14;
Make pcppi(4) detach the "speaker" from attimer(4), so that the
corresponding attimer(4) resource is not perpetually busy: now it
is possible to detach and to reattach pcppi(4). Make attimer(4)'s
device-detachment hook return EBUSY if pcppi(4) is still attached, so
that pcppi(4) cannot end up with a dangling pointer to attimer(4).
 1.9  12-Jun-2008  cegger branches: 1.9.4; 1.9.8; 1.9.10;
use device_lookup_private to get softc
 1.8  29-Apr-2008  martin branches: 1.8.2; 1.8.4;
Convert to new 2 clause license
 1.7  04-Mar-2008  cube branches: 1.7.2; 1.7.4;
- 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.6  03-Jan-2008  dyoung branches: 1.6.2; 1.6.6;
Detach attimer at acpi, attimer at isa.
 1.5  09-Dec-2007  jmcneill branches: 1.5.2;
Merge jmcneill-pm branch.
 1.4  19-Oct-2007  ad branches: 1.4.2; 1.4.4; 1.4.6;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.3  10-Sep-2007  cube branches: 1.3.4;
Remove 3rd clause and my name from all the licences which were only in my
name.
 1.2  11-Dec-2005  christos branches: 1.2.30; 1.2.44; 1.2.46;
merge ktrace-lwp.
 1.1  25-Mar-2005  cube branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Add attimer(4) driver, with ISA and ACPI attachments.

attimer(4) is the new body of the part of pcppi(4) that mapped the TIMER1
register to set the pitch of the bell. It was necessary to separate them
in order to have a working ACPI attachment (as the two appear as different
devices in the ACPI structures).
 1.1.8.3  17-Mar-2008  yamt sync with head.
 1.1.8.2  21-Jan-2008  yamt sync with head
 1.1.8.1  27-Oct-2007  yamt sync with head.
 1.1.6.2  29-Apr-2005  kent sync with -current
 1.1.6.1  25-Mar-2005  kent file attimer.c was added on branch kent-audio2 on 2005-04-29 11:28:49 +0000
 1.1.4.2  01-Apr-2005  skrll Sync with HEAD.
 1.1.4.1  25-Mar-2005  skrll file attimer.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  25-Mar-2005  yamt file attimer.c was added on branch yamt-km on 2005-03-26 18:19:19 +0000
 1.2.46.3  23-Mar-2008  matt sync with HEAD
 1.2.46.2  09-Jan-2008  matt sync with HEAD
 1.2.46.1  06-Nov-2007  matt sync with HEAD
 1.2.44.5  08-Dec-2007  jmcneill Rename pnp(9) -> pmf(9), as requested by many.
 1.2.44.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.2.44.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.2.44.2  02-Oct-2007  joerg Sync with HEAD.
 1.2.44.1  05-Aug-2007  jmcneill Certain devices either don't require a power handler, or are restored
on resume outside of the pnp power management framework. For such devices,
introduce the null power handler, pnp_generic_power.
 1.2.30.2  23-Oct-2007  ad Sync with head.
 1.2.30.1  09-Oct-2007  ad Sync with head.
 1.3.4.1  25-Oct-2007  bouyer Sync with HEAD.
 1.4.6.1  11-Dec-2007  yamt sync with head.
 1.4.4.1  26-Dec-2007  ad Sync with head.
 1.4.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.5.2.1  08-Jan-2008  bouyer Sync with HEAD
 1.6.6.3  29-Jun-2008  mjf Sync with HEAD.
 1.6.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.6.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.6.2.1  24-Mar-2008  keiichi sync with head.
 1.7.4.2  04-May-2009  yamt sync with head.
 1.7.4.1  16-May-2008  yamt sync with head.
 1.7.2.2  17-Jun-2008  yamt sync with head.
 1.7.2.1  18-May-2008  yamt sync with head.
 1.8.4.1  18-Jun-2008  simonb Sync with head.
 1.8.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.9.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.8.1  09-Dec-2008  ad Checkpoint work on MIDI.
 1.9.4.1  28-Apr-2009  skrll Sync with HEAD.
 1.10.14.1  19-Nov-2011  jmcneill port ad-audiomp2 branch changes to 5.99.56
todo:
- port ad-audiomp2 pcppi changes
- these drivers need to be fixed:
- emuxki
- gcscaudio
- hdafg
- uaudio
- umidi
- MD audio drivers
 1.10.12.1  17-Apr-2012  yamt sync with head
 1.11.8.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed