tie acpi debug messages to acpi.c with message text and use Lintr for lintr not "Localintr". Reference: /n/atom/patch/applied2013/acpidbgmsgs Date: Mon Aug 26 18:05:37 CES 2013 Signed-off-by: quanstro@quanstro.net --- /sys/src/nix/k10/acpi.c Mon Aug 26 18:05:07 2013 +++ /sys/src/nix/k10/acpi.c Mon Aug 26 18:05:07 2013 @@ -224,7 +224,7 @@ enum { Iointr, - Localintr, + Lintr, }; static u32int @@ -261,7 +261,7 @@ return 0; } break; - case Localintr: + case Lintr: if((apic = lapiclookup(apicno)) == nil){ print("apic: lapic unusable %d\n", apicno); return 0; @@ -419,11 +419,11 @@ tbdf = MKBUS(BusPCI, bno, adr>>16, adr&0xFFFF); pdev = pcimatchtbdf(tbdf); if(pdev == nil){ - DBG("acpi: pcibusno: bridge not found: %T \n", tbdf); + DBG("acpi: pcibusno: bridge not found: %T\n", tbdf); return -1; } if(pdev->bridge == nil){ - DBG("pcibusno: nothing bridged: %T\n", tbdf); + DBG("acpi: pcibusno: nothing bridged: %T\n", tbdf); return -1; } return BUSBNO(pdev->bridge->tbdf);