mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Osamu Tomita <tomita@cinet.co.jp>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Linus Torvalds <torvalds@transmeta.com>
Subject: [RFC][Patchset 18/20] Support for PC-9800 (serial)
Date: Sun, 3 Nov 2002 03:21:58 +0900	[thread overview]
Message-ID: <20021103032158.K1536@precia.cinet.co.jp> (raw)
In-Reply-To: =?iso-8859-1?Q?=3C20021103023345=2EA1536?= =?iso-8859-1?B?QHByZWNpYS5jaW5ldC5jby5qcD47IGZyb20gdG9taXRhQGNpbmV0LmNv?= =?iso-8859-1?B?LmpwIG9uIMb8LCAxMbfu?= 03, 2002 at 02:33:45 +0900

This is part 18/20 of patchset for add support NEC PC-9800 architecture,
against 2.5.45.

Summary:
  serial driver related modules.
   - change IO port address and IRQ number.
   - add new PNP device entry.

diffstat:
  drivers/serial/8250_pnp.c |    7 +++++++
  include/asm-i386/serial.h |    7 +++++++
  2 files changed, 14 insertions(+)

patch:
diff -urN linux/drivers/serial/8250_pnp.c linux98/drivers/serial/8250_pnp.c
--- linux/drivers/serial/8250_pnp.c	Sat Oct 19 13:01:08 2002
+++ linux98/drivers/serial/8250_pnp.c	Sat Oct 19 16:20:53 2002
@@ -193,6 +193,8 @@
  	{	"MVX00A1",		0	},
  	/* PC Rider K56 Phone System PnP */
  	{	"MVX00F2",		0	},
+	/* NEC 98NOTE SPEAKER PHONE FAX MODEM(33600bps) */
+	{	"nEC8241",		0	},
  	/* Pace 56 Voice Internal Plug & Play Modem */
  	{	"PMC2430",		0	},
  	/* Generic */
@@ -376,7 +378,12 @@
  			    ((port->min == 0x2f8) ||
  			     (port->min == 0x3f8) ||
  			     (port->min == 0x2e8) ||
+#ifndef CONFIG_PC9800
  			     (port->min == 0x3e8)))
+#else
+			     (port->min == 0x3e8) ||
+			     (port->min == 0x8b0)))
+#endif
  				return 0;
  	}
  diff -urN linux/include/asm-i386/serial.h linux98/include/asm-i386/serial.h
--- linux/include/asm-i386/serial.h	Wed Oct 16 12:27:56 2002
+++ linux98/include/asm-i386/serial.h	Fri Oct 18 10:12:09 2002
@@ -50,12 +50,19 @@
   #define C_P(card,port) (((card)<<6|(port)<<3) + 1)
  +#ifndef CONFIG_PC9800
  #define STD_SERIAL_PORT_DEFNS			\
  	/* UART CLK   PORT IRQ     FLAGS        */			\
  	{ 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS },	/* ttyS0 */	\
  	{ 0, BASE_BAUD, 0x2F8, 3, STD_COM_FLAGS },	/* ttyS1 */	\
  	{ 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAGS },	/* ttyS2 */	\
  	{ 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS },	/* ttyS3 */
+#else
+#define STD_SERIAL_PORT_DEFNS			\
+	/* UART CLK   PORT IRQ     FLAGS        */			\
+	{ 0, BASE_BAUD, 0x30, 4, STD_COM_FLAGS },	/* ttyS0 */	\
+	{ 0, BASE_BAUD, 0x238, 5, STD_COM_FLAGS },	/* ttyS1 */
+#endif /* CONFIG_PC9800 */
    #ifdef CONFIG_SERIAL_MANY_PORTS

  parent reply	other threads:[~2002-11-02 18:17 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-02 17:33 [RFC][Patchset 1/20] Support for PC-9800 Osamu Tomita
2002-11-02 17:44 ` [RFC][Patchset 2/20] Support for PC-9800 (BOOT) Osamu Tomita
2002-11-02 17:48 ` [RFC][Patchset 3/20] Support for PC-9800 (console) Osamu Tomita
2002-11-02 17:51 ` [RFC][Patchset 4/20] Support for PC-9800 Osamu Tomita
2002-11-02 17:53 ` [RFC][Patchset 5/20] Support for PC-9800 (core2) Osamu Tomita
2002-11-02 17:55 ` [RFC][Patchset 6/20] Support for PC-9800 (floppy1) Osamu Tomita
2002-11-02 17:56 ` [RFC][Patchset 7/20] Support for PC-9800 (floppy2) Osamu Tomita
2002-11-02 17:58 ` [RFC][Patchset 8/20] Support for PC-9800 (fs) Osamu Tomita
2002-11-02 18:00 ` [RFC][Patchset 9/20] Support for PC-9800 (IDE) Osamu Tomita
2002-11-02 18:02 ` [RFC][Patchset 10/20] Support for PC-9800 (input) Osamu Tomita
2002-11-02 18:04 ` [RFC][Patchset 11/20] Support for PC-9800 (kernel) Osamu Tomita
2002-11-02 18:07 ` [RFC][Patchset 12/20] Support for PC-9800 (Network device) Osamu Tomita
2002-11-02 18:10 ` [RFC][Patchset 13/20] Support for PC-9800 (parport) Osamu Tomita
2002-11-02 18:14 ` [RFC][Patchset 14/20] Support for PC-9800 (PCI) Osamu Tomita
2002-11-02 18:16 ` [RFC][Patchset 15/20] Support for PC-9800 (PNP) Osamu Tomita
2002-11-02 18:18 ` [RFC][Patchset 16/20] Support for PC-9800 (RTC) Osamu Tomita
2002-11-02 18:20 ` [RFC][Patchset 17/20] Support for PC-9800 (SCSI) Osamu Tomita
2002-11-02 18:21 ` Osamu Tomita [this message]
2002-11-02 18:23 ` [RFC][Patchset 19/20] Support for PC-9800 (SMP) Osamu Tomita
2002-11-02 18:25 ` [RFC][Patchset 20/20] Support for PC-9800 (video) Osamu Tomita
2002-11-03  0:05 ` [RFC][Patchset 1/20] Support for PC-9800 Osamu Tomita

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=20021103032158.K1536@precia.cinet.co.jp \
    --to=tomita@cinet.co.jp \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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

all inboxes | Powered by JetHome®