From patchwork Sun Mar 4 13:35:34 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: 10257669 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 82A7D60211 for ; Sun, 4 Mar 2018 13:35:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 643A228797 for ; Sun, 4 Mar 2018 13:35:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 545B3287EA; Sun, 4 Mar 2018 13:35:41 +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 9A3B228797 for ; Sun, 4 Mar 2018 13:35:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752602AbeCDNfj (ORCPT ); Sun, 4 Mar 2018 08:35:39 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:37266 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752542AbeCDNfi (ORCPT ); Sun, 4 Mar 2018 08:35:38 -0500 Received: by mail-wm0-f68.google.com with SMTP id 139so10774524wmn.2 for ; Sun, 04 Mar 2018 05:35:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=2lt68vz4dR0e6SLT2Ak7ThWxl1NpO7jzjLf/37b5xkU=; b=J358f8bqx9XLKt3xJ1VElagn/j2FBk2lIO8a2LgjVIRXItq0zHRllcOq5B70R+9zEM dsDHJEABmxuDitKdjveSxPriUcjKLiIZ7BTD6mnZHVroD2gbTEE3dLAEcsH9etC8q2RD 4uJIYfZSVRwTrZvJuCotuF8iv1TGB1At3MIgJbE7/ShaDc3Pk7TTz20FQSTdMNpGb5wC efBYscsX/sRUCqj6F9gz8n/6YLwC6suiDyb5F99cAD9sq95H0OXeqb8K9D/oqq+G66Kk AdqpgSwTz+B19qoGjQ2xPbItn878q8l7YePfrv70a4ZNn8nzc9qC+BY0yQzGqywQWpKT toTA== 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=2lt68vz4dR0e6SLT2Ak7ThWxl1NpO7jzjLf/37b5xkU=; b=CgdwUW3N0RhVWf0zopMftxkqD3FVUOs6ebof+6r30SWG6PO2WT+SxAHZeEtWcb97rn WKBonDk5LjWkQHy5NyEi8paB775EV98KEok5s0FSS31LK8+WYY/+6yvi1UAAzFRK+YTd mm8eNutcWIq8P6TToOFGTbpQfTmY4Lk7vSX3Umx9WUF5B6oya3qJq47J/wTAEdgoeAjW YXdVyC+Rfvo2p3+wz/rtsSpMGELafm6fIEIps4ud1Yf0yRiKW6/9W93kurIGYlA0n6R0 B/7B+OpoJAd8NeGcf3mhwTJYIKGcr1clOHLHEvdw3UGEQhsfr9IlgE0JR9Rh+dh19gvK 2K0g== X-Gm-Message-State: AElRT7FNypAhn+l7BI3hApt3dpl3WwMrXa0VRYr6ggQcui8oV1AAfckU 6dD7B5JmMVjBoua7iBZg3g== X-Google-Smtp-Source: AG47ELsnKYyclEM3dNJA+QZwSLA9kkQmo/WMcdW3fSw+FNYmL9S3GXjXByyZ/5wvKPYoUN9haDQzWw== X-Received: by 10.28.175.139 with SMTP id y133mr5501836wme.98.1520170536730; Sun, 04 Mar 2018 05:35:36 -0800 (PST) Received: from localhost (191.red-83-39-212.dynamicip.rima-tde.net. [83.39.212.191]) by smtp.gmail.com with ESMTPSA id i44sm9637540wri.23.2018.03.04.05.35.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Mar 2018 05:35:35 -0800 (PST) From: Xose Vazquez Perez Cc: Xose Vazquez Perez , Anthony Cheung , Takahiro Yasui , Matthias Rudolph , Hannes Reinecke , "Martin K . Petersen" , "James E . J . Bottomley" , SCSI ML Subject: [PATCH] scsi: devinfo: add HP DISK-SUBSYSTEM device, for HP XP arrays Date: Sun, 4 Mar 2018 14:35:34 +0100 Message-Id: <20180304133534.5794-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: Hannes Reinecke 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},