Sync with -current.
Sync with -current.
Sync with -current (again)
Sync with -current.
Sync with -current.
Add nec86*.[ch] files from NetBSD/pc98.  Nothing modified yet.
Add 'pcm' device to config files and mainbus.c.
Add glue file for luna88k.
Make them able to compile, at least.
Make this able to compile, at least.
Add IPL_AUDIO, same level as IPL_{TTY,VM}.
Make them able to link, at least.
Add audio device.
Also need to make /dev/{sound,mixer,audio,audioctl}.audio, with major=25.
Add $OpenBSD$ tag.
Attached to the device tree.
--
pcm0 at mainbus0: PC-9801-86 soundboard
audio0 at pcm0
--
We need mtx_{enter,leave}.
Add bps and msb information.  Now output of 'audioctl -f' becomes correct.
--
% audioctl -f /dev/audioctl | grep encoding
encodings=mulaw:8:1:1*,alaw:8:1:1*,ulinear:8:1:1,slinear:8:1:1*,ulinear_le:16:2:1*,ulinear_be:16:2:1*,slinear_le:16:2:1,slinear_be:16:2:1*
play.encoding=mulaw
record.encoding=mulaw
Delete __P macros.
Need to delete a ')' to compile :-<
Make the interrupt handling better.