lkml.org 
[lkml]   [2007]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH] PowerPC: Enable arbitary speed tty ioctls and split input/output speed
    From
    Date
    Adding the defines/macros activates the existing code in the tty layer
    and allows this platform to use the arbitary speed ioctl setting layer

    Signed-off-by: David Woodhouse <dwmw2@infradead.org>

    diff --git a/include/asm-powerpc/termbits.h b/include/asm-powerpc/termbits.h
    index 5e79198..6698188 100644
    --- a/include/asm-powerpc/termbits.h
    +++ b/include/asm-powerpc/termbits.h
    @@ -152,6 +152,10 @@ struct ktermios {
    #define B3000000 00034
    #define B3500000 00035
    #define B4000000 00036
    +#define BOTHER 00037
    +
    +#define CIBAUD 077600000
    +#define IBSHIFT 16 /* Shift from CBAUD to CIBAUD */

    #define CSIZE 00001400
    #define CS5 00000000
    --
    dwmw2

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-06-08 13:21    [W:2.923 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site