All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thorsten Blum <blum@kernel.org>
To: Richard Henderson <richard.henderson@linaro.org>,
	Matt Turner <mattst88@gmail.com>,
	Magnus Lindholm <linmag7@gmail.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Arnd Bergmann <arnd@arndb.de>
Cc: linux-alpha@vger.kernel.org, linux-m68k@lists.linux-m68k.org,
	linux-arch@vger.kernel.org, Thorsten Blum <blum@kernel.org>
Subject: [PATCH 0/5] serial: Share legacy UART I/O port constants
Date: Sat,  5 Dec 2026 13:23:10 +0100	[thread overview]
Message-ID: <20261205122309.104396-7-blum@kernel.org> (raw)

The legacy UART I/O port addresses are hard-coded in many places,
including architecture code and serial drivers.

Define PORT_TTYS0 through PORT_TTYS3 in <asm-generic/serial.h> and start
by using them in Alpha and m68k code.

No functional change.

Thorsten Blum (5):
  asm-generic: serial: Define legacy UART I/O port addresses
  alpha/serial: Use shared legacy UART I/O port constants
  alpha: Use shared legacy UART I/O port constants
  m68k/serial: Use shared legacy UART I/O port constants
  m68k: q40: Use shared legacy UART I/O port constants

 arch/alpha/include/asm/serial.h | 12 ++++++------
 arch/alpha/kernel/smc37c669.c   |  5 +++--
 arch/alpha/kernel/smc37c93x.c   |  5 +++--
 arch/m68k/include/asm/serial.h  | 12 ++++++------
 arch/m68k/q40/config.c          | 10 +++++++---
 include/asm-generic/serial.h    |  6 ++++++
 6 files changed, 31 insertions(+), 19 deletions(-)


base-commit: 810cd143ca5511202e503b8ed6a963f680b47a05
prerequisite-patch-id: 9c149ece8f309f5bfb8631896d8563179b3c368c

             reply	other threads:[~2026-12-05 12:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05 12:23 Thorsten Blum [this message]
2026-12-05 12:23 ` [PATCH 1/5] asm-generic: serial: Define legacy UART I/O port addresses Thorsten Blum
2026-12-05 12:23 ` [PATCH 2/5] alpha/serial: Use shared legacy UART I/O port constants Thorsten Blum
2026-12-05 12:23 ` [PATCH 3/5] alpha: " Thorsten Blum
2026-12-05 12:23 ` [PATCH 4/5] m68k/serial: " Thorsten Blum
2026-12-05 12:23 ` [PATCH 5/5] m68k: q40: " Thorsten Blum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261205122309.104396-7-blum@kernel.org \
    --to=blum@kernel.org \
    --cc=arnd@arndb.de \
    --cc=geert@linux-m68k.org \
    --cc=linmag7@gmail.com \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=mattst88@gmail.com \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.