.\" 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_PORT" "" "06 October 2005" "" ""
.SH NAME
uart_register_port \-
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int uart_register_port (struct uart_driver * \fIdrv\fB, struct uart_port * \fIport\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrv\fB\fR
pointer to the uart low level driver structure for this port
.TP
\fB\fIport\fB\fR
uart port structure describing the port
.SH "DESCRIPTION"
.PP
Register UART settings with the specified low level driver. Detect
the type of the port if UPF_BOOT_AUTOCONF is set, and detect the
IRQ if UPF_AUTO_IRQ is set.
.PP
We try to pick the same port for the same IO base address, so that
when a modem is plugged in, unplugged and plugged back in, it gets
allocated the same port.
.PP
Returns negative error, or positive line number.