diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2002-06-11 14:41:36 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2002-06-11 14:41:36 +0000 |
commit | e48690358ed91e5aac8d3162e1444a1d49ed11ba (patch) | |
tree | 563c2038273f9f07b443963b1bcdd84797ade582 /sys | |
parent | 66d1d8b60c654ac135125c25d8a9f53906920108 (diff) |
more debugging info
Diffstat (limited to 'sys')
-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); |