tty: Replace ASYNC_CHECK_CD and update atomically
Replace ASYNC_CHECK_CD bit in the tty_port::flags field with TTY_PORT_CHECK_CD bit in the tty_port::iflags field. Introduce helpers tty_port_set_check_carrier() and tty_port_check_carrier() to abstract the atomic bit ops. Signed-off-by:Peter Hurley <peter@hurleysoftware.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- drivers/char/pcmcia/synclink_cs.c 2 additions, 6 deletionsdrivers/char/pcmcia/synclink_cs.c
- drivers/isdn/i4l/isdn_tty.c 2 additions, 6 deletionsdrivers/isdn/i4l/isdn_tty.c
- drivers/tty/amiserial.c 3 additions, 6 deletionsdrivers/tty/amiserial.c
- drivers/tty/cyclades.c 4 additions, 10 deletionsdrivers/tty/cyclades.c
- drivers/tty/isicom.c 2 additions, 5 deletionsdrivers/tty/isicom.c
- drivers/tty/mxser.c 3 additions, 6 deletionsdrivers/tty/mxser.c
- drivers/tty/synclink.c 2 additions, 6 deletionsdrivers/tty/synclink.c
- drivers/tty/synclink_gt.c 2 additions, 6 deletionsdrivers/tty/synclink_gt.c
- drivers/tty/synclinkmp.c 2 additions, 6 deletionsdrivers/tty/synclinkmp.c
- include/linux/tty.h 13 additions, 0 deletionsinclude/linux/tty.h
- net/irda/ircomm/ircomm_tty.c 2 additions, 2 deletionsnet/irda/ircomm/ircomm_tty.c
- net/irda/ircomm/ircomm_tty_attach.c 1 addition, 1 deletionnet/irda/ircomm/ircomm_tty_attach.c
- net/irda/ircomm/ircomm_tty_ioctl.c 1 addition, 4 deletionsnet/irda/ircomm/ircomm_tty_ioctl.c
Loading
Please register or sign in to comment