/* Converts a text device path node to I20 device path structure. */
EFI_DEVICE_PATH_PROTOCOL* DevPathFromTextI2O(CHAR16 *TextDeviceNode)
/* Converts a text device path node to I20 device path structure. */
EFI_DEVICE_PATH_PROTOCOL* DevPathFromTextI2O(CHAR16 *TextDeviceNode)
{
  CHAR16          *TIDStr;
  I2O_DEVICE_PATH *I2ODevPath;
  TIDStr     = GetNextParamStr (&TextDeviceNode);
  I2ODevPath = (I2O_DEVICE_PATH *) CreateDeviceNode (
                                    MESSAGING_DEVICE_PATH,
                                    MSG_I2O_DP,
                                    (UINT16) sizeof (I2O_DEVICE_PATH)
                                    );
  I2ODevPath->Tid  = (UINT32) Strtoi (TIDStr);
  return (EFI_DEVICE_PATH_PROTOCOL *) I2ODevPath;
}