fixed "unknown header type" problem

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12883 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2005-05-29 01:04:44 +00:00
parent b2c1ecd640
commit 3100a10aa1

View File

@ -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;