| .. | .. |
|---|
| 22 | 22 | * So, THIS CODE CAN DESTROY OTi-6858 AND ANY OTHER DEVICES, THAT ARE |
|---|
| 23 | 23 | * CONNECTED TO IT! |
|---|
| 24 | 24 | * |
|---|
| 25 | | - * See Documentation/usb/usb-serial.txt for more information on using this |
|---|
| 25 | + * See Documentation/usb/usb-serial.rst for more information on using this |
|---|
| 26 | 26 | * driver |
|---|
| 27 | 27 | * |
|---|
| 28 | 28 | * TODO: |
|---|
| .. | .. |
|---|
| 393 | 393 | |
|---|
| 394 | 394 | static void oti6858_init_termios(struct tty_struct *tty) |
|---|
| 395 | 395 | { |
|---|
| 396 | | - tty->termios = tty_std_termios; |
|---|
| 397 | | - tty->termios.c_cflag = B38400 | CS8 | CREAD | HUPCL | CLOCAL; |
|---|
| 398 | | - tty->termios.c_ispeed = 38400; |
|---|
| 399 | | - tty->termios.c_ospeed = 38400; |
|---|
| 396 | + tty_encode_baud_rate(tty, 38400, 38400); |
|---|
| 400 | 397 | } |
|---|
| 401 | 398 | |
|---|
| 402 | 399 | static void oti6858_set_termios(struct tty_struct *tty, |
|---|