summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2014-06-04 12:05:47 +0000
committerAlexander Motin <mav@FreeBSD.org>2014-06-04 12:05:47 +0000
commit94fe9f959c04586f1f19759af3945534fbfab984 (patch)
treef6c53fdf141c1ead360aebe5f925d2a71234fe0e /sys/compat/linux/linux_ioctl.c
parenta31f80290e314ab67a347d4cb772a5d3e85cb56b (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r--sys/compat/linux/linux_ioctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index e1e13716aa1a..77feed0870ee 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -2751,6 +2751,9 @@ linux_ioctl_sg(struct thread *td, struct linux_ioctl_args *args)
case LINUX_SG_GET_SCSI_ID:
args->cmd = SG_GET_SCSI_ID;
break;
+ case LINUX_SG_GET_SG_TABLESIZE:
+ args->cmd = SG_GET_SG_TABLESIZE;
+ break;
default:
return (ENODEV);
}