From 3100a10aa17bbfeb6f12c6c73b820e8b95498de1 Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Sun, 29 May 2005 01:04:44 +0000 Subject: [PATCH] fixed "unknown header type" problem git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12883 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/bus_managers/pci/pci_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/bus_managers/pci/pci_info.cpp b/src/add-ons/kernel/bus_managers/pci/pci_info.cpp index d4c6ce00e6..7b6961b3bb 100644 --- a/src/add-ons/kernel/bus_managers/pci/pci_info.cpp +++ b/src/add-ons/kernel/bus_managers/pci/pci_info.cpp @@ -150,7 +150,7 @@ print_info_basic(const pci_info *info, bool verbose) TRACE(("PCI: line_size %02x, latency %02x, header_type %02x, BIST %02x\n", info->line_size, info->latency, info->header_type, info->bist)); - switch (info->header_type) { + switch (info->header_type & PCI_header_type_mask) { case 0: print_generic_info(info, verbose); break;