]> git.hungrycats.org Git - linux/commit
[SERIAL] Add new port registration/unregistration functions.
authorRussell King <rmk@flint.arm.linux.org.uk>
Tue, 19 Oct 2004 16:50:24 +0000 (17:50 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Tue, 19 Oct 2004 16:50:24 +0000 (17:50 +0100)
commitbefff6f5bf5f7d89f339e49f2a5b1e59097797e6
tree2492e7987b479b3b83646de7165dca58671b775b
parent14b63a5c36cc1148472cd9a385301b2a74223c90
[SERIAL] Add new port registration/unregistration functions.

serial8250_register_port()/serial8250_unregister_port() has the
capability of registering ports with their struct device nodes,
which allows sysfs to indicate which tty devices belong to which
hardware devices.

We also add a serial8250 platform device driver in an initial
attempt at PM for ISA ports.  However, I'm leaving out the
platform device for the time being since adding that would cause
potential oops issues.
drivers/serial/8250.c
drivers/serial/8250.h