---
name: "serial8250_register_8250_port"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/serial8250_register_8250_port"
---

# serial8250\_register\_8250\_port(9)

register a serial port

## NAME

serial8250\_register\_8250\_port - register a serial port

## SYNOPSIS

**int serial8250\_register\_8250\_port(struct uart\_8250\_port \*** *up***);**

## ARGUMENTS

*up*

serial port template

## DESCRIPTION

Configure the serial port specified by the request. If the port exists and is in use, it is hung up and unregistered first.

The port is then probed and if necessary the IRQ is autodetected If this fails an error is returned.

On success the port is ready to use and the line number is returned.

## COPYRIGHT
