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 1/5] asm-generic: serial: Define legacy UART I/O port addresses
Date: Sat, 5 Dec 2026 13:23:11 +0100 [thread overview]
Message-ID: <20261205122309.104396-8-blum@kernel.org> (raw)
In-Reply-To: <20261205122309.104396-7-blum@kernel.org>
Define PORT_TTYS0 through PORT_TTYS3 in <asm-generic/serial.h> so serial
port tables and serial drivers can use names for these hard-coded
addresses.
Signed-off-by: Thorsten Blum <blum@kernel.org>
---
include/asm-generic/serial.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/asm-generic/serial.h b/include/asm-generic/serial.h
index ca9f7b6be3f0..23a4a72f7493 100644
--- a/include/asm-generic/serial.h
+++ b/include/asm-generic/serial.h
@@ -11,4 +11,10 @@
#define BASE_BAUD (1843200 / 16)
+/* Legacy UART I/O port addresses */
+#define PORT_TTYS0 0x3F8
+#define PORT_TTYS1 0x2F8
+#define PORT_TTYS2 0x3E8
+#define PORT_TTYS3 0x2E8
+
#endif /* __ASM_GENERIC_SERIAL_H */
next prev parent 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 [PATCH 0/5] serial: Share legacy UART I/O port constants Thorsten Blum
2026-12-05 12:23 ` Thorsten Blum [this message]
2026-12-05 12:23 ` [PATCH 2/5] alpha/serial: Use shared " 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-8-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox