mirror of
https://github.com/acpica/acpica/
synced 2025-03-27 08:33:08 +03:00
ACPI 5.0/iASL: Update for Uart/_SLV field
Needed to attach the _SLV name to one of the existing (unnamed) fields of the UartSerialBus parse tree.
This commit is contained in:
parent
5c281d515c
commit
0044a4c4aa
@ -1179,6 +1179,16 @@ RsDoUartSerialBusDescriptor (
|
||||
case 11: /* Resource Usage (consumer/producer) */
|
||||
|
||||
RsSetFlagBits (&Descriptor->UartSerialBus.Flags, InitializerOp, 1, 1);
|
||||
|
||||
/*
|
||||
* 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);
|
||||
break;
|
||||
|
||||
case 12: /* ResourceTag (Descriptor Name) */
|
||||
@ -1199,15 +1209,5 @@ 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