+/**\r
+ Set new attributes to a serial device\r
+\r
+ @param This - Pointer to EFI_SERIAL_IO_PROTOCOL\r
+ @param BaudRate - The baudrate of the serial device\r
+ @param ReceiveFifoDepth - The depth of receive FIFO buffer\r
+ @param Timeout - The request timeout for a single char\r
+ @param Parity - The type of parity used in serial device\r
+ @param DataBits - Number of databits used in serial device\r
+ @param StopBits - Number of stopbits used in serial device\r
+\r
+ @retval EFI_SUCCESS - The new attributes were set\r
+ @retval EFI_INVALID_PARAMETERS - One or more attributes have an unsupported value\r
+ @retval EFI_UNSUPPORTED - Data Bits can not set to 5 or 6\r
+ @retval EFI_DEVICE_ERROR - The serial device is not functioning correctly (no return)\r
+\r
+**/\r