]> git.hungrycats.org Git - linux/commit
[SERIAL] removing legacy UART cruft
authorBjorn Helgaas <bjorn.helgaas@com.rmk.(none)>
Sun, 5 Oct 2003 22:58:04 +0000 (23:58 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sun, 5 Oct 2003 22:58:04 +0000 (23:58 +0100)
commitd3902aada61e6adf4c354fe9273e3f9caf70944c
tree0d441658f3fda3b501cd5b2f80a33c491650ed4b
parent01d0c436ea4dcbf86b92d9ad9888912dc1a0b397
[SERIAL] removing legacy UART cruft

I'm trying to remove all the legacy UART cruft from ia64.  In theory
we should be able to discover all UARTs on ia64 via ACPI and PCI
enumeration, so we shouldn't need SERIAL_PORT_DFNS.

But SERIAL_PORT_DFNS currently does two things:
        1) it tells you about legacy devices you can't discover
           via a standard enumeration method, and
        2) it sizes old_serial_port[], which determines UART_NR,
           which is the maximum number of ports the driver will
           support

So here's a proposal to make SERIAL_PORT_DFNS optional and
provide another mechanism for configuring the number of ports
to support.
drivers/serial/8250.c
drivers/serial/8250_pci.c
drivers/serial/Kconfig