aboutsummaryrefslogtreecommitdiff
path: root/src/sg_raw.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2020-07-31 00:46:40 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2020-07-31 00:46:40 +0000
commit33f7b2296c779583acd5475484f57552ba437c41 (patch)
tree4d1c9a0b184f002cbdfd7401972ca2d2143c09f0 /src/sg_raw.c
parent2d6de6e3c9fa1ef28360bbbc235a764aba708277 (diff)
downloadsg3_utils-33f7b2296c779583acd5475484f57552ba437c41.tar.gz
sg_raw: increase maximum data-in/out size from 64 KB to 1 MB; testing sgh_dd and sg_mrq_dd work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@859 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_raw.c')
-rw-r--r--src/sg_raw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sg_raw.c b/src/sg_raw.c
index 07e40bfb..15763dce 100644
--- a/src/sg_raw.c
+++ b/src/sg_raw.c
@@ -1,7 +1,7 @@
/*
* A utility program originally written for the Linux OS SCSI subsystem.
*
- * Copyright (C) 2000-2019 Ingo van Lil <inguin@gmx.de>
+ * Copyright (C) 2000-2020 Ingo van Lil <inguin@gmx.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -39,12 +39,12 @@
#include "sg_pr2serr.h"
#include "sg_unaligned.h"
-#define SG_RAW_VERSION "0.4.32 (2019-12-26)"
+#define SG_RAW_VERSION "0.4.33 (2020-07-30)"
#define DEFAULT_TIMEOUT 20
#define MIN_SCSI_CDBSZ 6
#define MAX_SCSI_CDBSZ 260
-#define MAX_SCSI_DXLEN (64 * 1024)
+#define MAX_SCSI_DXLEN (1024 * 1024)
#define NVME_ADDR_DATA_IN 0xfffffffffffffffe
#define NVME_ADDR_DATA_OUT 0xfffffffffffffffd