diff options
author | scf <scf@FreeBSD.org> | 2010-12-30 02:18:04 +0000 |
---|---|---|
committer | scf <scf@FreeBSD.org> | 2010-12-30 02:18:04 +0000 |
commit | 3e36dcd710c8b8a7638536ec936c17b3ca606096 (patch) | |
tree | fc75c950fb581c8790fd4edabe4b12a09c1bdd07 /sys/compat/linux/linux_ioctl.h | |
parent | d34b4913e63be3c0b206a84bd66770349126026e (diff) | |
download | FreeBSD-src-3e36dcd710c8b8a7638536ec936c17b3ca606096.zip FreeBSD-src-3e36dcd710c8b8a7638536ec936c17b3ca606096.tar.gz |
Fix the LINUX_SOUND_MIXER_INFO ioctl to return success after the
information is set to FreeBSD. It had been falling through to the end
of linux_ioctl_sound() and returning ENOIOCTL. Noticed when running the
Linux ALSA amixer tool.
Add a LINUX_SOUND_MIXER_READ_CAPS ioctl which is used by the Skype
v2.1.0.81 binary.
Reviewed by: gavin
MFC after: 2 weeks
Diffstat (limited to 'sys/compat/linux/linux_ioctl.h')
-rw-r--r-- | sys/compat/linux/linux_ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.h b/sys/compat/linux/linux_ioctl.h index 608db4b..08ccf88 100644 --- a/sys/compat/linux/linux_ioctl.h +++ b/sys/compat/linux/linux_ioctl.h @@ -267,6 +267,7 @@ #define LINUX_SOUND_MIXER_INFO 0x4d65 #define LINUX_OSS_GETVERSION 0x4d76 #define LINUX_SOUND_MIXER_READ_STEREODEVS 0x4dfb +#define LINUX_SOUND_MIXER_READ_CAPS 0x4dfc #define LINUX_SOUND_MIXER_READ_RECMASK 0x4dfd #define LINUX_SOUND_MIXER_READ_DEVMASK 0x4dfe #define LINUX_SOUND_MIXER_WRITE_RECSRC 0x4dff |