diff mbox series

[3/3] Documentation: devices.txt: Fix minors for ttyCPM*

Message ID 27d7124cf86157e2a27c2b039e769041994d3f22.1691992627.git.christophe.leroy@csgroup.eu
State New
Headers show
Series [1/3] Documentation: devices.txt: Remove ttyIOC* | expand

Commit Message

Christophe Leroy Aug. 14, 2023, 6:02 a.m. UTC
ttyCPM* devices belong to CPM_UART driver at the first place
and that driver provides 6 ports.

Fixes: e29c3f81eb89 ("Documentation: devices.txt: reconcile serial/ucc_uart minor numers")
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
---
 Documentation/admin-guide/devices.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Randy Dunlap Aug. 14, 2023, 10:52 p.m. UTC | #1
Hi,

On 8/13/23 23:02, Christophe Leroy wrote:
> ttyCPM* devices belong to CPM_UART driver at the first place
> and that driver provides 6 ports.
> 
> Fixes: e29c3f81eb89 ("Documentation: devices.txt: reconcile serial/ucc_uart minor numers")
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

I had this on my todo list. Thanks for getting to it before I did.

> ---
>   Documentation/admin-guide/devices.txt | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/admin-guide/devices.txt b/Documentation/admin-guide/devices.txt
> index 1ba5b7c4973c..839054923530 100644
> --- a/Documentation/admin-guide/devices.txt
> +++ b/Documentation/admin-guide/devices.txt
> @@ -2691,7 +2691,7 @@
>   		 45 = /dev/ttyMM1		Marvell MPSC - port 1 (obsolete unused)
>   		 46 = /dev/ttyCPM0		PPC CPM (SCC or SMC) - port 0
>   		    ...
> -		 49 = /dev/ttyCPM5		PPC CPM (SCC or SMC) - port 3
> +		 51 = /dev/ttyCPM5		PPC CPM (SCC or SMC) - port 5
>   		 82 = /dev/ttyVR0		NEC VR4100 series SIU
>   		 83 = /dev/ttyVR1		NEC VR4100 series DSIU
>   		 148 = /dev/ttyPSC0		PPC PSC - port 0
> @@ -2752,7 +2752,7 @@
>   		 43 = /dev/ttycusmx2		Callout device for ttySMX2
>   		 46 = /dev/cucpm0		Callout device for ttyCPM0
>   		    ...
> -		 49 = /dev/cucpm5		Callout device for ttyCPM5
> +		 51 = /dev/cucpm5		Callout device for ttyCPM5
>   		 82 = /dev/cuvr0		Callout device for ttyVR0
>   		 83 = /dev/cuvr1		Callout device for ttyVR1
>
diff mbox series

Patch

diff --git a/Documentation/admin-guide/devices.txt b/Documentation/admin-guide/devices.txt
index 1ba5b7c4973c..839054923530 100644
--- a/Documentation/admin-guide/devices.txt
+++ b/Documentation/admin-guide/devices.txt
@@ -2691,7 +2691,7 @@ 
 		 45 = /dev/ttyMM1		Marvell MPSC - port 1 (obsolete unused)
 		 46 = /dev/ttyCPM0		PPC CPM (SCC or SMC) - port 0
 		    ...
-		 49 = /dev/ttyCPM5		PPC CPM (SCC or SMC) - port 3
+		 51 = /dev/ttyCPM5		PPC CPM (SCC or SMC) - port 5
 		 82 = /dev/ttyVR0		NEC VR4100 series SIU
 		 83 = /dev/ttyVR1		NEC VR4100 series DSIU
 		 148 = /dev/ttyPSC0		PPC PSC - port 0
@@ -2752,7 +2752,7 @@ 
 		 43 = /dev/ttycusmx2		Callout device for ttySMX2
 		 46 = /dev/cucpm0		Callout device for ttyCPM0
 		    ...
-		 49 = /dev/cucpm5		Callout device for ttyCPM5
+		 51 = /dev/cucpm5		Callout device for ttyCPM5
 		 82 = /dev/cuvr0		Callout device for ttyVR0
 		 83 = /dev/cuvr1		Callout device for ttyVR1