[9221] in linux-scsi channel archive

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

[PATCH] to scsi.h

daemon@ATHENA.MIT.EDU (Robert Baruch)
Wed Jul 19 15:05:27 2000

Message-ID: <3975F921.8D72667C@dol.net>
Date:	Wed, 19 Jul 2000 14:53:21 -0400
From:	Robert Baruch <autophile@dol.net>
MIME-Version: 1.0
To:	linux-scsi@vger.rutgers.edu
Content-Type: multipart/mixed;
 boundary="------------A1E1AB17F068781A651DBBF0"

This is a multi-part message in MIME format.
--------------A1E1AB17F068781A651DBBF0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi All,

I couldn't find the maintainer for the linux/include/scsi/scsi.h file,
so I'll just submit my patch here and hope for the best :)

This patch adds four SCSI command codes which are implemented by the HP
8200e USB CD-Writer Plus.

Patch with patch -p1 against kernel 2.4.0-test4.

Thanks,

--Rob
--------------A1E1AB17F068781A651DBBF0
Content-Type: text/plain; charset=us-ascii;
 name="patch-2.4.0-t4-scsi"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-2.4.0-t4-scsi"

diff -Naurb v2.4.0-t4/linux/include/scsi/scsi.h v2.4.0-t4-cdrom/linux/include/scsi/scsi.h
--- v2.4.0-t4/linux/include/scsi/scsi.h	Mon Dec 13 01:55:54 1999
+++ v2.4.0-t4-cdrom/linux/include/scsi/scsi.h	Wed Jul 19 14:50:34 2000
@@ -75,7 +75,10 @@
 #define MODE_SELECT_10        0x55
 #define RESERVE_10            0x56
 #define RELEASE_10            0x57
+#define READ_MASTER_CUE	      0x59
 #define MODE_SENSE_10         0x5a
+#define READ_BUFFER_CAPACITY  0x5c
+#define SEND_CUE_SHEET	      0x5d
 #define PERSISTENT_RESERVE_IN 0x5e
 #define PERSISTENT_RESERVE_OUT 0x5f
 #define MOVE_MEDIUM           0xa5
@@ -87,6 +90,7 @@
 #define SEARCH_LOW_12         0xb2
 #define READ_ELEMENT_STATUS   0xb8
 #define SEND_VOLUME_TAG       0xb6
+#define WRITE_CONTINUE	      0xe1
 #define WRITE_LONG_2          0xea
 
 /*

--------------A1E1AB17F068781A651DBBF0--



-
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