Description of problem: Date: Thu, 19 May 2005 12:09:12 -0500 From: Matt Domsch <Matt_Domsch> To: linux-pci.mff.cuni.cz, ak Subject: [PATCH] pciutils: enable PCI_HAVE_64BIT_ADDRESS for x86_64 I'm not sure why x86_64 isn't included in the list of architectures for which PCI_HAVE_64BIT_ADDRESS is defined. Looking at RHEL4 and FC4-devel, neither set it. This causes libpci to emit warning messages to stdout such as: pcilib: Resource 5 in /sys/bus/pci/devices/0000:00:1f.1/resource has a 64-bit address, ignoring Changing this has consequences on all applications linked against libpci, as the size of pciaddr_t will change (exported in /usr/include/pci/types.h) so this is only safe to do in development releases where the rest of the world is getting built too, not to backport onto already-released products. Thoughts? Thanks, Matt -- Matt Domsch Software Architect Dell Linux Solutions linux.dell.com & www.dell.com/linux Linux on Dell mailing lists @ http://lists.us.dell.com --- pciutils-2.1.99-test8/lib/configure.pciids.orig 2005-05-19 11:53:11.000000000 -0500 +++ pciutils-2.1.99-test8/lib/configure.pciids 2005-05-19 11:53:27.000000000 -0500 @@ -52,7 +52,7 @@ case $sys in echo >>$c '#define PCI_HAVE_PM_INTEL_CONF' ok=1 ;; - alpha|ia64|sparc|sparc64|ppc|ppc64) + alpha|ia64|sparc|sparc64|ppc|ppc64|x86_64) echo >>$c '#define PCI_HAVE_64BIT_ADDRESS' ;; esac
Added in -10.