.\" 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 "SERIAL8250_REGISTER_PORT" "9" "09 October 2005" "" ""
.SH NAME
serial8250_register_port \- register a serial port
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int serial8250_register_port (struct uart_port * \fIport\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIport\fB\fR
serial port template
.SH "DESCRIPTION"
.PP
Configure the serial port specified by the request. If the
port exists and is in use, it is hung up and unregistered
first.
.PP
The port is then probed and if necessary the IRQ is autodetected
If this fails an error is returned.
.PP
On success the port is ready to use and the line number is returned.