From 30fc876c38311e105d5fb731f0beae06c2f28c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 5 Dec 2011 00:39:21 +0100 Subject: [PATCH] Only use PCI strings for x86 for now. On m68k at least those make the boot tgz exceed the floppy image size. Maybe this should be moved to BuildSetup, or just discarded, they are only used for printing vendor names at boot... --- src/add-ons/kernel/bus_managers/pci/pci_info.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 fc1e75943e..2a1b17e589 100644 --- a/src/add-ons/kernel/bus_managers/pci/pci_info.cpp +++ b/src/add-ons/kernel/bus_managers/pci/pci_info.cpp @@ -13,7 +13,12 @@ #include "pci.h" #define PCI_VERBOSE 1 +#ifdef __INTEL__ +// enabling it makes the pci bus_manager binary about 1MB +// some other platforms have issues with floppy image size... +// TODO: Move this define to BuildSetup? #define USE_PCI_HEADER 1 +#endif #if USE_PCI_HEADER # include "pcihdr.h"