1+ .. SPDX-License-Identifier: GPL-2.0
12
3+ =====================================
24SMARTPQI - Microsemi Smart PQI Driver
3- -----------------------------------------
5+ =====================================
46
57This file describes the smartpqi SCSI driver for Microsemi
68(http://www.microsemi.com) PQI controllers. The smartpqi driver
@@ -16,65 +18,61 @@ For Microsemi smartpqi controller support, enable the smartpqi driver
1618when configuring the kernel.
1719
1820For more information on the PQI Queuing Interface, please see:
19- http://www.t10.org/drafts.htm
20- http://www.t10.org/members/w_pqi2.htm
2121
22- Supported devices:
23- ------------------
22+ - http://www.t10.org/drafts.htm
23+ - http://www.t10.org/members/w_pqi2.htm
24+
25+ Supported devices
26+ =================
2427<Controller names to be added as they become publicly available.>
2528
2629smartpqi specific entries in /sys
27- -----------------------------
30+ =================================
2831
29- smartpqi host attributes:
30- - ------------------------
31- /sys/class/scsi_host/host*/rescan
32- /sys/class/scsi_host/host*/driver_version
32+ smartpqi host attributes
33+ ------------------------
34+ - /sys/class/scsi_host/host*/rescan
35+ - /sys/class/scsi_host/host*/driver_version
3336
3437 The host rescan attribute is a write only attribute. Writing to this
3538 attribute will trigger the driver to scan for new, changed, or removed
3639 devices and notify the SCSI mid-layer of any changes detected.
3740
3841 The version attribute is read-only and will return the driver version
3942 and the controller firmware version.
40- For example:
43+ For example::
44+
4145 driver: 0.9.13-370
4246 firmware: 0.01-522
4347
44- smartpqi sas device attributes
45- ------------------------------
48+ smartpqi sas device attributes
49+ ------------------------------
4650 HBA devices are added to the SAS transport layer. These attributes are
4751 automatically added by the SAS transport layer.
4852
4953 /sys/class/sas_device/end_device-X:X/sas_address
5054 /sys/class/sas_device/end_device-X:X/enclosure_identifier
5155 /sys/class/sas_device/end_device-X:X/scsi_target_id
5256
53- smartpqi specific ioctls:
54- -------------------------
57+ smartpqi specific ioctls
58+ ========================
5559
5660 For compatibility with applications written for the cciss protocol.
5761
58- CCISS_DEREGDISK
59- CCISS_REGNEWDISK
60- CCISS_REGNEWD
61-
62- The above three ioctls all do exactly the same thing, which is to cause the driver
63- to rescan for new devices. This does exactly the same thing as writing to the
64- smartpqi specific host "rescan" attribute.
62+ CCISS_DEREGDISK, CCISS_REGNEWDISK, CCISS_REGNEWD
63+ The above three ioctls all do exactly the same thing, which is to cause the driver
64+ to rescan for new devices. This does exactly the same thing as writing to the
65+ smartpqi specific host "rescan" attribute.
6566
6667 CCISS_GETPCIINFO
67-
6868 Returns PCI domain, bus, device and function and "board ID" (PCI subsystem ID).
6969
7070 CCISS_GETDRIVVER
71+ Returns driver version in three bytes encoded as::
7172
72- Returns driver version in three bytes encoded as:
73- (DRIVER_MAJOR << 28) | (DRIVER_MINOR << 24) | (DRIVER_RELEASE << 16) | DRIVER_REVISION;
73+ (DRIVER_MAJOR << 28) | (DRIVER_MINOR << 24) | (DRIVER_RELEASE << 16) | DRIVER_REVISION;
7474
7575 CCISS_PASSTHRU
76-
7776 Allows "BMIC" and "CISS" commands to be passed through to the Smart Storage Array.
7877 These are used extensively by the SSA Array Configuration Utility, SNMP storage
7978 agents, etc.
80-
0 commit comments