* [PATCH] tty: mcf: MCF54418 has 10 UARTS
@ 2024-06-20 16:29 Jean-Michel Hautbois
2024-06-20 16:58 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Jean-Michel Hautbois @ 2024-06-20 16:29 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby
Cc: linux-kernel, linux-serial, linux-m68k, Jean-Michel Hautbois
Most of the colfires have up to 5 UARTs but MCF54418 has up-to 10 !
Change the maximum value authorized.
Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
---
drivers/tty/serial/mcf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c
index b0604d6da025..58858dd352c5 100644
--- a/drivers/tty/serial/mcf.c
+++ b/drivers/tty/serial/mcf.c
@@ -462,7 +462,7 @@ static const struct uart_ops mcf_uart_ops = {
.verify_port = mcf_verify_port,
};
-static struct mcf_uart mcf_ports[4];
+static struct mcf_uart mcf_ports[10];
#define MCF_MAXPORTS ARRAY_SIZE(mcf_ports)
---
base-commit: e5b3efbe1ab1793bb49ae07d56d0973267e65112
change-id: 20240620-upstream-uart-c7fc1f79e842
Best regards,
--
Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] tty: mcf: MCF54418 has 10 UARTS
2024-06-20 16:29 [PATCH] tty: mcf: MCF54418 has 10 UARTS Jean-Michel Hautbois
@ 2024-06-20 16:58 ` Greg Kroah-Hartman
2024-06-20 17:01 ` Jean-Michel Hautbois
0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2024-06-20 16:58 UTC (permalink / raw)
To: Jean-Michel Hautbois; +Cc: Jiri Slaby, linux-kernel, linux-serial, linux-m68k
On Thu, Jun 20, 2024 at 06:29:59PM +0200, Jean-Michel Hautbois wrote:
> Most of the colfires have up to 5 UARTs but MCF54418 has up-to 10 !
> Change the maximum value authorized.
>
> Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
> ---
> drivers/tty/serial/mcf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c
> index b0604d6da025..58858dd352c5 100644
> --- a/drivers/tty/serial/mcf.c
> +++ b/drivers/tty/serial/mcf.c
> @@ -462,7 +462,7 @@ static const struct uart_ops mcf_uart_ops = {
> .verify_port = mcf_verify_port,
> };
>
> -static struct mcf_uart mcf_ports[4];
> +static struct mcf_uart mcf_ports[10];
What commit id does this fix?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] tty: mcf: MCF54418 has 10 UARTS
2024-06-20 16:58 ` Greg Kroah-Hartman
@ 2024-06-20 17:01 ` Jean-Michel Hautbois
0 siblings, 0 replies; 3+ messages in thread
From: Jean-Michel Hautbois @ 2024-06-20 17:01 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: Jiri Slaby, linux-kernel, linux-serial, linux-m68k
Hi Greg,
On 20/06/2024 18:58, Greg Kroah-Hartman wrote:
> On Thu, Jun 20, 2024 at 06:29:59PM +0200, Jean-Michel Hautbois wrote:
>> Most of the colfires have up to 5 UARTs but MCF54418 has up-to 10 !
>> Change the maximum value authorized.
>>
>> Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
>> ---
>> drivers/tty/serial/mcf.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c
>> index b0604d6da025..58858dd352c5 100644
>> --- a/drivers/tty/serial/mcf.c
>> +++ b/drivers/tty/serial/mcf.c
>> @@ -462,7 +462,7 @@ static const struct uart_ops mcf_uart_ops = {
>> .verify_port = mcf_verify_port,
>> };
>>
>> -static struct mcf_uart mcf_ports[4];
>> +static struct mcf_uart mcf_ports[10];
>
> What commit id does this fix?
Sorry about that !
Fixes: 2545cf6e94b4 (m68knommu: allow 4 coldfire serial ports, 2010-03-18)
>
> thanks,
>
> greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-20 17:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 16:29 [PATCH] tty: mcf: MCF54418 has 10 UARTS Jean-Michel Hautbois
2024-06-20 16:58 ` Greg Kroah-Hartman
2024-06-20 17:01 ` Jean-Michel Hautbois
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox