From: Matthew Wilcox <willy@debian.org>
To: "Theodore Ts'o" <tytso@mit.edu>
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>, linux-kernel@vger.kernel.org
Subject: [PATCH] Remove SERIAL_IO_GSC
Date: Tue, 4 Jun 2002 15:24:42 +0100 [thread overview]
Message-ID: <20020604152442.P10366@parcelfarce.linux.theplanet.co.uk> (raw)
We never needed this, and it should be removed -- I recently saw someone
copy it blindly into another file.
diff -urNX build-tools/dontdiff linux-upstream/drivers/char/serial.c linux-pa/drivers/char/serial.c
--- linux-upstream/drivers/char/serial.c Tue Jun 4 07:58:09 2002
+++ linux-pa/drivers/char/serial.c Mon Feb 25 17:44:54 2002
@@ -418,10 +426,6 @@
case SERIAL_IO_MEM:
return readb((unsigned long) info->iomem_base +
(offset<<info->iomem_reg_shift));
-#ifdef CONFIG_SERIAL_GSC
- case SERIAL_IO_GSC:
- return gsc_readb(info->iomem_base + offset);
-#endif
default:
return inb(info->port + offset);
}
@@ -441,11 +445,6 @@
writeb(value, (unsigned long) info->iomem_base +
(offset<<info->iomem_reg_shift));
break;
-#ifdef CONFIG_SERIAL_GSC
- case SERIAL_IO_GSC:
- gsc_writeb(value, info->iomem_base + offset);
- break;
-#endif
default:
outb(value, info->port+offset);
}
diff -urNX build-tools/dontdiff linux-upstream/include/linux/serial.h linux-pa/include/linux/serial.h
--- linux-upstream/include/linux/serial.h Tue Jun 4 07:59:51 2002
+++ linux-pa/include/linux/serial.h Thu Nov 29 08:50:01 2001
@@ -80,7 +80,6 @@
#define SERIAL_IO_PORT 0
#define SERIAL_IO_HUB6 1
#define SERIAL_IO_MEM 2
-#define SERIAL_IO_GSC 3
struct serial_uart_config {
char *name;
--
Revolutions do not require corporate support.
reply other threads:[~2002-06-04 14:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20020604152442.P10366@parcelfarce.linux.theplanet.co.uk \
--to=willy@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=tytso@mit.edu \
/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®