head 1.6; access; symbols netbsd-11-0-RC4:1.6 netbsd-11-0-RC3:1.6 netbsd-11-0-RC2:1.6 netbsd-11-0-RC1:1.6 perseant-exfatfs-base-20250801:1.6 netbsd-11:1.6.0.12 netbsd-11-base:1.6 netbsd-10-1-RELEASE:1.6 perseant-exfatfs-base-20240630:1.6 perseant-exfatfs:1.6.0.10 perseant-exfatfs-base:1.6 netbsd-8-3-RELEASE:1.3 netbsd-9-4-RELEASE:1.5 netbsd-10-0-RELEASE:1.6 netbsd-10-0-RC6:1.6 netbsd-10-0-RC5:1.6 netbsd-10-0-RC4:1.6 netbsd-10-0-RC3:1.6 netbsd-10-0-RC2:1.6 thorpej-ifq:1.6.0.8 thorpej-ifq-base:1.6 thorpej-altq-separation:1.6.0.6 thorpej-altq-separation-base:1.6 netbsd-10-0-RC1:1.6 netbsd-10:1.6.0.4 netbsd-10-base:1.6 bouyer-sunxi-drm:1.6.0.2 bouyer-sunxi-drm-base:1.6 netbsd-9-3-RELEASE:1.5 thorpej-i2c-spi-conf2:1.5.0.24 thorpej-i2c-spi-conf2-base:1.5 thorpej-futex2:1.5.0.22 thorpej-futex2-base:1.5 thorpej-cfargs2:1.5.0.20 thorpej-cfargs2-base:1.5 cjep_sun2x-base1:1.5 cjep_sun2x:1.5.0.18 cjep_sun2x-base:1.5 cjep_staticlib_x-base1:1.5 netbsd-9-2-RELEASE:1.5 cjep_staticlib_x:1.5.0.16 cjep_staticlib_x-base:1.5 thorpej-i2c-spi-conf:1.5.0.14 thorpej-i2c-spi-conf-base:1.5 thorpej-cfargs:1.5.0.12 thorpej-cfargs-base:1.5 thorpej-futex:1.5.0.10 thorpej-futex-base:1.5 netbsd-9-1-RELEASE:1.5 bouyer-xenpvh-base2:1.5 phil-wifi-20200421:1.5 bouyer-xenpvh-base1:1.5 phil-wifi-20200411:1.5 bouyer-xenpvh:1.5.0.8 bouyer-xenpvh-base:1.5 is-mlppp:1.5.0.6 is-mlppp-base:1.5 phil-wifi-20200406:1.5 netbsd-8-2-RELEASE:1.3 ad-namecache-base3:1.5 netbsd-9-0-RELEASE:1.5 netbsd-9-0-RC2:1.5 ad-namecache-base2:1.5 ad-namecache-base1:1.5 ad-namecache:1.5.0.4 ad-namecache-base:1.5 netbsd-9-0-RC1:1.5 phil-wifi-20191119:1.5 netbsd-9:1.5.0.2 netbsd-9-base:1.5 phil-wifi-20190609:1.4 netbsd-8-1-RELEASE:1.3 netbsd-8-1-RC1:1.3 isaki-audio2:1.3.0.24 isaki-audio2-base:1.3 pgoyette-compat-merge-20190127:1.3 pgoyette-compat-20190127:1.3 pgoyette-compat-20190118:1.3 pgoyette-compat-1226:1.3 pgoyette-compat-1126:1.3 pgoyette-compat-1020:1.3 pgoyette-compat-0930:1.3 pgoyette-compat-0906:1.3 jdolecek-ncqfixes:1.3.0.22 jdolecek-ncqfixes-base:1.3 pgoyette-compat-0728:1.3 netbsd-8-0-RELEASE:1.3 phil-wifi:1.3.0.20 phil-wifi-base:1.3 pgoyette-compat-0625:1.3 netbsd-8-0-RC2:1.3 pgoyette-compat-0521:1.3 pgoyette-compat-0502:1.3 pgoyette-compat-0422:1.3 netbsd-8-0-RC1:1.3 pgoyette-compat-0415:1.3 pgoyette-compat-0407:1.3 pgoyette-compat-0330:1.3 pgoyette-compat-0322:1.3 pgoyette-compat-0315:1.3 pgoyette-compat:1.3.0.18 pgoyette-compat-base:1.3 tls-maxphys:1.3.0.16 tls-maxphys-base-20171202:1.3 matt-nb8-mediatek:1.3.0.14 matt-nb8-mediatek-base:1.3 nick-nhusb-base-20170825:1.3 perseant-stdc-iso10646:1.3.0.12 perseant-stdc-iso10646-base:1.3 netbsd-8:1.3.0.10 netbsd-8-base:1.3 prg-localcount2-base3:1.3 prg-localcount2-base2:1.3 prg-localcount2-base1:1.3 prg-localcount2:1.3.0.8 prg-localcount2-base:1.3 pgoyette-localcount-20170426:1.3 bouyer-socketcan-base1:1.3 jdolecek-ncq:1.3.0.6 jdolecek-ncq-base:1.3 pgoyette-localcount-20170320:1.3 nick-nhusb-base-20170204:1.3 bouyer-socketcan:1.3.0.4 bouyer-socketcan-base:1.3 pgoyette-localcount-20170107:1.3 nick-nhusb-base-20161204:1.3 pgoyette-localcount-20161104:1.3 nick-nhusb-base-20161004:1.3 localcount-20160914:1.3 pgoyette-localcount-20160806:1.3 pgoyette-localcount-20160726:1.3 pgoyette-localcount:1.3.0.2 pgoyette-localcount-base:1.3 nick-nhusb-base-20160907:1.3 nick-nhusb-base-20160529:1.3 nick-nhusb-base-20160422:1.3 nick-nhusb-base-20160319:1.3 nick-nhusb-base-20151226:1.3 nick-nhusb-base-20150921:1.3 nick-nhusb-base-20150606:1.3 nick-nhusb:1.2.0.2 nick-nhusb-base-20150406:1.2; locks; strict; comment @# @; 1.6 date 2022.03.21.09.20.04; author jmcneill; state Exp; branches; next 1.5; commitid 7GQHtwViI3Dv34xD; 1.5 date 2019.07.25.00.30.45; author jmcneill; state Exp; branches; next 1.4; commitid N342ey0y0k1LimwB; 1.4 date 2019.05.08.13.40.18; author isaki; state Exp; branches; next 1.3; commitid LEGDdtzAItkeapmB; 1.3 date 2015.05.30.13.47.03; author jmcneill; state Exp; branches 1.3.16.1 1.3.20.1 1.3.24.1; next 1.2; commitid 8QBl5hdugljuttny; 1.2 date 2015.03.28.14.50.20; author jmcneill; state Exp; branches 1.2.2.1; next 1.1; commitid cVYY1PtNUEJwQnfy; 1.1 date 2015.03.28.14.09.59; author jmcneill; state Exp; branches; next ; commitid 4u2HHl06rOmRCnfy; 1.3.16.1 date 2015.05.30.13.47.03; author jdolecek; state dead; branches; next 1.3.16.2; commitid XcIYRZTAh1LmerhA; 1.3.16.2 date 2017.12.03.11.37.01; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.3.20.1 date 2019.06.10.22.07.08; author christos; state Exp; branches; next 1.3.20.2; commitid jtc8rnCzWiEEHGqB; 1.3.20.2 date 2020.04.13.08.04.20; author martin; state Exp; branches; next ; commitid X01YhRUPVUDaec4C; 1.3.24.1 date 2019.05.05.02.31.41; author isaki; state Exp; branches; next ; commitid P6qg5pdPOH2RzXlB; 1.2.2.1 date 2015.03.28.14.50.20; author skrll; state dead; branches; next 1.2.2.2; commitid pz01Zhy7RP6iGxgy; 1.2.2.2 date 2015.04.06.15.18.08; author skrll; state Exp; branches; next 1.2.2.3; commitid pz01Zhy7RP6iGxgy; 1.2.2.3 date 2015.06.06.14.40.07; author skrll; state Exp; branches; next ; commitid O6LVO5i6UulOvnoy; desc @@ 1.6 log @hdaudio: Obsolete HDAUDIO_ENABLE_DISPLAYPORT and HDAUDIO_ENABLE_HDMI Enable display port and HDMI devices by default rather than making this a compile time option. @ text @# $NetBSD: files.hdaudio,v 1.5 2019/07/25 00:30:45 jmcneill Exp $ # # Intel High Definition Audio (Revision 1.0) # defflag HDAUDIOVERBOSE defflag opt_hdaudio.h HDAUDIO_DEBUG defflag opt_hdaudio.h HDAFG_DEBUG defflag opt_hdaudio.h HDAFG_HDMI_DEBUG obsolete defflag HDAUDIO_ENABLE_HDMI obsolete defflag HDAUDIO_ENABLE_DISPLAYPORT define hdaudiobus {[nid = -1]} device hdaudio: hdaudiobus file dev/hdaudio/hdaudio.c hdaudio file dev/hdaudio/hdaudio_verbose.c hdaudio & hdaudioverbose device hdafg: audiobus attach hdafg at hdaudiobus file dev/hdaudio/hdafg.c hdafg file dev/hdaudio/hdafg_dd.c hdafg @ 1.5 log @Replace the HDAUDIO_32BIT_ACCESS option with a runtime option. Set it for tegra_hdaudio, but not for the pci attachment. Add hdaudio@@pci to GENERIC64 @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.4 2019/05/08 13:40:18 isaki Exp $ a6 2 defflag opt_hdaudio.h HDAUDIO_ENABLE_HDMI defflag opt_hdaudio.h HDAUDIO_ENABLE_DISPLAYPORT d11 3 @ 1.4 log @Merge isaki-audio2 branch, the overhaul of audio subsystem. - Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly. Improve halfduplex support. - Many bugs are fixed including deadlocks, resource leaks, abuses, etc. - Simplify audio filter mechanism. The encoding/channels/frequency conversions are completely handled in the upper layer. So the hard- ware driver only converts its hardware encoding (if necessary). - audio_hw_if changes: - Obsoletes query_encoding and add query_format instead. - Obsoletes set_params and add set_format instead. - Remove drain, setfd, mappage. - The call sequences are changed. - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. - ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced. - cleanup config attributes: au*conv and mulaw. - All hardware drivers should follow it (I've done as much as possible). Some file paths are changed: - dev/audio.c -> dev/audio/audio.c (rewritten) - dev/audiovar.h -> dev/audio/audiovar.h - dev/audio_dai.h -> dev/audio/audio_dai.h - dev/audio_if.h -> dev/audio/audio_if.h - dev/audiobell.c -> dev/audio/audiobell.c - dev/audiobellvar.h -> dev/audio/audiobellvar.h - dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.3 2015/05/30 13:47:03 jmcneill Exp $ a9 1 defflag opt_hdaudio.h HDAUDIO_32BIT_ACCESS @ 1.3 log @add HDAUDIO_32BIT_ACCESS option, which wraps mmio read/writes to only use 32-bit accesses @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.2 2015/03/28 14:50:20 jmcneill Exp $ d19 1 a19 1 device hdafg: audiobus, auconv, aurateconv, mulaw @ 1.3.20.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.4 2019/05/08 13:40:18 isaki Exp $ d19 1 a19 1 device hdafg: audiobus @ 1.3.20.2 log @Mostly merge changes from HEAD upto 20200411 @ text @d1 1 a1 1 # $NetBSD$ d10 1 @ 1.3.24.1 log @Remove obsoleted au{,rate,vol}conv and mulaw attributes. audio provides the equivalent of them inseparably. @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.3 2015/05/30 13:47:03 jmcneill Exp $ d19 1 a19 1 device hdafg: audiobus @ 1.3.16.1 log @file files.hdaudio was added on branch tls-maxphys on 2017-12-03 11:37:01 +0000 @ text @d1 22 @ 1.3.16.2 log @update from HEAD @ text @a0 22 # $NetBSD$ # # Intel High Definition Audio (Revision 1.0) # defflag HDAUDIOVERBOSE defflag opt_hdaudio.h HDAUDIO_ENABLE_HDMI defflag opt_hdaudio.h HDAUDIO_ENABLE_DISPLAYPORT defflag opt_hdaudio.h HDAUDIO_DEBUG defflag opt_hdaudio.h HDAUDIO_32BIT_ACCESS defflag opt_hdaudio.h HDAFG_DEBUG defflag opt_hdaudio.h HDAFG_HDMI_DEBUG define hdaudiobus {[nid = -1]} device hdaudio: hdaudiobus file dev/hdaudio/hdaudio.c hdaudio file dev/hdaudio/hdaudio_verbose.c hdaudio & hdaudioverbose device hdafg: audiobus, auconv, aurateconv, mulaw attach hdafg at hdaudiobus file dev/hdaudio/hdafg.c hdafg file dev/hdaudio/hdafg_dd.c hdafg @ 1.2 log @replace hdaudio_config.h with defflags @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.1 2015/03/28 14:09:59 jmcneill Exp $ d10 1 @ 1.2.2.1 log @file files.hdaudio was added on branch nick-nhusb on 2015-04-06 15:18:08 +0000 @ text @d1 21 @ 1.2.2.2 log @Sync with HEAD @ text @a0 21 # $NetBSD: files.hdaudio,v 1.2 2015/03/28 14:50:20 jmcneill Exp $ # # Intel High Definition Audio (Revision 1.0) # defflag HDAUDIOVERBOSE defflag opt_hdaudio.h HDAUDIO_ENABLE_HDMI defflag opt_hdaudio.h HDAUDIO_ENABLE_DISPLAYPORT defflag opt_hdaudio.h HDAUDIO_DEBUG defflag opt_hdaudio.h HDAFG_DEBUG defflag opt_hdaudio.h HDAFG_HDMI_DEBUG define hdaudiobus {[nid = -1]} device hdaudio: hdaudiobus file dev/hdaudio/hdaudio.c hdaudio file dev/hdaudio/hdaudio_verbose.c hdaudio & hdaudioverbose device hdafg: audiobus, auconv, aurateconv, mulaw attach hdafg at hdaudiobus file dev/hdaudio/hdafg.c hdafg file dev/hdaudio/hdafg_dd.c hdafg @ 1.2.2.3 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.2.2.2 2015/04/06 15:18:08 skrll Exp $ a9 1 defflag opt_hdaudio.h HDAUDIO_32BIT_ACCESS @ 1.1 log @Split hdaudio and PCI attach glue. Even though the driver was written with this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci. @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.7 2014/11/09 20:14:01 nonaka Exp $ d6 6 a11 1 defflag HDAUDIOVERBOSE @