head 1.8; access; symbols perseant-exfatfs-base-20250801:1.8 perseant-exfatfs-base-20240630:1.8 perseant-exfatfs:1.8.0.24 perseant-exfatfs-base:1.8 bouyer-sunxi-drm:1.8.0.22 bouyer-sunxi-drm-base:1.8 cjep_sun2x:1.8.0.20 cjep_sun2x-base:1.8 cjep_staticlib_x-base1:1.8 cjep_staticlib_x:1.8.0.18 cjep_staticlib_x-base:1.8 thorpej-futex-base:1.8 bouyer-xenpvh-base2:1.8 phil-wifi-20200421:1.8 bouyer-xenpvh-base1:1.8 phil-wifi-20200411:1.8 bouyer-xenpvh:1.8.0.16 bouyer-xenpvh-base:1.8 phil-wifi-20200406:1.8 ad-namecache-base3:1.8 ad-namecache-base2:1.8 ad-namecache-base1:1.8 ad-namecache:1.8.0.14 ad-namecache-base:1.8 isaki-audio2:1.8.0.12 isaki-audio2-base:1.8 pgoyette-compat-merge-20190127:1.8 pgoyette-compat-20190127:1.8 pgoyette-compat-20190118:1.8 pgoyette-compat-1226:1.8 pgoyette-compat-1126:1.8 pgoyette-compat-1020:1.8 pgoyette-compat-0930:1.8 pgoyette-compat-0906:1.8 netbsd-7-2-RELEASE:1.5 pgoyette-compat-0728:1.8 pgoyette-compat-0625:1.8 pgoyette-compat-0521:1.8 pgoyette-compat-0502:1.8 pgoyette-compat-0422:1.8 pgoyette-compat-0415:1.8 pgoyette-compat-0407:1.8 pgoyette-compat-0330:1.8 pgoyette-compat-0322:1.8 pgoyette-compat-0315:1.8 netbsd-7-1-2-RELEASE:1.5 pgoyette-compat:1.8.0.10 pgoyette-compat-base:1.8 netbsd-7-1-1-RELEASE:1.5 perseant-stdc-iso10646:1.8.0.8 perseant-stdc-iso10646-base:1.8 prg-localcount2-base3:1.8 prg-localcount2-base2:1.8 prg-localcount2-base1:1.8 prg-localcount2:1.8.0.6 prg-localcount2-base:1.8 pgoyette-localcount-20170426:1.8 bouyer-socketcan-base1:1.8 pgoyette-localcount-20170320:1.8 netbsd-7-1:1.5.0.36 netbsd-7-1-RELEASE:1.5 netbsd-7-1-RC2:1.5 netbsd-7-nhusb-base-20170116:1.5 bouyer-socketcan:1.8.0.4 bouyer-socketcan-base:1.8 pgoyette-localcount-20170107:1.8 netbsd-7-1-RC1:1.5 pgoyette-localcount-20161104:1.8 netbsd-7-0-2-RELEASE:1.5 localcount-20160914:1.8 netbsd-7-nhusb:1.5.0.34 netbsd-7-nhusb-base:1.5 pgoyette-localcount-20160806:1.8 pgoyette-localcount-20160726:1.8 pgoyette-localcount:1.8.0.2 pgoyette-localcount-base:1.8 netbsd-7-0-1-RELEASE:1.5 netbsd-7-0:1.5.0.32 netbsd-7-0-RELEASE:1.5 netbsd-7-0-RC3:1.5 netbsd-7-0-RC2:1.5 netbsd-7-0-RC1:1.5 nick-nhusb:1.7.0.2 nick-nhusb-base:1.7 netbsd-5-2-3-RELEASE:1.2.4.2 netbsd-5-1-5-RELEASE:1.2.4.2 netbsd-6-0-6-RELEASE:1.5 netbsd-6-1-5-RELEASE:1.5 netbsd-7:1.5.0.30 netbsd-7-base:1.5 yamt-pagecache-base9:1.5 yamt-pagecache-tag8:1.5 netbsd-6-1-4-RELEASE:1.5 netbsd-6-0-5-RELEASE:1.5 tls-earlyentropy:1.5.0.28 tls-earlyentropy-base:1.5 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5 riastradh-drm2-base3:1.5 netbsd-6-1-3-RELEASE:1.5 netbsd-6-0-4-RELEASE:1.5 netbsd-5-2-2-RELEASE:1.2.4.2 netbsd-5-1-4-RELEASE:1.2.4.2 netbsd-6-1-2-RELEASE:1.5 netbsd-6-0-3-RELEASE:1.5 netbsd-5-2-1-RELEASE:1.2.4.2 netbsd-5-1-3-RELEASE:1.2.4.2 rmind-smpnet-nbase:1.5 netbsd-6-1-1-RELEASE:1.5 riastradh-drm2-base2:1.5 riastradh-drm2-base1:1.5 riastradh-drm2:1.5.0.26 riastradh-drm2-base:1.5 rmind-smpnet:1.5.0.18 rmind-smpnet-base:1.5 netbsd-6-1:1.5.0.24 netbsd-6-0-2-RELEASE:1.5 netbsd-6-1-RELEASE:1.5 khorben-n900:1.5.0.22 netbsd-6-1-RC4:1.5 netbsd-6-1-RC3:1.5 agc-symver:1.5.0.20 agc-symver-base:1.5 netbsd-6-1-RC2:1.5 netbsd-6-1-RC1:1.5 yamt-pagecache-base8:1.5 netbsd-5-2:1.2.4.2.0.6 netbsd-6-0-1-RELEASE:1.5 yamt-pagecache-base7:1.5 netbsd-5-2-RELEASE:1.2.4.2 netbsd-5-2-RC1:1.2.4.2 matt-nb6-plus-nbase:1.5 yamt-pagecache-base6:1.5 netbsd-6-0:1.5.0.16 netbsd-6-0-RELEASE:1.5 netbsd-6-0-RC2:1.5 tls-maxphys:1.5.0.14 tls-maxphys-base:1.5 matt-nb6-plus:1.5.0.12 matt-nb6-plus-base:1.5 netbsd-6-0-RC1:1.5 jmcneill-usbmp-base10:1.5 yamt-pagecache-base5:1.5 jmcneill-usbmp-base9:1.5 yamt-pagecache-base4:1.5 jmcneill-usbmp-base8:1.5 jmcneill-usbmp-base7:1.5 jmcneill-usbmp-base6:1.5 jmcneill-usbmp-base5:1.5 jmcneill-usbmp-base4:1.5 jmcneill-usbmp-base3:1.5 jmcneill-usbmp-pre-base2:1.5 jmcneill-usbmp-base2:1.5 netbsd-6:1.5.0.10 netbsd-6-base:1.5 netbsd-5-1-2-RELEASE:1.2.4.2 netbsd-5-1-1-RELEASE:1.2.4.2 jmcneill-usbmp:1.5.0.8 jmcneill-usbmp-base:1.5 jmcneill-audiomp3:1.5.0.6 jmcneill-audiomp3-base:1.5 yamt-pagecache-base3:1.5 yamt-pagecache-base2:1.5 yamt-pagecache:1.5.0.4 yamt-pagecache-base:1.5 rmind-uvmplock-nbase:1.5 cherry-xenmp:1.5.0.2 cherry-xenmp-base:1.5 bouyer-quota2-nbase:1.5 bouyer-quota2:1.3.0.4 bouyer-quota2-base:1.5 jruoho-x86intr:1.3.0.2 jruoho-x86intr-base:1.3 matt-mips64-premerge-20101231:1.3 matt-nb5-mips64-premerge-20101231:1.2.10.2 matt-nb5-pq3:1.2.4.2.0.4 matt-nb5-pq3-base:1.2.4.2 netbsd-5-1:1.2.4.2.0.2 netbsd-5-1-RELEASE:1.2.4.2 uebayasi-xip-base4:1.3 uebayasi-xip-base3:1.3 yamt-nfs-mp-base11:1.3 netbsd-5-1-RC4:1.2.4.2 matt-nb5-mips64-k15:1.2.10.2 uebayasi-xip-base2:1.2 yamt-nfs-mp-base10:1.2 netbsd-5-1-RC3:1.2.4.2 netbsd-5-1-RC2:1.2.4.2 uebayasi-xip-base1:1.2 netbsd-5-1-RC1:1.2.4.2 matt-nb5-mips64:1.2.0.10 rmind-uvmplock:1.2.0.8 rmind-uvmplock-base:1.5 yamt-nfs-mp-base9:1.2 uebayasi-xip:1.2.0.6 uebayasi-xip-base:1.2 matt-premerge-20091211:1.2 jym-xensuspend-nbase:1.2 netbsd-5:1.2.0.4 yamt-nfs-mp:1.2.0.2 yamt-nfs-mp-base8:1.2; locks; strict; comment @# @; 1.8 date 2015.03.28.14.09.59; author jmcneill; state dead; branches; next 1.7; commitid 4u2HHl06rOmRCnfy; 1.7 date 2014.11.09.20.14.01; author nonaka; state Exp; branches 1.7.2.1; next 1.6; commitid Fc7hfNhrq2eB6yXx; 1.6 date 2014.09.19.17.23.35; author christos; state Exp; branches; next 1.5; commitid EbYXosOtL73UNYQx; 1.5 date 2011.02.12.15.15.34; author jmcneill; state Exp; branches 1.5.14.1; next 1.4; 1.4 date 2011.02.12.15.01.00; author jmcneill; state Exp; branches; next 1.3; 1.3 date 2010.09.02.01.55.31; author jmcneill; state Exp; branches 1.3.2.1 1.3.4.1; next 1.2; 1.2 date 2009.09.08.09.50.56; author jmcneill; state Exp; branches 1.2.2.1 1.2.4.1 1.2.6.1 1.2.8.1 1.2.10.1; next 1.1; 1.1 date 2009.09.06.17.25.56; author sborrill; state Exp; branches; next ; 1.7.2.1 date 2015.04.06.15.18.12; author skrll; state dead; branches; next ; commitid pz01Zhy7RP6iGxgy; 1.5.14.1 date 2017.12.03.11.37.29; author jdolecek; state dead; branches; next ; commitid XcIYRZTAh1LmerhA; 1.3.2.1 date 2011.06.06.09.08.29; author jruoho; state Exp; branches; next ; 1.3.4.1 date 2011.02.17.12.00.14; author bouyer; state Exp; branches; next ; 1.2.2.1 date 2009.09.08.09.50.56; author yamt; state dead; branches; next 1.2.2.2; 1.2.2.2 date 2009.09.16.13.37.56; author yamt; state Exp; branches; next 1.2.2.3; 1.2.2.3 date 2010.10.09.03.32.23; author yamt; state Exp; branches; next ; 1.2.4.1 date 2009.09.08.09.50.56; author snj; state dead; branches; next 1.2.4.2; 1.2.4.2 date 2009.09.26.19.52.10; author snj; state Exp; branches; next ; 1.2.6.1 date 2010.10.22.07.22.12; author uebayasi; state Exp; branches; next ; 1.2.8.1 date 2011.03.05.20.54.00; author rmind; state Exp; branches; next ; 1.2.10.1 date 2009.09.08.09.50.56; author matt; state dead; branches; next 1.2.10.2; 1.2.10.2 date 2010.04.21.00.27.49; author matt; state Exp; branches; next ; desc @@ 1.8 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 @# $NetBSD: files.hdaudio,v 1.7 2014/11/09 20:14:01 nonaka Exp $ # # Intel High Definition Audio (Revision 1.0) # defflag HDAUDIOVERBOSE define hdaudiobus {[nid = -1]} device hdaudio: hdaudiobus file dev/pci/hdaudio/hdaudio.c hdaudio file dev/pci/hdaudio/hdaudio_verbose.c hdaudio & hdaudioverbose device hdafg: audiobus, auconv, aurateconv, mulaw attach hdafg at hdaudiobus file dev/pci/hdaudio/hdafg.c hdafg file dev/pci/hdaudio/hdafg_dd.c hdafg # hdaudio@@pci attach hdaudio at pci with hdaudio_pci file dev/pci/hdaudio/hdaudio_pci.c hdaudio_pci @ 1.7 log @defflag HDAUDIOVERBOSE. @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.6 2014/09/19 17:23:35 christos Exp $ @ 1.7.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.7 2014/11/09 20:14:01 nonaka Exp $ @ 1.6 log @Pull out the device list and auto-generate it. @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.5 2011/02/12 15:15:34 jmcneill Exp $ d6 2 @ 1.5 log @sync with bsd-hdaudio r15: - fix an off-by-one in block size calculation - add register definitions from HDA034-A2, HDA035-A, HDA036-A - rename hdaudio_afg_* symbols to hdafg_* - add experimental HDMI and DisplayPort support code (needs help from DRM) - don't poll the RIRB unless cold - add support for unsolicited messages - 'hdaudioctl graph' works again - print each assoc's widget tree when boot -x @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.4 2011/02/12 15:01:00 jmcneill Exp $ d8 2 a9 2 file dev/pci/hdaudio/hdaudio.c hdaudio file dev/pci/hdaudio/hdaudio_ids.c hdaudio @ 1.5.14.1 log @update from HEAD @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.5 2011/02/12 15:15:34 jmcneill Exp $ @ 1.4 log @rename hdaudio_afg.c to hdafg.c @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.3 2010/09/02 01:55:31 jmcneill Exp $ d14 1 @ 1.3 log @add a list of codec id->name mappings. they are printed at attach time and exported via the AUDIO_GETDEV ioctl @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.2 2009/09/08 09:50:56 jmcneill Exp $ d13 1 a13 1 file dev/pci/hdaudio/hdaudio_afg.c hdafg @ 1.3.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.5 2011/02/12 15:15:34 jmcneill Exp $ d13 1 a13 2 file dev/pci/hdaudio/hdafg.c hdafg file dev/pci/hdaudio/hdafg_dd.c hdafg @ 1.3.4.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.5 2011/02/12 15:15:34 jmcneill Exp $ d13 1 a13 2 file dev/pci/hdaudio/hdafg.c hdafg file dev/pci/hdaudio/hdafg_dd.c hdafg @ 1.2 log @PR# kern/42007: hdaudio panics on P5W DH Deluxe (amd64) Make sure hdafg pulls in auconv mulaw support. @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.1 2009/09/06 17:25:56 sborrill Exp $ d9 1 @ 1.2.8.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD$ a8 1 file dev/pci/hdaudio/hdaudio_ids.c hdaudio d12 1 a12 2 file dev/pci/hdaudio/hdafg.c hdafg file dev/pci/hdaudio/hdafg_dd.c hdafg @ 1.2.6.1 log @Sync with HEAD (-D20101022). @ text @d1 1 a1 1 # $NetBSD$ a8 1 file dev/pci/hdaudio/hdaudio_ids.c hdaudio @ 1.2.10.1 log @file files.hdaudio was added on branch matt-nb5-mips64 on 2010-04-21 00:27:49 +0000 @ text @d1 16 @ 1.2.10.2 log @sync to netbsd-5 @ text @a0 16 # $NetBSD: files.hdaudio,v 1.2.4.2 2009/09/26 19:52:10 snj Exp $ # # Intel High Definition Audio (Revision 1.0) # define hdaudiobus {[nid = -1]} device hdaudio: hdaudiobus file dev/pci/hdaudio/hdaudio.c hdaudio device hdafg: audiobus, auconv, aurateconv, mulaw attach hdafg at hdaudiobus file dev/pci/hdaudio/hdaudio_afg.c hdafg # hdaudio@@pci attach hdaudio at pci with hdaudio_pci file dev/pci/hdaudio/hdaudio_pci.c hdaudio_pci @ 1.2.4.1 log @file files.hdaudio was added on branch netbsd-5 on 2009-09-26 19:52:10 +0000 @ text @d1 16 @ 1.2.4.2 log @Pull up following revision(s) (requested by jmcneill in ticket #946): distrib/sets/lists/man/mi: revision 1.1155 doc/CHANGES: revision 1.1285 etc/MAKEDEV.tmpl: revision 1.128 share/man/man4/Makefile: revision 1.498 via patch share/man/man4/hdaudio.4: revision 1.1-1.3 share/man/man8/MAKEDEV.8: revision 1.36 sys/arch/amd64/conf/GENERIC: revision 1.250-1.251 sys/arch/amd64/conf/XEN3_DOM0: revision 1.44-1.45 sys/arch/i386/conf/ALL: revision 1.206-1.207 sys/arch/i386/conf/GENERIC: revision 1.942-1.943 sys/arch/i386/conf/XEN3_DOM0: patch sys/conf/majors: revision 1.47 via patch sys/dev/pci/hdaudio/files.hdaudio: revision 1.1-1.2 sys/dev/pci/hdaudio/hdaudio.c: revision 1.1-1.4 sys/dev/pci/hdaudio/hdaudio_afg.c: revisions 1.1-1.14 sys/dev/pci/hdaudio/hdaudio_mixer.h: revisions 1.1-1.3 sys/dev/pci/hdaudio/hdaudio_pci.c: revisions 1.1-1.2 sys/dev/pci/hdaudio/hdaudioio.h: revisions 1.1-1.2 sys/dev/pci/hdaudio/hdaudioreg.h: revisions 1.1-1.3 sys/dev/pci/hdaudio/hdaudiovar.h: revisions 1.1-1.4 sys/dev/pci/files.pci: revisions 1.319 and 1.322 via patch hdaudio(4) is a standards-compliant driver for High Definition Audio. It will replace azalia(4) after testing. To use, comment out azalia in your kernel configuration and uncomment the hdaudio and hdafg lines so it reads: hdaudio* at pci? dev ? function ? hdafg* at hdaudiobus? You should also: cd /dev sh MAKEDEV audio @ text @a0 16 # $NetBSD: files.hdaudio,v 1.2 2009/09/08 09:50:56 jmcneill Exp $ # # Intel High Definition Audio (Revision 1.0) # define hdaudiobus {[nid = -1]} device hdaudio: hdaudiobus file dev/pci/hdaudio/hdaudio.c hdaudio device hdafg: audiobus, auconv, aurateconv, mulaw attach hdafg at hdaudiobus file dev/pci/hdaudio/hdaudio_afg.c hdafg # hdaudio@@pci attach hdaudio at pci with hdaudio_pci file dev/pci/hdaudio/hdaudio_pci.c hdaudio_pci @ 1.2.2.1 log @file files.hdaudio was added on branch yamt-nfs-mp on 2009-09-16 13:37:56 +0000 @ text @d1 16 @ 1.2.2.2 log @sync with head @ text @a0 16 # $NetBSD$ # # Intel High Definition Audio (Revision 1.0) # define hdaudiobus {[nid = -1]} device hdaudio: hdaudiobus file dev/pci/hdaudio/hdaudio.c hdaudio device hdafg: audiobus, auconv, aurateconv, mulaw attach hdafg at hdaudiobus file dev/pci/hdaudio/hdaudio_afg.c hdafg # hdaudio@@pci attach hdaudio at pci with hdaudio_pci file dev/pci/hdaudio/hdaudio_pci.c hdaudio_pci @ 1.2.2.3 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.hdaudio,v 1.2.2.2 2009/09/16 13:37:56 yamt Exp $ a8 1 file dev/pci/hdaudio/hdaudio_ids.c hdaudio @ 1.1 log @hdaudio(4) is a standards-compliant driver for Intel High Definition Audio. It will replace azalia(4) after testing. To use, comment out azalia in your kernel configuration and uncomment the hdaudio and hdafg lines so it reads: # Intel High Definition Audio hdaudio* at pci? dev ? function ? hdafg* at hdaudiobus? You should also: cd /dev sh MAKEDEV audio @ text @d1 1 a1 1 # $NetBSD$ d7 1 a7 1 device hdaudio: hdaudiobus, auconv, aurateconv d10 1 a10 1 device hdafg: audiobus, auconv, aurateconv @