diff options
author | mav <mav@FreeBSD.org> | 2014-06-04 12:05:47 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2014-06-04 12:05:47 +0000 |
commit | 797781309bb17ad8d041d64461891d9b9a4e71a8 (patch) | |
tree | f6c53fdf141c1ead360aebe5f925d2a71234fe0e /sys/compat/linux | |
parent | d44dd4ee4a32f038f17befff7d10d25203facc46 (diff) | |
download | FreeBSD-src-797781309bb17ad8d041d64461891d9b9a4e71a8.zip FreeBSD-src-797781309bb17ad8d041d64461891d9b9a4e71a8.tar.gz |
- Add support for SG_GET_SG_TABLESIZE IOCTL to report that we don't support
scatter/gather lists.
- Return error for still unsupported SG 3.x API read/write calls.
MFC after: 1 month
Diffstat (limited to 'sys/compat/linux')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index e1e1371..77feed0 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); } |