'\" t .\" Title: serial8250_register_8250_port .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: 16x50 UART Driver .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SERIAL8250_REGISTER_" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "16x50 UART Driver" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" serial8250_register_8250_port \- register a serial port .SH "SYNOPSIS" .HP \w'int\ serial8250_register_8250_port('u .BI "int serial8250_register_8250_port(struct\ uart_8250_port\ *\ " "up" ");" .SH "ARGUMENTS" .PP \fIup\fR .RS 4 serial port template .RE .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\&. .SH "COPYRIGHT" .br