.\" 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 "REGISTER_SERIAL" "9" "09 October 2005" "" ""
.SH NAME
register_serial \- configure a 16x50 serial port at runtime
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int register_serial (struct serial_struct * \fIreq\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIreq\fB\fR
request structure
.SH "DESCRIPTION"
.PP
Configure the serial port specified by the request. If the
port exists and is in use an error is returned. If the port
is not currently in the table it is added.
.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.
.SH "NOTE"
.PP
this function is deprecated - use serial8250_register_port
instead.