X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=README.Windows;h=e73762ba59a3abb95c6434602268badcefcb99e4;hb=018f413ceb674d3c5c52a3a78bcad3b9daab9a26;hp=81b41f385bb6ca78f52e6065356bb758f7a2ddfd;hpb=489233b45bc68e94b2d065f696ed22bc6e6eec02;p=pciutils.git diff --git a/README.Windows b/README.Windows index 81b41f3..e73762b 100644 --- a/README.Windows +++ b/README.Windows @@ -1,17 +1,23 @@ -Since 2.1.99-test5, pciutils should also be compilable on Windows. +Since 2.1.99-test5, pciutils should also be compilable on Windows. Thanks +to Alexander Stock for contributing the port. -However, you need to configure the package manually: +Updated after version 2.2.6 to compile again, and with MinGW, even (only?) +cross-compiling. (Hopefully it works with MSVC too.) -lib/config.mk: +To use this port, you need to install WinIO.dll first. You can get it here: -PCI_ARCH_I386=1 -PCI_HAVE_PM_INTEL_CONF=1 -PCI_OS_WINDOWS=1 + https://github.com/starofrainnight/winio + https://github.com/vaptu/winio -lib/config.h: +However, you need to use win32/config.{h,mk} instead of the automatically +generated lib/config.{h,mk} as lib/configure does not run on Windows. -#define PCI_ARCH_I386 -#define PCI_OS_WINDOWS -#define PCI_HAVE_PM_INTEL_CONF -#define PCI_PATH_IDS "pci.ids" -#define PCILIB_VERSION "2.1.99-test5" +================================================================================ +BEWARE: The current implementation pokes I/O ports to access the PCI devices +directly. This leads to several problems: some devices are invisible, extended +PCIe configuration space is not available, and there are many potential race +conditions. Instead, libpci should use the proper Windows drivers. + +Unfortunately, the Windows port currently lacks a maintainer. If you are willing +to step up and fix the issues, please let me know. -- Martin Mares +================================================================================