From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6749C3A5A2 for ; Fri, 23 Aug 2019 17:09:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8A08321019 for ; Fri, 23 Aug 2019 17:09:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733032AbfHWRJs (ORCPT ); Fri, 23 Aug 2019 13:09:48 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:54547 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732892AbfHWRJs (ORCPT ); Fri, 23 Aug 2019 13:09:48 -0400 Authentication-Results: esa6.microchip.iphmx.com; dkim=none (message not signed) header.i=none; spf=Pass smtp.mailfrom=don.brace@microsemi.com; spf=None smtp.helo=postmaster@smtp.microsemi.com Received-SPF: Pass (esa6.microchip.iphmx.com: domain of don.brace@microsemi.com designates 208.19.100.22 as permitted sender) identity=mailfrom; client-ip=208.19.100.22; receiver=esa6.microchip.iphmx.com; envelope-from="don.brace@microsemi.com"; x-sender="don.brace@microsemi.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:208.19.100.20 ip4:208.19.100.21 ip4:208.19.100.22 ip4:208.19.100.23 ip4:208.19.99.221 ip4:208.19.99.222 ip4:208.19.99.223 ip4:208.19.99.225 -all" Received-SPF: None (esa6.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@smtp.microsemi.com) identity=helo; client-ip=208.19.100.22; receiver=esa6.microchip.iphmx.com; envelope-from="don.brace@microsemi.com"; x-sender="postmaster@smtp.microsemi.com"; x-conformance=spf_only X-Ironport-Dmarc-Check-Result: validskip IronPort-SDR: NTSwxJTb2GezLpKo9Keb6Ttq+otLyR2O3mk/UKwnpvPllvzRv/EGRpB6xhmc3r4elH/9E7Ej/e 06Pos1gkg93xqZlplPOS8aR+bOI5yNih0oKgGoKUqlCXUi4qGua2TjEyArmtlz+sefZY/20zoz zBiY6S1sJKdaE2tL5g8D+j9OW6PfkJ8e1byfXV8LtKFGOHCUmK5ouwLaovt1XpK3U1p76vXpzx +SjBUBGQ2XB4ay487I/QxKcND9sJXxa9rwTLNhfVI/eXR4kNoAFXtizznihWVaE3coCxBB4AIH JQA= X-IronPort-AV: E=Sophos;i="5.64,422,1559545200"; d="scan'208";a="43481529" Received: from unknown (HELO smtp.microsemi.com) ([208.19.100.22]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 23 Aug 2019 10:09:47 -0700 Received: from AVMBX3.microsemi.net (10.100.34.33) by AVMBX2.microsemi.net (10.100.34.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 23 Aug 2019 10:09:46 -0700 Received: from AVMBX2.microsemi.net (10.100.34.32) by AVMBX3.microsemi.net (10.100.34.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 23 Aug 2019 10:09:45 -0700 Received: from [127.0.1.1] (10.238.32.34) by avmbx2.microsemi.net (10.100.34.32) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Fri, 23 Aug 2019 10:09:45 -0700 Subject: [PATCH V2 5/6] smartpqi: add sysfs entries From: Don Brace To: CC: , , , , , , , Date: Fri, 23 Aug 2019 12:09:45 -0500 Message-ID: <156658018539.6969.6615784479966977972.stgit@brunhilda> In-Reply-To: <156658004701.6969.3969396310784177369.stgit@brunhilda> References: <156658004701.6969.3969396310784177369.stgit@brunhilda> User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-man-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org From: Murthy Bhat Reviewed-by: Matt Perricone Reviewed-by: Scott Benesh Signed-off-by: Murthy Bhat Signed-off-by: Don Brace --- man4/smartpqi.4 | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/man4/smartpqi.4 b/man4/smartpqi.4 index 45a2017bd..6e2cd1328 100644 --- a/man4/smartpqi.4 +++ b/man4/smartpqi.4 @@ -161,6 +161,86 @@ above for an explanation of the .I lockup_action values. +.TP +.IR /sys/class/scsi_host/host*/driver_version +The +.I driver_version +attribute is read-only. +This attribute contains the smartpqi driver version. +.IP +For example: +.IP +.in +2n +.EX +$ \c +.B cat /sys/class/scsi_host/host1/driver_version +1.1.2-126 +.EE +.in +.TP +.IR /sys/class/scsi_host/host*/firmware_version +The +.I firmware_version +attribute is read-only. +This attribute contains the controller firmware version. +.IP +For example: +.IP +.in +2n +.EX +$ \c +.B cat /sys/class/scsi_host/host1/firmware_version +1.29-112 +.EE +.in +.TP +.IR /sys/class/scsi_host/host*/model +The +.I model +attribute is read-only. +This attribute contains the product identification string of the controller. +.IP +For example: +.IP +.in +2n +.EX +$ \c +.B cat /sys/class/scsi_host/host1/model +1100-16i +.EE +.in +.TP +.IR /sys/class/scsi_host/host*/serial_number +The +.I serial_number +attribute is read-only. +This attribute contains the unique identification number of the controller. +.IP +For example: +.IP +.in +2n +.EX +$ \c +.B cat /sys/class/scsi_host/host1/serial_number +6A316373777 +.EE +.in +.TP +.IR /sys/class/scsi_host/host*/vendor +The +.I vendor +attribute is read-only. +This attribute contains the vendor identification string of the controller. +.IP +For example: +.IP +.in +2n +.EX +$ \c +.B cat /sys/class/scsi_host/host1/vendor +Adaptec +.EE +.in .SS SmartPQI-specific disk attribute files in \f[BI]/sys\fP In the file specifications below, .I c