diff options
author | 2002-06-11 14:41:35 +0000 | |
---|---|---|
committer | 2002-06-11 14:41:35 +0000 | |
commit | 999e69db9bd73ac6e34d2312219330426ab01d3e (patch) | |
tree | 8be2df4e8e5a11344df40855427a4d245a391e9d | |
parent | make this link on ELF arch systems. (diff) | |
download | wireguard-openbsd-999e69db9bd73ac6e34d2312219330426ab01d3e.tar.xz wireguard-openbsd-999e69db9bd73ac6e34d2312219330426ab01d3e.zip |
more debugging info
-rw-r--r-- | sys/dev/pci/gdt_pci.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/gdt_pci.c b/sys/dev/pci/gdt_pci.c index 603038f9a12..244068325bb 100644 --- a/sys/dev/pci/gdt_pci.c +++ b/sys/dev/pci/gdt_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gdt_pci.c,v 1.16 2002/06/11 03:05:53 niklas Exp $ */ +/* $OpenBSD: gdt_pci.c,v 1.17 2002/06/11 14:41:35 niklas Exp $ */ /* * Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved. @@ -481,7 +481,9 @@ gdt_pci_attach(parent, self, aux) while (bus_space_read_1(dpmemt, dpmemh, GDT_MPR_IC + GDT_S_STATUS) != 0xff) { if (--retries == 0) { - printf("DEINIT failed\n"); + printf("DEINIT failed (status 0x%x)\n", + bus_space_read_1(dpmemt, dpmemh, + GDT_MPR_IC + GDT_S_STATUS)); goto bail_out; } DELAY(1); |