linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add new ASYNC_SPD_WARP13?
@ 2011-04-06 16:48 Grant Edwards
  2011-04-06 16:53 ` Alan Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Grant Edwards @ 2011-04-06 16:48 UTC (permalink / raw)
  To: linux-serial

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            


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-04-06 19:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-06 16:48 Add new ASYNC_SPD_WARP13? Grant Edwards
2011-04-06 16:53 ` 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

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).