]> err.no Git - linux-2.6/commit
[SCSI] Improve inquiry printing
authorMatthew Wilcox <matthew@wil.cx>
Tue, 4 Jul 2006 18:15:20 +0000 (12:15 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 6 Aug 2006 20:59:26 +0000 (15:59 -0500)
commit4ff36718ede26ee2da73f2dae94d71e2b06845fc
treed9188d88bb3f60427c9976ed0f3da8bf433bb757
parent008cd5bbfb4763322837cd1f7c621f02ebe22fef
[SCSI] Improve inquiry printing

 - Replace scsi_device_types array API with scsi_device_type function API.
   Gets rid of a lot of common code, as well as being easier to use.
 - Add the new device types in SPC4 r05a, and rename some of the older ones.
 - Reformat the printing of inquiry data; now fits on one line and
   includes PQ.

I think I've addressed all the feedback from the previous versions.  My
current test box prints:

scsi 2:0:1:0: Direct access     HP 18.2G ATLAS10K3_18_SCA HP05 PQ: 0 ANSI: 2

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/block/cciss_scsi.c
drivers/scsi/fcal.c
drivers/scsi/g_NCR5380.c
drivers/scsi/megaraid.c
drivers/scsi/scsi.c
drivers/scsi/scsi_proc.c
drivers/scsi/scsi_scan.c
include/scsi/scsi.h