/* Add the ISO639-2 and RFC4646 component name both for the Serial IO device */
VOID AddName(IN SERIAL_DEV *SerialDevice, IN UINT32 Instance)
/* Add the ISO639-2 and RFC4646 component name both for the Serial IO device */
VOID AddName(IN SERIAL_DEV *SerialDevice, IN UINT32 Instance)
{
  CHAR16  SerialPortName[SERIAL_PORT_NAME_LEN];
  UnicodeSPrint (
    SerialPortName,
    sizeof (SerialPortName),
    (SerialDevice->PciDeviceInfo != NULL) ? PCI_SERIAL_PORT_NAME : SIO_SERIAL_PORT_NAME,
    Instance
    );
  AddUnicodeString2 (
    "eng",
    gPciSioSerialComponentName.SupportedLanguages,
    &SerialDevice->ControllerNameTable,
    SerialPortName,
    TRUE
    );
  AddUnicodeString2 (
    "en",
    gPciSioSerialComponentName2.SupportedLanguages,
    &SerialDevice->ControllerNameTable,
    SerialPortName,
    FALSE
    );
}