diff options
author | netchild <netchild@FreeBSD.org> | 2006-11-26 11:55:48 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-11-26 11:55:48 +0000 |
commit | 70fe7b890e66532cef253d3bad928093268a24fd (patch) | |
tree | 3e7d39ea12782cabc0776df23893b0e00e2f658a /sys/dev/sound | |
parent | 8faa969094e5951c13e9b9a74f1e6a2377428792 (diff) | |
download | FreeBSD-src-70fe7b890e66532cef253d3bad928093268a24fd.zip FreeBSD-src-70fe7b890e66532cef253d3bad928093268a24fd.tar.gz |
MFP4 (109713):
Add OSS_GETVERSION ioctl for compatibility.
Some ports expect this and fail to compile on -current ATM.
Submitted by: ryanb
Diffstat (limited to 'sys/dev/sound')
-rw-r--r-- | sys/dev/sound/pcm/mixer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index 1682c54..d0f6946 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -830,6 +830,9 @@ mixer_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode, struct thread case SNDCTL_DSP_SET_RECSRC: ret = mixer_set_recroute(m, *arg_i); break; + case OSS_GETVERSION: + *arg_i = SOUND_VERSION; + break; default: ret = ENXIO; } |