]> git.hungrycats.org Git - linux/commit
[SERIAL] Overhaul 8250_pci.c
authorRussell King <rmk@flint.arm.linux.org.uk>
Sat, 8 Mar 2003 16:59:16 +0000 (16:59 +0000)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 8 Mar 2003 16:59:16 +0000 (16:59 +0000)
commitcff179f1ab52e0646e150d4d430dbfb2a0c2da93
tree2f4827da0fd5f9feed7299272a344a087acde3c7
parentfd7eaee294de336411e887651de05cc0bd80f70a
[SERIAL] Overhaul 8250_pci.c

- Add local copy of flags for describing port characteristics.
- Add "quirk" handling to sort out board-specific initialisation,
  per-port setup, and finalisation.
- Remove quirk information from struct pci_board array, thereby
  making entries more generic.
- Initialise struct pci_board array using explicit indicies -
  adding to the readability, and making sure that the right entries
  are in the correct location in the table.
- Ensure we tell the serial layer to claim resources, and share
  interrupts.  PCI interrupts are sharable, and need to be so that
  multi-function cardbus cards will work.
- Only remap each PCI memory BAR once.
- Add pci serial driver to the tty devclass (this requires the patch
  to make tty_io.c register the tty devclass early.)

Tested by CaT and myself.
drivers/serial/8250_pci.c