summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-08-28 08:43:03 +0000
committermarcel <marcel@FreeBSD.org>1999-08-28 08:43:03 +0000
commit76374868ab7ae7c2f76bca925bb3045e059c0864 (patch)
treebb836b92a14e8ce9c602b74718c9d89e2a782f2d /sys/alpha/linux
parentf77ff8b800335fb9c943c95d678874fdf028d1c2 (diff)
downloadFreeBSD-src-76374868ab7ae7c2f76bca925bb3045e059c0864.zip
FreeBSD-src-76374868ab7ae7c2f76bca925bb3045e059c0864.tar.gz
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>
Diffstat (limited to 'sys/alpha/linux')
-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 4e5db53..e55a367 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
OpenPOWER on IntegriCloud