Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/usb/serial/usb_serial.c
Show First 20 Lines • Show All 790 Lines • ▼ Show 20 Lines | ucom_queue_command(sc, ucom_cfg_open, NULL, | ||||
&sc->sc_open_task[0].hdr, | &sc->sc_open_task[0].hdr, | ||||
&sc->sc_open_task[1].hdr); | &sc->sc_open_task[1].hdr); | ||||
/* Queue transfer enable command last */ | /* Queue transfer enable command last */ | ||||
ucom_queue_command(sc, ucom_cfg_start_transfers, NULL, | ucom_queue_command(sc, ucom_cfg_start_transfers, NULL, | ||||
&sc->sc_start_task[0].hdr, | &sc->sc_start_task[0].hdr, | ||||
&sc->sc_start_task[1].hdr); | &sc->sc_start_task[1].hdr); | ||||
if (sc->sc_tty == NULL || (sc->sc_tty->t_termios.c_cflag & CNO_RTSDTR) == 0) | |||||
ucom_modem(tp, SER_DTR | SER_RTS, 0); | ucom_modem(tp, SER_DTR | SER_RTS, 0); | ||||
ucom_ring(sc, 0); | ucom_ring(sc, 0); | ||||
ucom_break(sc, 0); | ucom_break(sc, 0); | ||||
ucom_status_change(sc); | ucom_status_change(sc); | ||||
return (0); | return (0); | ||||
▲ Show 20 Lines • Show All 989 Lines • Show Last 20 Lines |