]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
parse_hwdb: sort general matches
authorLennart Poettering <lennart@amutable.com>
Tue, 3 Mar 2026 20:09:27 +0000 (21:09 +0100)
committerLennart Poettering <lennart@amutable.com>
Wed, 4 Mar 2026 07:22:20 +0000 (08:22 +0100)
hwdb.d/parse_hwdb.py

index 3c81fa371f522b55378d25b5eadfb75278174845..7efa61ad4b8c330ab7072e2fb2590e123c8a0268 100755 (executable)
@@ -100,13 +100,13 @@ TYPES = {'mouse':    ('usb', 'bluetooth', 'ps2', '*'),
 # Patterns that are used to set general properties on a device
 GENERAL_MATCHES = {'acpi',
                    'bluetooth',
-                   'usb',
+                   'dmi',
+                   'ieee1394',
+                   'OUI',
                    'pci',
                    'sdio',
+                   'usb',
                    'vmbus',
-                   'OUI',
-                   'ieee1394',
-                   'dmi',
                    }
 
 def upperhex_word(length):