From patchwork Thu Mar 15 17:32:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 10285399 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 298916061F for ; Thu, 15 Mar 2018 17:32:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1BB27283C7 for ; Thu, 15 Mar 2018 17:32:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 102B2285B6; Thu, 15 Mar 2018 17:32:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C025283C7 for ; Thu, 15 Mar 2018 17:32:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752555AbeCORcd (ORCPT ); Thu, 15 Mar 2018 13:32:33 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34601 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752525AbeCORcZ (ORCPT ); Thu, 15 Mar 2018 13:32:25 -0400 Received: by mail-wm0-f67.google.com with SMTP id a20so24112744wmd.1 for ; Thu, 15 Mar 2018 10:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=vFyuxGcGrohWqCiAvJyMH8yOrJDa1TXEH75kAXj/Bxk=; b=mbOlcawhjoW2wspJpGPpCER7l4LLiA/0VA12vUFKkC7jx4behZ/lzdbIvClXNJnlYp z3g3IbEvRdc3pvnZBF6l2tJH96VljMxfh89MKjwQGBivZS1EItJrmx0qJ5CPBL1EU9aL bZr1ZJLMpSMwN6MNniVmlCn5N1mGs4WEnFmDUxtIEFNgcTVxeqGHIxBfZxZL+SLnfBCi hoPSSimkG5R4+0aeH1jSQadYA7pvCeNQ//W4OX40hSaFxxIPiMzRO4W6STua/oaNxisz goAySaH+FB3MhKNeCZeBAlNsZpNrodAXrdDPsG7SnpJSw2EwQ1hM5hOSqQnBa1CP2Lyl VtDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vFyuxGcGrohWqCiAvJyMH8yOrJDa1TXEH75kAXj/Bxk=; b=q8VBcz0btTAdFq4UImnT1V4pqu4Kqzz9XIiuAGh4t/kxDhL156iukvt6ogY4EY4sR/ k1FiYuvl6uEmc7HgCPGcoipwn/lGxC/HeQpSXzfEzHnLjOMNFD4+pHlk+AK0bQ5hjp+V BQ/Dla4OJs2ulBfyH4w2cBDBpeyAH3GDlhckuM6EV4FMZfat0Idzp+D/iYPqyY4yPtjU +PY4OrT0KOMlvn6ss6cbT4RKKqVTcmRLSmRA5thMMIjiwY1IPCxIXlviU7mtz/EhSRNT iB2BHl5wIEWSHvAr738+zUEsOErS2PbvF0tHpmjBFD6szSpHQii8r4ymsjt5Oxq1fgkB 1hHw== X-Gm-Message-State: AElRT7GLZNso4NJ+NnziiUc0dkRpokPJallG/R8Zy5AbcLbo/eJwFuKj pBYzH/Ety9c1oNJr2PW0ig== X-Google-Smtp-Source: AG47ELsOaabCeFAdkAbyHCcO8fB70z3DshCXxWDqrIsJ2ee2oQvEEVv6clwcs/tw7VqR/UxRBo+QYA== X-Received: by 10.28.146.68 with SMTP id u65mr5876237wmd.107.1521135144023; Thu, 15 Mar 2018 10:32:24 -0700 (PDT) Received: from localhost ([46.222.133.8]) by smtp.gmail.com with ESMTPSA id 140sm5741263wmi.34.2018.03.15.10.32.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Mar 2018 10:32:23 -0700 (PDT) From: Xose Vazquez Perez Cc: Xose Vazquez Perez , Anthony Cheung , Takahiro Yasui , Matthias Rudolph , "Martin K . Petersen" , "James E . J . Bottomley" , SCSI ML Subject: [PATCH resend] scsi: devinfo: add HP DISK-SUBSYSTEM device, for HP XP arrays Date: Thu, 15 Mar 2018 18:32:01 +0100 Message-Id: <20180315173201.29796-1-xose.vazquez@gmail.com> X-Mailer: git-send-email 2.14.3 To: unlisted-recipients:; (no To-header on input) Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP "The DISK-SUBSYSTEM is a special model name returned when LUs are not installed. For example, when LU#0 is not installed in "OPEN-" models, LU#0 is detected as the DISK-SUBSYSTEM model": https://marc.info/?l=linux-scsi&m=125424006417825 It's missing for HP XP rebranded arrays, "HP"/"OPEN-". Only the HITACHI one is present: 13f7e5acc8b329080672c13f05f252ace5b79825 627511e3e67553b04f6917c03e39b797df210e04 Cc: Anthony Cheung Cc: Takahiro Yasui Cc: Matthias Rudolph Cc: Martin K. Petersen Cc: James E.J. Bottomley Cc: SCSI ML Signed-off-by: Xose Vazquez Perez --- drivers/scsi/scsi_devinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c index f3b117246d47..4a2d276c42eb 100644 --- a/drivers/scsi/scsi_devinfo.c +++ b/drivers/scsi/scsi_devinfo.c @@ -189,6 +189,7 @@ static struct { {"HP", "C5713A", NULL, BLIST_NOREPORTLUN}, {"HP", "DF400", "*", BLIST_REPORTLUN2}, {"HP", "DF500", "*", BLIST_REPORTLUN2}, + {"HP", "DISK-SUBSYSTEM", "*", BLIST_REPORTLUN2}, {"HP", "OP-C-", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, {"HP", "3380-", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, {"HP", "3390-", "*", BLIST_SPARSELUN | BLIST_LARGELUN},