Skip to content
  • Jesper Nilsson's avatar
    CRISv10 serial driver rewrite · 77accbf5
    Jesper Nilsson authored
    
    
    New and improved serial driver for CRISv10, take three, with improvements
    suggested by Jiri Slaby.
    
    - Call wait_event_interruptible with a _correct_ and sensible condition.
    - Removed superfluous test of info->flags & ASYNC_CLOSING, since that is done
      by wait_event_interruptible.
    - Moved common code for deregistering DMA and IRQ to deinit_port function.
    - Use setup_timer when initializing flush_timer.
    - Convert bit-field for uses_dma_in and uses_dma_out to regular bytes.
    - Removed CVS tags.
    - Removed defines and comments for CRIS_BUF_SIZE and TTY_THRESHOLD_THROTTLE
      (no longer used).
    - Cleaned up code to pass checkpatch.
    - Add crisv10.h header file.
    - Merge of CRISv10 from Axis internal CVS.
    
    Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
    Reviewed-by: default avatarJiri Slaby <jirislaby@gmail.com>
    Cc: Mikael Starvik <starvik@axis.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    77accbf5