On 7/18/2012 7:53 AM, Igor Zhbanov wrote:
+#ifndef DISABLE_PCI
if (strcmp(bus, "pci") == 0) {
char filename[4096];
uint16_t vendor = 0, device = 0;
@@ -77,6 +79,8 @@ runtime_tunable::runtime_tunable(const char *path, const char *bus,
const char *
}
+#endif /* !DISABLE_PCI */
and this chunk is just silly
if you don't have PCI, this code will never trigger in the first place.