summaryrefslogtreecommitdiffstats
path: root/sys/sys/soundcard.h
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-11-26 11:55:48 +0000
committernetchild <netchild@FreeBSD.org>2006-11-26 11:55:48 +0000
commit70fe7b890e66532cef253d3bad928093268a24fd (patch)
tree3e7d39ea12782cabc0776df23893b0e00e2f658a /sys/sys/soundcard.h
parent8faa969094e5951c13e9b9a74f1e6a2377428792 (diff)
downloadFreeBSD-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/soundcard.h')
-rw-r--r--sys/sys/soundcard.h5
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.
*
OpenPOWER on IntegriCloud