mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Haavard Skinnemoen <hskinnemoen@atmel.com>
To: steve birtles <arm_kernel_development@micromark.net.cn>
Cc: "Remy Bohmer" <linux@bohmer.net>,
	linux-kernel@vger.kernel.org,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	Andrew Victor <linux@maxim.org.za>,
	ARM Linux Mailing List  <linux-arm-kernel@lists.arm.linux.org.uk>
Subject: Re: [PATCH v2] atmel_serial: Clean up the code
Date: Tue, 18 Dec 2007 14:32:21 +0100	[thread overview]
Message-ID: <20071218143221.790c3571@dhcp-252-066.norway.atmel.com> (raw)
In-Reply-To: <25FA62D8-BCBE-4A0E-A98D-F883FB65AFBE@micromark.net.cn>

On Tue, 18 Dec 2007 21:22:01 +0800
steve birtles <arm_kernel_development@micromark.net.cn> wrote:

> Is there any change can we clean this up?
>   /*
>    * We wrap our port structure around the generic uart_port.
> @@ -142,8 +146,8 @@ static void atmel_set_mctrl(struct uart_port  
> *port, u_int mctrl)
>   #ifdef CONFIG_ARCH_AT91RM9200
>   	if (cpu_is_at91rm9200()) {
>   		/*
> -		 * AT91RM9200 Errata #39: RTS0 is not internally connected to PA21.
> -		 *  We need to drive the pin manually.
> +		 * AT91RM9200 Errata #39: RTS0 is not internally connected
> +		 * to PA21. We need to drive the pin manually.
>   		 */
>   		if (port->mapbase == AT91RM9200_BASE_US0) {
>   			if (mctrl & TIOCM_RTS)
> @@ -228,7 +232,8 @@ static void atmel_stop_rx(struct uart_port *port)
>    */

I'm not sure what you mean. It just breaks the comment to fit within 80
columns...

> and potentially add those flags for  dealing with the  CTS & RTS   ,  
> that may not be used on every board,  because this clean up sit's in  
> my minor changes for the YL9200, specifically to  re-jig the USARTS  
> lines so that we can separate  RXD TXD , from a forced requirment to  
> use  control lines when using  232

Could you just post your changes so that we can see where it fits in?

Haavard

      reply	other threads:[~2007-12-18 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-18  9:53 Haavard Skinnemoen
2007-12-18 10:14 ` Remy Bohmer
2007-12-18 10:33   ` Haavard Skinnemoen
2007-12-18 13:22     ` steve birtles
2007-12-18 13:32       ` Haavard Skinnemoen [this message]

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=20071218143221.790c3571@dhcp-252-066.norway.atmel.com \
    --to=hskinnemoen@atmel.com \
    --cc=arm_kernel_development@micromark.net.cn \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=linux@bohmer.net \
    --cc=linux@maxim.org.za \
    /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®