]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Show block device ACPI table contents only at DBGLVL_EXTRA
authorMichael Brown <mcb30@ipxe.org>
Tue, 20 Oct 2020 14:03:37 +0000 (15:03 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 20 Oct 2020 14:05:37 +0000 (15:05 +0100)
The ACPI table contents are typically large and are likely to cause
any preceding error messages to scroll off-screen.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_block.c

index a63bc9ccfc4dd20fc373d5f67136ad7941d87b80..fa37be9d353ee1dae24c5cc453ebb7476f1353c1 100644 (file)
@@ -450,17 +450,17 @@ static int efi_block_install ( struct acpi_header *hdr ) {
                rc = -EEFI ( efirc );
                DBGC ( acpi, "EFIBLK could not install %s: %s\n",
                       acpi_name ( hdr->signature ), strerror ( rc ) );
-               DBGC_HDA ( acpi, 0, hdr, len );
+               DBGC2_HDA ( acpi, 0, hdr, len );
                goto err_install;
        }
 
        /* Add to list of installed tables */
        list_add_tail ( &installed->list, &efi_acpi_tables );
 
-       DBGC ( acpi, "EFIBLK installed %s as ACPI table %#lx:\n",
+       DBGC ( acpi, "EFIBLK installed %s as ACPI table %#lx\n",
               acpi_name ( hdr->signature ),
               ( ( unsigned long ) installed->key ) );
-       DBGC_HDA ( acpi, 0, hdr, len );
+       DBGC2_HDA ( acpi, 0, hdr, len );
        return 0;
 
        list_del ( &installed->list );