]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: Add PciSioSerialDxe driver
authorRuiyu Ni <ruiyu.ni@intel.com>
Thu, 10 Dec 2015 02:47:16 +0000 (02:47 +0000)
committerniruiyu <niruiyu@Edk2>
Thu, 10 Dec 2015 02:47:16 +0000 (02:47 +0000)
commita59e2edebeb2762af458aa63725f5bb0facb7c5e
tree25a9812eae1083f974524b387737692937e43601
parent00c0c3f24fb36bd7b32f4075bcc7b65a0c113be9
MdeModulePkg: Add PciSioSerialDxe driver

PciSioSerialDxe driver can manages UARTs on a SIO chip or a PCI/PCIE
card.
It manages the SIO instance whose last device path node is a ACPI
device path and the HID in the ACPI device path node equals to
EISA_PNP_ID (0x501).
It also manages the PCI IO instance whose class code is 7/0/2 (16550
UART). But when proper value is set to PcdPciSerialParameters, the
driver can also manage non-standard PCI serial cards by matching
the Vendor ID and Device ID specified in PcdPciSerialParameters.
The PCI BAR index, IO/MMIO offset, register stride, clock rate can
also be specified through the same PCD.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19179 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Pci/PciSioSerialDxe/ComponentName.c [new file with mode: 0644]
MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf [new file with mode: 0644]
MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.uni [new file with mode: 0644]
MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxeExtra.uni [new file with mode: 0644]
MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c [new file with mode: 0644]
MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.h [new file with mode: 0644]
MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/MdeModulePkg.dsc