/* read a one-byte data from a IDE port. */
UINT8 EFIAPI IdeReadPortB(IN EFI_PCI_IO_PROTOCOL *PciIo, IN UINT16 Port)
/* read a one-byte data from a IDE port. */
UINT8 EFIAPI IdeReadPortB(IN EFI_PCI_IO_PROTOCOL *PciIo, IN UINT16 Port)
{
  UINT8  Data;
  ASSERT (PciIo != NULL);
  Data = 0;
  PciIo->Io.Read (
              PciIo,
              EfiPciIoWidthUint8,
              EFI_PCI_IO_PASS_THROUGH_BAR,
              (UINT64)Port,
              1,
              &Data
              );
  return Data;
}