aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-08-28 08:43:03 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-08-28 08:43:03 +0000
commit86f95e6b6d691fd71245967ca2cc603717c9fb96 (patch)
tree855e46178f55fcc9971ba9e7eb660bf9798820ef /sys/alpha
parentc805b031d1542c9a3ef95f3cfd1e059896a3936d (diff)
downloadsrc-86f95e6b6d691fd71245967ca2cc603717c9fb96.tar.gz
src-86f95e6b6d691fd71245967ca2cc603717c9fb96.zip
Implement the OSS_GETVERSION ioctl. The version returned can be changed through
the sysctl variable `compat.linux.oss_version'. PR: 12917 Originator: Dean Lombardo <dlombardo@excite.com>
Notes
Notes: svn path=/head/; revision=50500
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/linux/linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/linux/linux.h b/sys/alpha/linux/linux.h
index 4e5db53e99cf..e55a3671c70f 100644
--- a/sys/alpha/linux/linux.h
+++ b/sys/alpha/linux/linux.h
@@ -612,6 +612,8 @@ struct trapframe;
#define LINUX_SOUND_MIXER_WRITE_LINE3 0x4d10
#define LINUX_SOUND_MIXER_READ_DEVMASK 0x4dfe
+#define LINUX_OSS_GETVERSION 0x4d76
+
/* Socket system defines */
#define LINUX_FIOSETOWN 0x8901
#define LINUX_SIOCSPGRP 0x8902