From: Timur Tabi <timur@freescale.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, linux-serial@vger.kernel.org
Subject: Re: [PATCH] [SERIAL] qe-uart: add support for Freescale QUICCEngine UART
Date: Tue, 15 Jan 2008 09:03:32 -0600 [thread overview]
Message-ID: <478CCB44.3000805@freescale.com> (raw)
In-Reply-To: <1CFD37C9-F06C-4C7E-836D-31C94EF464DF@kernel.crashing.org>
Kumar Gala wrote:
> what is the define for? you commented all the others :)
I thought you said there were no more issues? :-)
>> +#define UCC_WAIT_CLOSING 100
This is how long to wait after receiving a close request for characters to be
sent out before actually closing the device. I just used the same value as the
CPM serial driver.
>> + u16 tx_state; /* 0xC6, TX state */
>
> __be16?
Oops.
>> +/*
>> + * Set the modem control lines
>> + *
>> + * We currently don't support setting modem control lines, but this
>> function
>> + * needs to exist, otherwise the kernel will panic.
>> + */
>> +void qe_uart_set_mctrl(struct uart_port *port, unsigned int mctrl)
>> +{
>> +}
>
> What's the issue w/support of this? (maybe a comment related to why its
> not supported -- if not here in the git commit message)
I didn't want to add any serial functionality that wasn't in the CPM serial
driver, mostly because I don't really understand the technical details of serial
communication at this level. I figured if it's okay for the CPM driver not to
handle modem control, then the QE driver doesn't have to do it either.
>> +static void qe_uart_enable_ms(struct uart_port *port)
>> +{
>
> same question as above.
Same answer!
I suppose you want me to post another version of this patch?
--
Timur Tabi
Linux kernel developer at Freescale
next prev parent reply other threads:[~2008-01-15 15:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-09 23:35 [PATCH 0/2] Add support for Freescale QUICCEngine UART Timur Tabi
2008-01-09 23:35 ` [PATCH] [POWERPC] qe: add " Timur Tabi
2008-01-09 23:35 ` [PATCH] [SERIAL] qe-uart: " Timur Tabi
2008-01-15 14:21 ` Kumar Gala
2008-01-15 15:03 ` Timur Tabi [this message]
2008-01-15 15:13 ` Kumar Gala
2008-01-18 6:47 ` [PATCH] [POWERPC] qe: " Kumar Gala
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=478CCB44.3000805@freescale.com \
--to=timur@freescale.com \
--cc=galak@kernel.crashing.org \
--cc=linux-serial@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).