/* write a 2-word data to a specific IDE port. */
VOID EFIAPI IdeWritePortDW(IN EFI_PCI_IO_PROTOCOL *PciIo, IN UINT16 Port, IN UINT32 Data)
/* write a 2-word data to a specific IDE port. */
VOID EFIAPI IdeWritePortDW(IN EFI_PCI_IO_PROTOCOL *PciIo, IN UINT16 Port, IN UINT32 Data)
{
  ASSERT (PciIo != NULL);
  PciIo->Io.Write (
              PciIo,
              EfiPciIoWidthUint32,
              EFI_PCI_IO_PASS_THROUGH_BAR,
              (UINT64)Port,
              1,
              &Data
              );
}