.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "UART_REGISTER_DRIVER" "" "06 October 2005" "" ""
.SH NAME
uart_register_driver \- register a driver with the uart core layer
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int uart_register_driver (struct uart_driver * \fIdrv\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrv\fB\fR
low level driver structure
.SH "DESCRIPTION"
.PP
Register a uart driver with the core driver. We in turn register
with the tty layer, and initialise the core driver per-port state.
.PP
We have a proc file in /proc/tty/driver which is named after the
normal driver.
.PP
drv->port should be NULL, and the per-port structures should be
registered using uart_add_one_port after this call has succeeded.