mirror of
https://github.com/acpica/acpica/
synced 2025-03-27 08:33:08 +03:00
ACPI 5.0/iASL: Add _SLV field to UartSerialBus macro.
Slave mode is not an actual argument to this macro, but the bit is defined in the common serial bus descriptor. There is some concern that there may be a "slave mode" needed for some rare UARTs, so we add this field so that the flag can be set dynamically by the ASL, if it is required.
This commit is contained in:
parent
c5f0b06303
commit
8539d18bb5
@ -1199,5 +1199,15 @@ RsDoUartSerialBusDescriptor (
|
||||
InitializerOp = RsCompleteNodeAndGetNext (InitializerOp);
|
||||
}
|
||||
|
||||
/*
|
||||
* Slave Mode [Flag] (_SLV)
|
||||
*
|
||||
* Note: There is no SlaveMode argument to the UartSerialBus macro, but
|
||||
* we add this name anyway to allow the flag to be set by ASL in the
|
||||
* rare case where there is a slave mode associated with the UART.
|
||||
*/
|
||||
RsCreateBitField (InitializerOp, ACPI_RESTAG_SLAVEMODE,
|
||||
CurrentByteOffset + ASL_RESDESC_OFFSET (UartSerialBus.Flags), 0);
|
||||
|
||||
return (Rnode);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user