From da3e69467908d8b8c425cf548c0d162462c46e0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 3 Nov 2011 22:28:19 +0000 Subject: [PATCH] Fix building without USE_PCI_HEADER defined. Btw, do we *really* need this ? removing it saved 1MB in the pci bus_manager binary, and makes it possible again to use 1.44MB floppy images... Besides the only people who woul'd ever see the output (in syslog) are those who know how to look the IDs up anyway. listdev and Devices have their own copy of those strings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43174 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 79ec12bee6..fc1e75943e 100644 --- a/src/add-ons/kernel/bus_managers/pci/pci_info.cpp +++ b/src/add-ons/kernel/bus_managers/pci/pci_info.cpp @@ -182,10 +182,10 @@ print_info_basic(const pci_info *info, bool verbose) } else { TRACE(("PCI: device %04x: %s\n", info->device_id, devShort ? devShort : devFull)); } -#endif char classInfo[64]; get_class_info(info->class_base, info->class_sub, info->class_api, classInfo, sizeof(classInfo)); TRACE(("PCI: info: %s\n", classInfo)); +#endif } TRACE(("PCI: line_size %02x, latency %02x, header_type %02x, BIST %02x\n", info->line_size, info->latency, info->header_type, info->bist));