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/sys | |
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/sys')
-rw-r--r-- | sys/sys/soundcard.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h index 0342da3..0ae5969 100644 --- a/sys/sys/soundcard.h +++ b/sys/sys/soundcard.h @@ -1608,6 +1608,11 @@ typedef unsigned short oss_peaks_t[MAX_PEAK_CHANNELS]; #define SNDCTL_DSP_GETOPEAKS _IOR('P', 44, oss_peaks_t) #define SNDCTL_DSP_POLICY _IOW('P', 45, int) /* See the manual */ +/* + * OSS_SYSIFO is obsolete. Use SNDCTL_SYSINFO insteads. + */ +#define OSS_GETVERSION _IOR ('M', 118, int) + /** * @brief Argument for SNDCTL_SYSINFO ioctl. * |