• Andrew Morton's avatar
    revert "keyspan: init termios properly" · f78ba157
    Andrew Morton authored
    Revert 7eea4364.
    
    Lucy said:
    
      This patch will work with the 19HS but WILL BREAK all other Keyspan
      adapters.  It will take me a few days to get to looking at a correct fix but
      that keyspan_send_setup(port, 1) (and the '1' is the important part) must
      happen once when the port is first opened.  The cflag can just be set to
      whatever the normal default is for your serial environment.
    
    So revert this again pending the proper fix.
    
    Cc: Borislav Petkov <bbpetkov@yahoo.de>
    Cc: Greg KH <greg@kroah.com>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Cc: Lucy McCoy <lucy@keyspan.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    f78ba157
keyspan.c 71.8 KB