Query: uart_register_driver
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UART_REGISTER_DRIVER(9) 16x50 UART Driver UART_REGISTER_DRIVER(9)NAMEuart_register_driver - register a driver with the uart core layerSYNOPSISint uart_register_driver(struct uart_driver * drv);ARGUMENTSdrv low level driver structureDESCRIPTIONRegister a uart driver with the core driver. We in turn register with the tty layer, and initialise the core driver per-port state. We have a proc file in /proc/tty/driver which is named after the normal driver. drv->port should be NULL, and the per-port structures should be registered using uart_add_one_port after this call has succeeded.COPYRIGHTKernel Hackers Manual 3.10 June 2014 UART_REGISTER_DRIVER(9)