Home | History | Annotate | Download | only in isa
History log of /src/sys/dev/isa/spkr_pcppi.c
RevisionDateAuthorComments
 1.14  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.13  03-Apr-2021  isaki Rework about the rest note in speaker(4).
- Obsolete the sc_rest callback. The rest note operation can be done by
the common spkr layer. This also fixes PR kern/56060.
This work-in-progress patch was left in my local tree for years. :(
- Improve calculations of tone and rest length.
 1.12  03-Apr-2021  isaki Improve SPKRDEBUG code.
- Replace wrong aprint_debug_dev() with device_printf().
By this, it no longer need to print dev_t.
- Improve some messages.
 1.11  14-Jun-2017  pgoyette branches: 1.11.4; 1.11.22; 1.11.24;
Instead of directly referencing a parent device's code (ie, pcppi_bell()
routine), let the parent device pass a pointer to the code (in the aux
config data). This allows us to load the spkr module without requiring
the pcppi parent device to exist. (The spkr device can also have an
audio as parent.)
 1.10  11-Jun-2017  pgoyette Implement xxx_rescan() and xxx_childdet() functions; these will be
needed when child device wsbell(4) becomes a separately-loadable
module.
 1.9  06-Jan-2017  pgoyette branches: 1.9.2; 1.9.6;
Implement a common spkr_detach() function and call it from the
attachment-specific detach functions. Returns EBUSY if the
device instance is busy, based on whether or not a sc->sc_inbuf
is allocated. The buffer is malloc()d at spkropen time, and is
free()d in spkrclose().

Now we can actually implement the MODULE_CMD_FINI command and
unload the driver at will.

Addresses my PR kern/51785
 1.8  15-Dec-2016  pgoyette Create a single combined module for spkr_pcppi and spkr_audio, and
build it for all architectures.

By doing this, we can handle pcppi, audio, or both attachments with
non-built-in modules.

XXX Still to do: the module currently cannot be unloaded, and the
XXX spkr device(s) currently cannot be detached. (Really, two
XXX sides of the same problem.)
 1.7  14-Dec-2016  christos print more info during autoconfig
 1.6  14-Dec-2016  christos correct spkr softc.
 1.5  13-Dec-2016  christos Restructure speaker devices so that there can be multiple of them, and have
proper softc's.
 1.4  09-Dec-2016  christos fix module build
XXX: spkr module is the pcppi version.
 1.3  09-Dec-2016  christos move spkrio.h out of isa
 1.2  09-Dec-2016  christos more spkr rework.
 1.1  09-Dec-2016  christos split out the pcppi attachment of the speaker
XXX: needs more work
 1.9.6.3  28-Aug-2017  skrll Sync with HEAD
 1.9.6.2  05-Feb-2017  skrll Sync with HEAD
 1.9.6.1  06-Jan-2017  skrll file spkr_pcppi.c was added on branch nick-nhusb on 2017-02-05 13:40:28 +0000
 1.9.2.2  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.9.2.1  06-Jan-2017  pgoyette file spkr_pcppi.c was added on branch pgoyette-localcount on 2017-01-07 08:56:32 +0000
 1.11.24.1  03-Apr-2021  thorpej Sync with HEAD.
 1.11.22.1  03-Apr-2021  thorpej Sync with HEAD.
 1.11.4.2  03-Dec-2017  jdolecek update from HEAD
 1.11.4.1  14-Jun-2017  jdolecek file spkr_pcppi.c was added on branch tls-maxphys on 2017-12-03 11:37:05 +0000

RSS XML Feed