uart_register_driver

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

uart_register_driver - register a driver with the uart core layer

SYNOPSIS

int uart_register_driver(struct uart_driver * drv);

ARGUMENTS

drv

low level driver structure

DESCRIPTION

Register 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.