All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: linux-serial@vger.kernel.org
Subject: Add new ASYNC_SPD_WARP13?
Date: Wed, 6 Apr 2011 16:48:49 +0000 (UTC)	[thread overview]
Message-ID: <ini5hh$7s3$1@dough.gmane.org> (raw)

I'm working on a driver for a serial board that supports 921600 bps,
and it would be awfully nice if there was a way to specify that using
the ASYNC_SPD_xxxxx mechanism.  Is there any reason why this wouldn't
work?


  #define ASYNC_SPD_HI         (1U << ASYNCB_SPD_HI)
  #define ASYNC_SPD_VHI        (1U << ASYNCB_SPD_VHI)
  #define ASYNC_SPD_SHI        (1U << ASYNCB_SPD_SHI)
  #define ASYNC_SPD_CUST       (ASYNC_SPD_HI|ASYNC_SPD_VHI)
  #define ASYNC_SPD_WARP       (ASYNC_SPD_HI|ASYNC_SPD_SHI)
+ #define ASYNC_SPD_WARP13     (ASYNC_SPD_HI|ASYNC_SPD_SHI|ASYNC_SPD_SHI)

  #define ASYNC_SPD_MASK       (ASYNC_SPD_HI|ASYNC_SPD_VHI|ASYNC_SPD_SHI)

  
-- 
Grant Edwards               grant.b.edwards        Yow! I'm wearing PAMPERS!!
                                  at               
                              gmail.com            


             reply	other threads:[~2011-04-06 16:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-06 16:48 Grant Edwards [this message]
2011-04-06 16:53 ` Add new ASYNC_SPD_WARP13? Alan Cox
2011-04-06 17:06   ` Grant Edwards
2011-04-06 19:14     ` Alan Cox
2011-04-06 19:20       ` Grant Edwards
2011-04-06 17:14   ` Grant Edwards
2011-04-06 19:23     ` Alan Cox
2011-04-06 19:38       ` Grant Edwards

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='ini5hh$7s3$1@dough.gmane.org' \
    --to=grant.b.edwards@gmail.com \
    --cc=linux-serial@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.