Subject: CVS commit: src/dist/iscsi
To: None <source-changes@NetBSD.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: source-changes
Date: 04/24/2006 21:59:03
Module Name: src
Committed By: agc
Date: Mon Apr 24 21:59:03 UTC 2006
Modified Files:
src/dist/iscsi/include: iscsi.h scsi_cmd_codes.h
src/dist/iscsi/src: disk.c
Log Message:
+ Some minor formatting cleanup in the header files.
+ Properly pad the names with spaces (with thanks to Bill Studenmund)
+ Use the official T10 vendor name, "NetBSD".
+ Minor cleanup in the INQUIRY command
+ Rather than just punting on the REPORT LUNs SCSI command, emulate it
properly. This change makes the target work with the Solaris initiator:
AVAILABLE DISK SELECTIONS:
0. c1d0 <DEFAULT cyl 29728 alt 2 hd 64 sec 63>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
1. c2t5d0 <DEFAULT cyl 97 alt 2 hd 64 sec 32>
/iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget00001,0
Specify disk (enter its number): 1
To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 src/dist/iscsi/include/iscsi.h
cvs rdiff -r1.4 -r1.5 src/dist/iscsi/include/scsi_cmd_codes.h
cvs rdiff -r1.14 -r1.15 src/dist/iscsi/src/disk.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.