public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: jbradford@dial.pipex.com
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Bodge up serial support in 2.5.40
Date: Wed, 2 Oct 2002 17:36:32 +0100	[thread overview]
Message-ID: <200210021636.g92GaWEp000312@darkstar.example.net> (raw)

Standard 8250/16550 UART support is broken in 2.5.40, and I needed it, so following a bit of advice from Russell King, I've prepared this patch.

I thought I'd post it, just incase anybody else out there actually uses serial ports, (seems they don't).  Before you apply it, bear in mind that the last C I did was a hello world program :-), (only half kidding).

This is a bodge up patch only, NOT an official solution.

John.

--- linux-2.5.40-orig/drivers/serial/core.c	2002-10-02 15:07:21.000000000 +0100
+++ linux-2.5.40/drivers/serial/core.c	2002-10-02 15:09:38.000000000 +0100
@@ -1604,8 +1604,6 @@
 	return retval;
 }
 
-#ifdef CONFIG_PROC_FS
-
 static const char *uart_type(struct uart_port *port)
 {
 	const char *str = NULL;
@@ -1708,7 +1706,6 @@
 	*start = page + (off - begin);
 	return (count < begin + len - off) ? count : (begin + len - off);
 }
-#endif
 
 #ifdef CONFIG_SERIAL_CORE_CONSOLE
 /*

             reply	other threads:[~2002-10-02 16:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02 16:36 jbradford [this message]
2002-10-02 16:37 ` [PATCH] Bodge up serial support in 2.5.40 DevilKin
2002-10-03 13:55   ` Russell King
     [not found] <200210021842.01673.devilkin-lkml@blindguardian.org>
2002-10-02 17:03 ` jbradford

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=200210021636.g92GaWEp000312@darkstar.example.net \
    --to=jbradford@dial.pipex.com \
    --cc=linux-kernel@vger.kernel.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