#
1.14 |
|
25-Sep-2022 |
thorpej |
Remove unnecessary include of <sys/malloc.h>.
|
Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
#
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.
|
Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 nick-nhusb-base-20170825 perseant-stdc-iso10646-base
|
#
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.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
#
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.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.
|
Revision tags: thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 nick-nhusb-base-20170825 perseant-stdc-iso10646-base
|
#
1.11 |
|
14-Jun-2017 |
pgoyette |
branches: 1.11.4; 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.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
#
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.11 |
|
14-Jun-2017 |
pgoyette |
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.
|
Revision tags: netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
#
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.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.
|
Revision tags: netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107
|
#
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
|
Revision tags: pgoyette-localcount-20170107
|
#
1.9 |
|
06-Jan-2017 |
pgoyette |
branches: 1.9.2; 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.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
|