summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/pci_addr_fixup.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-08-14 22:48:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-08-14 22:48:29 +0000
commit3a24fccadab9471f9a595227bb40f4131a982c32 (patch)
treefe444990873b1e97e2b8117407a1106a98a0b92d /sys/arch/i386/pci/pci_addr_fixup.c
parent5ad8c4aca109ae5f0dc85dfee165d740d1ea121f (diff)
say which type of header is unknown
Diffstat (limited to 'sys/arch/i386/pci/pci_addr_fixup.c')
-rw-r--r--sys/arch/i386/pci/pci_addr_fixup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pci_addr_fixup.c b/sys/arch/i386/pci/pci_addr_fixup.c
index 04e9aa216f6..bb99bf6f769 100644
--- a/sys/arch/i386/pci/pci_addr_fixup.c
+++ b/sys/arch/i386/pci/pci_addr_fixup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_addr_fixup.c,v 1.18 2006/07/13 18:02:18 kettenis Exp $ */
+/* $OpenBSD: pci_addr_fixup.c,v 1.19 2006/08/14 22:48:28 deraadt Exp $ */
/* $NetBSD: pci_addr_fixup.c,v 1.7 2000/08/03 20:10:45 nathanw Exp $ */
/*-
@@ -200,7 +200,8 @@ pciaddr_resource_manage(sc, pc, tag, func)
val = pci_conf_read(pc, tag, PCI_BHLC_REG);
switch (PCI_HDRTYPE_TYPE(val)) {
default:
- printf("WARNING: unknown PCI device header.\n");
+ printf("WARNING: unknown PCI device header 0x%x.\n",
+ PCI_HDRTYPE_TYPE(val));
sc->nbogus++;
return;
case 0: