[lkml]   [2006]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] tty: preparatory structures for termios revamp
    On Wed, 2006-10-18 at 18:39 +0100, Alan Cox wrote:
    > In order to sort out our struct termios and add proper speed control we
    > need to separate the kernel and user termios structures. Glibc is fine
    > but the other libraries rely on the kernel exported struct termios and
    > we need to extend this without breaking the ABI/API
    > To do so we add a struct ktermios which is the kernel view of a termios
    > structure and overlaps the struct termios with extra fields on the end
    > for now. (That limitation will go away in later patches). Some platforms
    > (eg alpha) planned ahead and thus use the same struct for both, others
    > did not.
    > This just adds the structures but does not use them, it seems a sensible
    > splitting point for bisect if there are compile failures (not that I
    > expect them)

    Why have separate copies of almost identical structures in each
    architecture -- can we not put the new structure in
    asm-generic/termbits.h and use that for all but SPARC, which has the
    extra _x_cc field?


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-10-19 08:47    [W:0.019 / U:11.040 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site