[7771] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

different definitions for status codes

daemon@ATHENA.MIT.EDU (Raju K V)
Thu Dec 30 05:56:26 1999

Date:   Thu, 30 Dec 1999 16:32:04 +0530
From: Raju K V <raju.kurunkad@wipro.com>
To: Linux SCSI mailing list <linux-scsi@vger.rutgers.edu>
Message-ID: <19991230163204.B12368@wipro.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

hi,

I have noticed that the status codes definitions in
linux/include/scsi/scsi.h are right shifted by 1 bit.

examples:

In linux: 

#define COMMAND_TERMINATED   0x11

In solaris(x86):

#define STATUS_TERMINATED               0x22

SCSI-II protocol:

R R 1 0 0 0 1 R  COMMAND TERMINATED

Any reason for this?

Thanks in advance,
Raju


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post