Skip to content

Commit a756185

Browse files
mchehabmartinkpetersen
authored andcommitted
scsi: docs: convert megaraid.txt to ReST
Link: https://lore.kernel.org/r/b7ee59230c5a33ff6d60edba0d0bcf3e2aeaa88f.1583136624.git.mchehab+huawei@kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent b4adb75 commit a756185

3 files changed

Lines changed: 29 additions & 21 deletions

File tree

‎Documentation/scsi/index.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ Linux SCSI Subsystem
2626
libsas
2727
link_power_management_policy
2828
lpfc
29+
megaraid
2930

3031
scsi_transport_srp/figures
Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
Notes on Management Module
2-
~~~~~~~~~~~~~~~~~~~~~~~~~~
1+
.. SPDX-License-Identifier: GPL-2.0
32
4-
Overview:
3+
==========================
4+
Notes on Management Module
5+
==========================
6+
7+
Overview
58
--------
69

710
Different classes of controllers from LSI Logic accept and respond to the
@@ -25,28 +28,32 @@ ioctl commands. But this module is envisioned to handle all user space level
2528
interactions. So any 'proc', 'sysfs' implementations will be localized in this
2629
common module.
2730

28-
Credits:
31+
Credits
2932
-------
3033

31-
"Shared code in a third module, a "library module", is an acceptable
32-
solution. modprobe automatically loads dependent modules, so users
33-
running "modprobe driver1" or "modprobe driver2" would automatically
34-
load the shared library module."
34+
::
35+
36+
"Shared code in a third module, a "library module", is an acceptable
37+
solution. modprobe automatically loads dependent modules, so users
38+
running "modprobe driver1" or "modprobe driver2" would automatically
39+
load the shared library module."
40+
41+
- Jeff Garzik (jgarzik@pobox.com), 02.25.2004 LKML
3542

36-
- Jeff Garzik (jgarzik@pobox.com), 02.25.2004 LKML
43+
::
3744

38-
"As Jeff hinted, if your userspace<->driver API is consistent between
39-
your new MPT-based RAID controllers and your existing megaraid driver,
40-
then perhaps you need a single small helper module (lsiioctl or some
41-
better name), loaded by both mptraid and megaraid automatically, which
42-
handles registering the /dev/megaraid node dynamically. In this case,
43-
both mptraid and megaraid would register with lsiioctl for each
44-
adapter discovered, and lsiioctl would essentially be a switch,
45-
redirecting userspace tool ioctls to the appropriate driver."
45+
"As Jeff hinted, if your userspace<->driver API is consistent between
46+
your new MPT-based RAID controllers and your existing megaraid driver,
47+
then perhaps you need a single small helper module (lsiioctl or some
48+
better name), loaded by both mptraid and megaraid automatically, which
49+
handles registering the /dev/megaraid node dynamically. In this case,
50+
both mptraid and megaraid would register with lsiioctl for each
51+
adapter discovered, and lsiioctl would essentially be a switch,
52+
redirecting userspace tool ioctls to the appropriate driver."
4653

47-
- Matt Domsch, (Matt_Domsch@dell.com), 02.25.2004 LKML
54+
- Matt Domsch, (Matt_Domsch@dell.com), 02.25.2004 LKML
4855

49-
Design:
56+
Design
5057
------
5158

5259
The Common Management Module is implemented in megaraid_mm.[ch] files. This
@@ -61,7 +68,7 @@ uioc_t. The management module converts the older ioctl packets from the older
6168
applications into uioc_t. After driver handles the uioc_t, the common module
6269
will convert that back into the old format before returning to applications.
6370

64-
As new applications evolve and replace the old ones, the old packet format
71+
As new applications evolve and replace the old ones, the old packet format
6572
will be retired.
6673

6774
Common module dedicates one uioc_t packet to each controller registered. This

‎MAINTAINERS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10639,7 +10639,7 @@ L: megaraidlinux.pdl@broadcom.com
1063910639
L: linux-scsi@vger.kernel.org
1064010640
W: http://www.avagotech.com/support/
1064110641
S: Maintained
10642-
F: Documentation/scsi/megaraid.txt
10642+
F: Documentation/scsi/megaraid.rst
1064310643
F: drivers/scsi/megaraid.*
1064410644
F: drivers/scsi/megaraid/
1064510645

0 commit comments

Comments
 (0)