1UART_ADD_ONE_PORT(9) 16x50 UART Driver UART_ADD_ONE_PORT(9)
2
3
4
6 uart_add_one_port - attach a driver-defined port structure
7
9 int uart_add_one_port(struct uart_driver * drv,
10 struct uart_port * uport);
11
13 drv
14 pointer to the uart low level driver structure for this port
15
16 uport
17 uart port structure to use for this port.
18
20 This allows the driver to register its own uart_port structure with the
21 core driver. The main purpose is to allow the low level uart drivers to
22 expand uart_port, rather than having yet more levels of structures.
23
25Kernel Hackers Manual 2.6. June 2019 UART_ADD_ONE_PORT(9)