]> xenbits.xensource.com Git - seabios.git/commitdiff
acpi: Use prt_slot() macro to describe irq pins of first PCI device.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 15 Dec 2012 14:29:43 +0000 (09:29 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 15 Dec 2012 14:29:43 +0000 (09:29 -0500)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/acpi-dsdt.dsl

index b58ef629cde05ba1fd1c696bf12b148509d630a6..158f6b4d00d259564cc8c26de7d0a88d1e53e97d 100644 (file)
@@ -187,10 +187,7 @@ DefinitionBlock (
 
                 prt_slot0(0x0000),
                 /* Device 1 is power mgmt device, and can only use irq 9 */
-                Package() { 0x1ffff, 0, LNKS, 0 },
-                Package() { 0x1ffff, 1, LNKB, 0 },
-                Package() { 0x1ffff, 2, LNKC, 0 },
-                Package() { 0x1ffff, 3, LNKD, 0 },
+                prt_slot(0x0001, LNKS, LNKB, LNKC, LNKD),
                 prt_slot2(0x0002),
                 prt_slot3(0x0003),
                 prt_slot0(0x0004),