[PATCH v3 02/12] dts: add the aenum dependency
Dean Marx
dmarx at iol.unh.edu
Tue Aug 27 18:28:46 CEST 2024
On Wed, Aug 21, 2024 at 10:53 AM Juraj Linkeš <juraj.linkes at pantheon.tech>
wrote:
> Regular Python enumerations create only one instance for members with
> the same value, such as:
> class MyEnum(Enum):
> foo = 1
> bar = 1
>
> MyEnum.foo and MyEnum.bar are aliases that return the same instance.
>
> DTS needs to return different instances in the above scenario so that we
> can map capabilities with different names to the same function that
> retrieves the capabilities.
>
> Signed-off-by: Juraj Linkeš <juraj.linkes at pantheon.tech>
>
Reviewed-by: Dean Marx <dmarx at iol.unh.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240827/13ae0761/attachment.htm>
More information about the dev
mailing list