VCOM Linux Driver
Advantech Inc.
Loading...
Searching...
No Matches
adv_uart_set_termios.h
Go to the documentation of this file.
1
#ifndef _ADV_UART_SET_TERMIOS_H
2
#define _ADV_UART_SET_TERMIOS_H
3
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,1,0)
4
//@ current
5
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4,0,0)
6
# if defined(RHEL_RELEASE_CODE)
7
# if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9,2)
8
# define _BACK_PORT_6_1_0
9
# endif
10
# endif
11
# ifdef _BACK_PORT_6_1_0
12
void
adv_uart_set_termios(
struct
uart_port *port,
struct
ktermios *termios,
13
const
struct
ktermios *old);
14
# else
15
void
adv_uart_set_termios(
struct
uart_port *port,
struct
ktermios *termios,
16
struct
ktermios *old);
17
# endif
18
# undef _BACK_PORT_6_1_0
19
#else
20
void
adv_uart_set_termios(
struct
uart_port *port,
struct
ktermios *termios,
21
struct
ktermios *old);
22
#endif
//LINUX_VERSION_CODE >= KERNEL_VERSION(6,1,0)
23
24
#endif
//_ADV_UART_SET_TERMIOS_H
driver
legacy
uart
adv_uart_set_termios.h
Generated by
1.12.0