From: "Michael H. Warfield" <mhw@WittsEnd.com>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: mhw@WittsEnd.com, Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, support@moxa.com.tw
Subject: Re: [PATCH] Char: remove unneded termbits redefinitions
Date: Wed, 04 Oct 2006 16:09:41 -0400 [thread overview]
Message-ID: <1159992581.6730.50.camel@canyon.wittsend.com> (raw)
In-Reply-To: <1236876321987@karneval.cz>
[-- Attachment #1: Type: text/plain, Size: 3866 bytes --]
On Wed, 2006-10-04 at 18:49 +0200, Jiri Slaby wrote:
> Char, remove unneded termbits redefinitions
>
> No need to redefine termbits in char tree.
>
> Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Michael H. Warfield <mhw@wittsend.com>
> ---
> commit b886c49c87ee91a038b917f6933183db8ae58125
> tree 222a9b1893f7d8f52ec3326bbc634296d1ab5603
> parent 6545715838791f2e9f1501b5b48fae69f2d82d35
> author Jiri Slaby <jirislaby@gmail.com> Wed, 04 Oct 2006 18:41:15 +0200
> committer Jiri Slaby <xslaby@anemoi.localdomain> Wed, 04 Oct 2006 18:41:15 +0200
>
> drivers/char/ip2/ip2ioctl.h | 35 -----------------------------------
> drivers/char/ip2/ip2main.c | 1 -
> drivers/char/mxser.c | 7 -------
> drivers/char/mxser_new.c | 3 ---
> 4 files changed, 0 insertions(+), 46 deletions(-)
>
> diff --git a/drivers/char/ip2/ip2ioctl.h b/drivers/char/ip2/ip2ioctl.h
> deleted file mode 100644
> index aa0a9da..0000000
> --- a/drivers/char/ip2/ip2ioctl.h
> +++ /dev/null
> @@ -1,35 +0,0 @@
> -/*******************************************************************************
> -*
> -* (c) 1998 by Computone Corporation
> -*
> -********************************************************************************
> -*
> -*
> -* PACKAGE: Linux tty Device Driver for IntelliPort II family of multiport
> -* serial I/O controllers.
> -*
> -* DESCRIPTION: Driver constants for configuration and tuning
> -*
> -* NOTES:
> -*
> -*******************************************************************************/
> -
> -#ifndef IP2IOCTL_H
> -#define IP2IOCTL_H
> -
> -//*************
> -//* Constants *
> -//*************
> -
> -// High baud rates (if not defined elsewhere.
> -#ifndef B153600
> -# define B153600 0010005
> -#endif
> -#ifndef B307200
> -# define B307200 0010006
> -#endif
> -#ifndef B921600
> -# define B921600 0010007
> -#endif
> -
> -#endif
> diff --git a/drivers/char/ip2/ip2main.c b/drivers/char/ip2/ip2main.c
> index 62ef511..30e839c 100644
> --- a/drivers/char/ip2/ip2main.c
> +++ b/drivers/char/ip2/ip2main.c
> @@ -123,7 +123,6 @@ #include <asm/uaccess.h>
>
> #include "ip2types.h"
> #include "ip2trace.h"
> -#include "ip2ioctl.h"
> #include "ip2.h"
> #include "i2ellis.h"
> #include "i2lib.h"
> diff --git a/drivers/char/mxser.c b/drivers/char/mxser.c
> index 04bdcb6..af05faa 100644
> --- a/drivers/char/mxser.c
> +++ b/drivers/char/mxser.c
> @@ -1500,10 +1500,6 @@ static int mxser_ioctl(struct tty_struct
> return 0;
> }
>
> -#ifndef CMSPAR
> -#define CMSPAR 010000000000
> -#endif
> -
> static int mxser_ioctl_special(unsigned int cmd, void __user *argp)
> {
> int i, result, status;
> @@ -2554,9 +2550,6 @@ static int mxser_change_speed(struct mxs
> if (!(info->base))
> return ret;
>
> -#ifndef B921600
> -#define B921600 (B460800 +1)
> -#endif
> if (mxser_set_baud_method[info->port] == 0) {
> baud = tty_get_baud_rate(info->tty);
> mxser_set_baud(info, baud);
> diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
> index cb9c865..a555dda 100644
> --- a/drivers/char/mxser_new.c
> +++ b/drivers/char/mxser_new.c
> @@ -592,9 +592,6 @@ static int mxser_change_speed(struct mxs
> if (!(info->ioaddr))
> return ret;
>
> -#ifndef B921600
> -#define B921600 (B460800 +1)
> -#endif
> if (mxser_set_baud_method[info->tty->index] == 0) {
> baud = tty_get_baud_rate(info->tty);
> mxser_set_baud(info, baud);
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw@WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 307 bytes --]
next parent reply other threads:[~2006-10-04 20:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1236876321987@karneval.cz>
2006-10-04 20:09 ` Michael H. Warfield [this message]
2006-10-07 1:16 ` Andrew Morton
2006-10-07 12:23 ` Jiri Slaby
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=1159992581.6730.50.camel@canyon.wittsend.com \
--to=mhw@wittsend.com \
--cc=akpm@osdl.org \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=support@moxa.com.tw \
/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®