linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi_devinfo: update Hitachi entries
@ 2009-06-01 16:46 Takahiro Yasui
  2009-06-01 16:54 ` James Bottomley
  0 siblings, 1 reply; 6+ messages in thread
From: Takahiro Yasui @ 2009-06-01 16:46 UTC (permalink / raw)
  To: linux-scsi; +Cc: James Bottomley

Hi,

This is scsi_devinfo flag updates for the Hitachi storages.

Three models, OPEN-/DF400/DF500, can handle REPORT_LUN, and
the BLIST_REPORTLUN2 flag needs to be set. DF600 returns
ANSI 03h (SPC) and no flag is required.

Thanks,
---
Takahiro Yasui
Hitachi Computer Products (America), Inc.


Signed-off-by: Takahiro Yasui <tyasui@redhat.com>
---
 drivers/scsi/scsi_devinfo.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Index: linux-2.6.30-rc7/drivers/scsi/scsi_devinfo.c
===================================================================
--- linux-2.6.30-rc7.orig/drivers/scsi/scsi_devinfo.c
+++ linux-2.6.30-rc7/drivers/scsi/scsi_devinfo.c
@@ -161,11 +161,10 @@ static struct {
 	{"Generic", "USB SD Reader", "1.00", BLIST_FORCELUN | BLIST_INQUIRY_36},
 	{"Generic", "USB Storage-SMC", "0180", BLIST_FORCELUN | BLIST_INQUIRY_36},
 	{"Generic", "USB Storage-SMC", "0207", BLIST_FORCELUN | BLIST_INQUIRY_36},
-	{"HITACHI", "DF400", "*", BLIST_SPARSELUN},
-	{"HITACHI", "DF500", "*", BLIST_SPARSELUN},
-	{"HITACHI", "DF600", "*", BLIST_SPARSELUN},
+	{"HITACHI", "DF400", "*", BLIST_REPORTLUN2},
+	{"HITACHI", "DF500", "*", BLIST_REPORTLUN2},
 	{"HITACHI", "DISK-SUBSYSTEM", "*", BLIST_ATTACH_PQ3 | BLIST_SPARSELUN | BLIST_LARGELUN},
-	{"HITACHI", "OPEN-E", "*", BLIST_ATTACH_PQ3 | BLIST_SPARSELUN | BLIST_LARGELUN},
+	{"HITACHI", "OPEN-", "*", BLIST_REPORTLUN2},
 	{"HITACHI", "OP-C-", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
 	{"HITACHI", "3380-", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
 	{"HITACHI", "3390-", "*", BLIST_SPARSELUN | BLIST_LARGELUN},



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-27  0:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-01 16:46 [PATCH] scsi_devinfo: update Hitachi entries Takahiro Yasui
2009-06-01 16:54 ` James Bottomley
2009-06-01 17:38   ` Takahiro Yasui
2009-06-01 20:06     ` James Bottomley
2009-06-03 16:40       ` Takahiro Yasui
2009-06-27  0:18         ` Takahiro Yasui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).