From 2348328a4576e1d70c13aa2974d78293f1ccd9f4 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Fri, 15 Dec 2006 16:30:30 +0000 Subject: [PATCH] - Patch from Ming Zhang : Small patch to enhance the 2TB support. MS Windows only like a 12 byte response. It seems to still follow the sbc2r10 spec instead of the r16 spec we use. detailed info can be found at http://sourceforge.net/mailarchive/forum.php?thread_id=31236894&forum_id=40837 - Small cleanup git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@64 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_fileio.c | 2 +- scst/src/scst_mem.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_fileio.c b/scst/src/dev_handlers/scst_fileio.c index 3113f637f..bb4480afe 100644 --- a/scst/src/dev_handlers/scst_fileio.c +++ b/scst/src/dev_handlers/scst_fileio.c @@ -47,7 +47,7 @@ #define SCST_FIO_REV " 096" #define READ_CAP_LEN 8 -#define READ_CAP16_LEN 32 +#define READ_CAP16_LEN 12 #define MAX_USN_LEN 20 diff --git a/scst/src/scst_mem.c b/scst/src/scst_mem.c index 5fca2ecf0..a35c4517a 100644 --- a/scst/src/scst_mem.c +++ b/scst/src/scst_mem.c @@ -31,7 +31,6 @@ #include "scsi_tgt.h" #include "scst_priv.h" -#include "scst_debug.h" #include "scst_mem.h" /*