]> xenbits.xensource.com Git - seabios.git/commit
dsdt: add support for pnp ids as strings
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 30 Sep 2020 11:12:22 +0000 (13:12 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 13 Oct 2020 09:01:08 +0000 (11:01 +0200)
commitdfac05be204f5829b15b52fe23d08722e5dc1eac
tree9dc414a9427542796040dd79898a3b97befd4dee
parentcf16c3b2eaee70ff27bc1d659f5546a732285d6a
dsdt: add support for pnp ids as strings

PNP devices can be declared using eisaid encoding ...

Name (_HID, EisaId ("PNP0103"))

... or as string ...

Name (_HID, "PNP0A06")

.. so lets support both variants.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200930111222.6020-3-kraxel@redhat.com
src/fw/dsdt_parser.c