aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
authorDoug Ambrisko <ambrisko@FreeBSD.org>2002-02-07 15:12:53 +0000
committerDoug Ambrisko <ambrisko@FreeBSD.org>2002-02-07 15:12:53 +0000
commitc4ac85d82e029dea7fbcfbcc5215926db537501e (patch)
treeee8ed883e8c54cf13348b0f86b17e66449921d3b /sys/compat/linux/linux_ioctl.c
parent5fae8978a365a1c4571b8a447a5487b218d954e2 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r--sys/compat/linux/linux_ioctl.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index 6de4058f9006..6a39bd255923 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -1710,6 +1710,20 @@ linux_ioctl_socket(struct proc *p, struct linux_ioctl_args *args)
args->cmd = SIOCDELMULTI;
error = ioctl(p, (struct ioctl_args *)args);
break;
+
+ /*
+ * XXX This is slightly bogus, but these ioctls are currently
+ * XXX only used by the aironet (if_an) network driver.
+ */
+ case LINUX_SIOCDEVPRIVATE:
+ args->cmd = SIOCGPRIVATE_0;
+ error = ioctl(p, (struct ioctl_args *)args);
+ break;
+
+ case LINUX_SIOCDEVPRIVATE+1:
+ args->cmd = SIOCGPRIVATE_1;
+ error = ioctl(p, (struct ioctl_args *)args);
+ break;
}
if (ifp != NULL)