···1717 }17181719 if (cflag & CRTSCTS) {1720- info->flags |= ASYNC_CTS_FLOW;1721 port->ip_sscr |= IOC4_SSCR_HFC_EN;1722 }1723 else {1724- info->flags &= ~ASYNC_CTS_FLOW;1725 port->ip_sscr &= ~IOC4_SSCR_HFC_EN;1726 }1727 writel(port->ip_sscr, &port->ip_serial_regs->sscr);···17581759 info = the_port->info;17601761- if (info->tty) {1762- set_bit(TTY_IO_ERROR, &info->tty->flags);1763- clear_bit(TTY_IO_ERROR, &info->tty->flags);1764- if ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_HI)1765- info->tty->alt_speed = 57600;1766- if ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_VHI)1767- info->tty->alt_speed = 115200;1768- if ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_SHI)1769- info->tty->alt_speed = 230400;1770- if ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_WARP)1771- info->tty->alt_speed = 460800;1772- }1773 local_open(port);17741775 /* set the speed of the serial port */
···1717 }17181719 if (cflag & CRTSCTS) {01720 port->ip_sscr |= IOC4_SSCR_HFC_EN;1721 }1722 else {01723 port->ip_sscr &= ~IOC4_SSCR_HFC_EN;1724 }1725 writel(port->ip_sscr, &port->ip_serial_regs->sscr);···17601761 info = the_port->info;17620000000000001763 local_open(port);17641765 /* set the speed of the serial port */