[PATCH 02/39] docs: rapidio: add it to the driver API
From: Mauro Carvalho Chehab
Date: Fri Jun 28 2019 - 08:32:39 EST
This is actually a subsystem description, with contains both
kAPI and uAPI.
While it should ideally be slplit, let's place it at driver-api,
as most things are related to kAPI and driver-specific info.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>
---
Documentation/admin-guide/index.rst | 1 +
Documentation/{driver-api => admin-guide}/rapidio.rst | 0
Documentation/driver-api/index.rst | 2 +-
Documentation/{ => driver-api}/rapidio/index.rst | 2 --
Documentation/{ => driver-api}/rapidio/mport_cdev.rst | 0
Documentation/{ => driver-api}/rapidio/rapidio.rst | 0
Documentation/{ => driver-api}/rapidio/rio_cm.rst | 0
Documentation/{ => driver-api}/rapidio/sysfs.rst | 0
Documentation/{ => driver-api}/rapidio/tsi721.rst | 0
drivers/rapidio/Kconfig | 2 +-
10 files changed, 3 insertions(+), 4 deletions(-)
rename Documentation/{driver-api => admin-guide}/rapidio.rst (100%)
rename Documentation/{ => driver-api}/rapidio/index.rst (94%)
rename Documentation/{ => driver-api}/rapidio/mport_cdev.rst (100%)
rename Documentation/{ => driver-api}/rapidio/rapidio.rst (100%)
rename Documentation/{ => driver-api}/rapidio/rio_cm.rst (100%)
rename Documentation/{ => driver-api}/rapidio/sysfs.rst (100%)
rename Documentation/{ => driver-api}/rapidio/tsi721.rst (100%)
diff --git a/Documentation/admin-guide/index.rst b/Documentation/admin-guide/index.rst
index 8001917ee012..0066b198cad4 100644
--- a/Documentation/admin-guide/index.rst
+++ b/Documentation/admin-guide/index.rst
@@ -61,6 +61,7 @@ configure specific aspects of kernel behavior to your liking.
parport
md
module-signing
+ rapidio
sysrq
unicode
vga-softcursor
diff --git a/Documentation/driver-api/rapidio.rst b/Documentation/admin-guide/rapidio.rst
similarity index 100%
rename from Documentation/driver-api/rapidio.rst
rename to Documentation/admin-guide/rapidio.rst
diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst
index 4e503e360860..93c6c9a98c41 100644
--- a/Documentation/driver-api/index.rst
+++ b/Documentation/driver-api/index.rst
@@ -44,7 +44,7 @@ available subsections can be seen below.
miscellaneous
mei/index
w1
- rapidio
+ rapidio/index
s390-drivers
vme
80211/index
diff --git a/Documentation/rapidio/index.rst b/Documentation/driver-api/rapidio/index.rst
similarity index 94%
rename from Documentation/rapidio/index.rst
rename to Documentation/driver-api/rapidio/index.rst
index ab7b5541b346..4c5e51a05134 100644
--- a/Documentation/rapidio/index.rst
+++ b/Documentation/driver-api/rapidio/index.rst
@@ -1,5 +1,3 @@
-:orphan:
-
===========================
The Linux RapidIO Subsystem
===========================
diff --git a/Documentation/rapidio/mport_cdev.rst b/Documentation/driver-api/rapidio/mport_cdev.rst
similarity index 100%
rename from Documentation/rapidio/mport_cdev.rst
rename to Documentation/driver-api/rapidio/mport_cdev.rst
diff --git a/Documentation/rapidio/rapidio.rst b/Documentation/driver-api/rapidio/rapidio.rst
similarity index 100%
rename from Documentation/rapidio/rapidio.rst
rename to Documentation/driver-api/rapidio/rapidio.rst
diff --git a/Documentation/rapidio/rio_cm.rst b/Documentation/driver-api/rapidio/rio_cm.rst
similarity index 100%
rename from Documentation/rapidio/rio_cm.rst
rename to Documentation/driver-api/rapidio/rio_cm.rst
diff --git a/Documentation/rapidio/sysfs.rst b/Documentation/driver-api/rapidio/sysfs.rst
similarity index 100%
rename from Documentation/rapidio/sysfs.rst
rename to Documentation/driver-api/rapidio/sysfs.rst
diff --git a/Documentation/rapidio/tsi721.rst b/Documentation/driver-api/rapidio/tsi721.rst
similarity index 100%
rename from Documentation/rapidio/tsi721.rst
rename to Documentation/driver-api/rapidio/tsi721.rst
diff --git a/drivers/rapidio/Kconfig b/drivers/rapidio/Kconfig
index 467e8fa06904..677d1aff61b7 100644
--- a/drivers/rapidio/Kconfig
+++ b/drivers/rapidio/Kconfig
@@ -86,7 +86,7 @@ config RAPIDIO_CHMAN
This option includes RapidIO channelized messaging driver which
provides socket-like interface to allow sharing of single RapidIO
messaging mailbox between multiple user-space applications.
- See "Documentation/rapidio/rio_cm.rst" for driver description.
+ See "Documentation/driver-api/rapidio/rio_cm.rst" for driver description.
config RAPIDIO_MPORT_CDEV
tristate "RapidIO /dev mport device driver"
--
2.21.0