| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2000, 2002 Jeff Dike (jdike@karaya.com) |
|---|
| 3 | | - * Licensed under the GPL |
|---|
| 4 | 4 | */ |
|---|
| 5 | 5 | |
|---|
| 6 | 6 | #include <linux/fs.h> |
|---|
| .. | .. |
|---|
| 12 | 12 | #include <linux/console.h> |
|---|
| 13 | 13 | #include <asm/termbits.h> |
|---|
| 14 | 14 | #include <asm/irq.h> |
|---|
| 15 | | -#include "ssl.h" |
|---|
| 16 | 15 | #include "chan.h" |
|---|
| 17 | 16 | #include <init.h> |
|---|
| 18 | 17 | #include <irq_user.h> |
|---|
| .. | .. |
|---|
| 96 | 95 | .open = line_open, |
|---|
| 97 | 96 | .close = line_close, |
|---|
| 98 | 97 | .write = line_write, |
|---|
| 99 | | - .put_char = line_put_char, |
|---|
| 100 | 98 | .write_room = line_write_room, |
|---|
| 101 | 99 | .chars_in_buffer = line_chars_in_buffer, |
|---|
| 102 | 100 | .flush_buffer = line_flush_buffer, |
|---|
| .. | .. |
|---|
| 197 | 195 | |
|---|
| 198 | 196 | __setup("ssl", ssl_chan_setup); |
|---|
| 199 | 197 | __channel_help(ssl_chan_setup, "ssl"); |
|---|
| 198 | + |
|---|
| 199 | +static int ssl_non_raw_setup(char *str) |
|---|
| 200 | +{ |
|---|
| 201 | + opts.raw = 0; |
|---|
| 202 | + return 1; |
|---|
| 203 | +} |
|---|
| 204 | +__setup("ssl-non-raw", ssl_non_raw_setup); |
|---|
| 205 | +__channel_help(ssl_non_raw_setup, "set serial lines to non-raw mode"); |
|---|