Move driver-api/{dcdbas,isapnp} to userspace-api/
Subsystems (5)
cover Move driver-api/{dcdbas,isapnp} to userspace-api/
Hi,
Neither isapnp.rst nor dcdbas.rst document driver APIs; rather, they document /proc and /sys interfaces, respectively, which are userspace APIs.
I'm submitting this to the documentation tree -- Jaroslav and Stuart, is that OK with you? I suggest doing it that way since there is a tiny dependency between the patches (for the driver-api/index.rst and userspace-api/index.rst changes).
Testing: ran htmldocs, didn't see any warnings related to these.
Thanks,
Vegard
--
Vegard Nossum (2):
Documentation: move driver-api/isapnp to userspace-api/
Documentation: move driver-api/dcdbas to userspace-api/
Documentation/driver-api/index.rst | 2 --
Documentation/{driver-api => userspace-api}/dcdbas.rst | 0
Documentation/userspace-api/index.rst | 2 ++
Documentation/{driver-api => userspace-api}/isapnp.rst | 8 ++++----
MAINTAINERS | 4 ++--
drivers/platform/x86/dell/Kconfig | 2 +-
drivers/platform/x86/dell/dcdbas.c | 2 +-
drivers/pnp/isapnp/Kconfig | 2 +-
8 files changed, 11 insertions(+), 11 deletions(-)
rename Documentation/{driver-api => userspace-api}/dcdbas.rst (100%)
rename Documentation/{driver-api => userspace-api}/isapnp.rst (51%)Signature · 1 line
2.34.1
PATCH 1/2 Documentation: move driver-api/isapnp to userspace-api/
driver-api/isapnp documents /proc interfaces for interfacing directly with ISA Plug & Play devices, not any kind of API for kernel developers, and should thus also live under userspace-api/.
Also fix a few issues while we're at it.
---
Documentation/driver-api/index.rst | 1 -
Documentation/userspace-api/index.rst | 1 +
Documentation/{driver-api => userspace-api}/isapnp.rst | 8 ++++----
MAINTAINERS | 2 +-
drivers/pnp/isapnp/Kconfig | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
rename Documentation/{driver-api => userspace-api}/isapnp.rst (51%)Documentation/driver-api/index.rst +0 -1
@@ -81,7 +81,6 @@ available subsections can be seen below. dcdbas eisa isa - isapnp io-mapping io_ordering generic-counter
Documentation/userspace-api/index.rst +1 -0
@@ -31,6 +31,7 @@ place where this information is gathered. vduse futex2 tee + isapnp .. only:: subproject and html
Documentation/userspace-api/isapnp.rst renamed from Documentation/driver-api/isapnp.rst +4 -4
@@ -1,11 +1,11 @@ -========================================================== -ISA Plug & Play support by Jaroslav Kysela <[email protected]> -========================================================== +======================= +ISA Plug & Play support +======================= Interface /proc/isapnp ====================== -The interface has been removed. See pnp.txt for more details. +The interface was removed in kernel 2.5.53. See pnp.rst for more details. Interface /proc/bus/isapnp ==========================
MAINTAINERS +1 -1
@@ -11252,7 +11252,7 @@ F: drivers/media/radio/radio-isa* ISAPNP M: Jaroslav Kysela <[email protected]> S: Maintained -F: Documentation/driver-api/isapnp.rst +F: Documentation/userspace-api/isapnp.rst F: drivers/pnp/isapnp/ F: include/linux/isapnp.h
drivers/pnp/isapnp/Kconfig +1 -1
@@ -7,6 +7,6 @@ config ISAPNP depends on ISA || COMPILE_TEST help Say Y here if you would like support for ISA Plug and Play devices. - Some information is in <file:Documentation/driver-api/isapnp.rst>. + Some information is in <file:Documentation/userspace-api/isapnp.rst>. If unsure, say Y.
Signature · 1 line
2.34.1
Re: [PATCH 1/2] Documentation: move driver-api/isapnp to userspace-api/
Quoted 11 lines · Vegard Nossum
driver-api/isapnp documents /proc interfaces for interfacing directly with ISA Plug & Play devices, not any kind of API for kernel developers, and should thus also live under userspace-api/.
Also fix a few issues while we're at it.
Cc Jaroslav Kysela <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>Cc Alexandre Belloni <[email protected]>Cc Bartlomiej Zolnierkiewicz <[email protected]>Signed-off-by Vegard Nossum <[email protected]>
Thanks.
Quoted 9 lines
---
Documentation/driver-api/index.rst | 1 -
Documentation/userspace-api/index.rst | 1 +
Documentation/{driver-api => userspace-api}/isapnp.rst | 8 ++++----
MAINTAINERS | 2 +-
drivers/pnp/isapnp/Kconfig | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
rename Documentation/{driver-api => userspace-api}/isapnp.rst (51%)Signature · 3 lines
#Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html
PATCH 2/2 Documentation: move driver-api/dcdbas to userspace-api/
In reply to Vegard NossumThis file documents a sysfs interface that is intended for systems management software. It does NOT document any kind of kernel driver API. It is also not meant to be used directly by system administrators or users.
---
Documentation/driver-api/index.rst | 1 -
Documentation/{driver-api => userspace-api}/dcdbas.rst | 0
Documentation/userspace-api/index.rst | 1 +
MAINTAINERS | 2 +-
drivers/platform/x86/dell/Kconfig | 2 +-
drivers/platform/x86/dell/dcdbas.c | 2 +-
6 files changed, 4 insertions(+), 4 deletions(-)
rename Documentation/{driver-api => userspace-api}/dcdbas.rst (100%)Documentation/driver-api/index.rst +0 -1
@@ -78,7 +78,6 @@ available subsections can be seen below. backlight/lp855x-driver.rst connector console - dcdbas eisa isa io-mapping
Documentation/userspace-api/dcdbas.rst renamed from Documentation/driver-api/dcdbas.rst +0 -0
Documentation/userspace-api/index.rst +1 -0
@@ -32,6 +32,7 @@ place where this information is gathered. futex2 tee isapnp + dcdbas .. only:: subproject and html
MAINTAINERS +1 -1
@@ -5901,7 +5901,7 @@ DELL SYSTEMS MANAGEMENT BASE DRIVER (dcdbas) M: Stuart Hayes <[email protected]> L: [email protected] S: Maintained -F: Documentation/driver-api/dcdbas.rst +F: Documentation/userspace-api/dcdbas.rst F: drivers/platform/x86/dell/dcdbas.* DELL WMI DDV DRIVER
drivers/platform/x86/dell/Kconfig +1 -1
@@ -37,7 +37,7 @@ config DCDBAS Interrupts (SMIs) and Host Control Actions (system power cycle or power off after OS shutdown) on certain Dell systems. - See <file:Documentation/driver-api/dcdbas.rst> for more details on the driver + See <file:Documentation/userspace-api/dcdbas.rst> for more details on the driver and the Dell systems on which Dell systems management software makes use of this driver.
drivers/platform/x86/dell/dcdbas.c +1 -1
@@ -7,7 +7,7 @@* and Host Control Actions (power cycle or power off after OS shutdown) on * Dell systems. * -* See Documentation/driver-api/dcdbas.rst for more information. +* See Documentation/userspace-api/dcdbas.rst for more information. * * Copyright (C) 1995-2006 Dell Inc. */
Signature · 1 line
2.34.1
Re: [PATCH 2/2] Documentation: move driver-api/dcdbas to userspace-api/
Hi,
Quoted 8 lines · Vegard Nossum
This file documents a sysfs interface that is intended for systems management software. It does NOT document any kind of kernel driver API. It is also not meant to be used directly by system administrators or users.
Cc Stuart Hayes <[email protected]>Signed-off-by Vegard Nossum <[email protected]>
Thanks, patch looks good to me. Here is my ack for merging the drivers/platform/x86/dell/ bits through the Documentation tree:
Regards,
Hans
Quoted 77 lines
--- Documentation/driver-api/index.rst | 1 - Documentation/{driver-api => userspace-api}/dcdbas.rst | 0 Documentation/userspace-api/index.rst | 1 + MAINTAINERS | 2 +- drivers/platform/x86/dell/Kconfig | 2 +- drivers/platform/x86/dell/dcdbas.c | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) rename Documentation/{driver-api => userspace-api}/dcdbas.rst (100%)Documentation/driver-api/index.rst +0
-1@@ -78,7 +78,6 @@ available subsections can be seen below. backlight/lp855x-driver.rst connector console - dcdbas eisa isa io-mappingDocumentation/userspace-api/dcdbas.rst renamed from Documentation/driver-api/dcdbas.rst +0
-0Documentation/userspace-api/index.rst +1
-0@@ -32,6 +32,7 @@ place where this information is gathered. futex2 tee isapnp + dcdbas .. only:: subproject and htmlMAINTAINERS +1
-1@@ -5901,7 +5901,7 @@ DELL SYSTEMS MANAGEMENT BASE DRIVER (dcdbas) M: Stuart Hayes <[email protected]> L: [email protected] S: Maintained -F: Documentation/driver-api/dcdbas.rst +F: Documentation/userspace-api/dcdbas.rst F: drivers/platform/x86/dell/dcdbas.* DELL WMI DDV DRIVERdrivers/platform/x86/dell/Kconfig +1
-1@@ -37,7 +37,7 @@ config DCDBAS Interrupts (SMIs) and Host Control Actions (system power cycle or power off after OS shutdown) on certain Dell systems. - See <file:Documentation/driver-api/dcdbas.rst> for more details on the driver + See <file:Documentation/userspace-api/dcdbas.rst> for more details on the driver and the Dell systems on which Dell systems management software makes use of this driver.drivers/platform/x86/dell/dcdbas.c +1
-1@@ -7,7 +7,7 @@* and Host Control Actions (power cycle or power off after OS shutdown) on * Dell systems. * -* See Documentation/driver-api/dcdbas.rst for more information. +* See Documentation/userspace-api/dcdbas.rst for more information. * * Copyright (C) 1995-2006 Dell Inc. */
Re: [PATCH 2/2] Documentation: move driver-api/dcdbas to userspace-api/
In reply to Vegard NossumQuoted 8 lines · Vegard Nossum
This file documents a sysfs interface that is intended for systems management software. It does NOT document any kind of kernel driver API. It is also not meant to be used directly by system administrators or users.
Cc Stuart Hayes <[email protected]>Signed-off-by Vegard Nossum <[email protected]>
Thanks.
Quoted 10 lines
---
Documentation/driver-api/index.rst | 1 -
Documentation/{driver-api => userspace-api}/dcdbas.rst | 0
Documentation/userspace-api/index.rst | 1 +
MAINTAINERS | 2 +-
drivers/platform/x86/dell/Kconfig | 2 +-
drivers/platform/x86/dell/dcdbas.c | 2 +-
6 files changed, 4 insertions(+), 4 deletions(-)
rename Documentation/{driver-api => userspace-api}/dcdbas.rst (100%)Signature · 3 lines
#Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html
Quoted 6 lines · Vegard Nossum
Hi,
Neither
isapnp.rstnordcdbas.rstdocument driver APIs; rather, they document /proc and /sys interfaces, respectively, which are userspace APIs.
Quoted 6 lines
I'm submitting this to the documentation tree -- Jaroslav and Stuart, is that OK with you? I suggest doing it that way since there is a tiny dependency between the patches (for the
driver-api/index.rstanduserspace-api/index.rstchanges).Testing: ran htmldocs, didn't see any warnings related to these.
Applied, thanks.
jon