commit 13854f603f720c45caf51d785a874d3c7e8c5f58
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Oct 23 11:44:32 2017 -0400

    libpciaccess 0.14
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit a167bd6474522a709ff3cbb00476c0e4309cb66f
Author: Stephen Hemminger <stephen@networkplumber.org>
Date:   Mon Sep 18 13:17:23 2017 -0400

    linux: support 32 bit PCI domains (v3)
    
    The PCI domain may be larger than 16 bits on Microsoft Azure and other
    virtual environments. PCI busses reported by ACPI are limited to 16
    bits, but in Azure the domain value for pass through devices is
    intentionally larger than 16 bits to avoid clashing with local devices.
    This is needed to support pass through of GPU devices.
    
    v3: (ajax)
    Update FreeBSD and Solaris backends to preserve the full 32-bit domain
    number, since on those OSes it stands a chance of working already.
    Update NetBSD and OpenBSD backends to initialize domain_16 compatibly
    with older libpciaccess; neither backend appears to support more than a
    handful of domains to begin with though. Trivially update the generic
    x86 backend for source compatibility, though it still only supports one
    domain and will never be better.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=101744
    Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
    Reviewed-by: Eric Anholt <eric@anholt.net>

commit 4f1ac52e828eed1c410ee66304fcb7a17f25da40
Author: Emil Velikov <emil.velikov@collabora.com>
Date:   Tue Apr 4 14:40:41 2017 +0100

    libpciaccess 0.13.5
    
    Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

commit 9b9d26ce7646713e148c7ee0f461c2bcccdd5201
Author: Emil Velikov <emil.velikov@collabora.com>
Date:   Tue Apr 4 13:48:46 2017 +0100

    configure.ac: set AC_CONFIG_AUX_DIR
    
    If not set, libtool will search directories up to ../.. for an install-sh and
    then dump the aux files there. This caused a couple of problems with the xorg
    release.sh script that now uses worktrees but is generally bad behaviour
    because we can't guarantee that we're not inside some other repository.
    
    Set AC_CONFIG_AUX_DIR to avoid this behavior.
    
    See https://lists.freedesktop.org/archives/xorg-devel/2017-March/053006.html
    
    Note: the commit and above message are shamelessly copied from libinput.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

commit 504a65a732ea070dce907fce827a15d6b61e0c4d
Author: Emil Velikov <emil.velikov@collabora.com>
Date:   Tue Apr 4 13:33:29 2017 +0100

    configure.ac: remove AC_CONFIG_SRCDIR macro
    
    It is used to guide people who incorrectly set configure --srcdir.
    
    To be actually useful the macro should point to a rather unique file -
    which in our current case is a false premise. We have five Makefile.am
    in-tree and chances are that $libpciaccess/.. may also contain such a
    file.
    
    Let's not pretend that its useful and leave the user to what they're
    asking for.
    
    Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

commit fe556c48dad96717b0ba71d489575c6b90b46448
Author: Henry Zhao <henry.zhao@oracle.com>
Date:   Wed May 25 14:06:49 2016 -0700

    use cached devinfo snapshots, remove unnecessary di_init()
    
    Use cached devinfo (DINFOCACHE) in di_init().
    Remove unnecessary di_init() on nexus nodes.
    
    Signed-off-by: Henry Zhao <henry.zhao@oracle.com>
    Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

commit 0bd248f852f1f2a37396c98519eee6f50c434848
Author: Henry Zhao <henry.zhao@oracle.com>
Date:   Wed May 25 14:04:40 2016 -0700

    probe should not hold pci nexus drivers open
    
    Probe should not hold pci nexus drivers open - close after use.
    
    Signed-off-by: Henry Zhao <henry.zhao@oracle.com>
    Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

commit 85a484b94d5cdcad31c3caf8b0fa52e6f50dec96
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Thu Dec 1 18:14:40 2016 +0000

    Revert "linux_sysfs: include <limits.h> for PATH_MAX"
    
    This reverts commit 8ea3af620a2d4ad5648917b4a0ef2b23ff566774.
    
    The include was added with 6bd2f7f92eae713663f4e13f6e2cb23526607b8c
    
    Cc: Adam Jackson <ajax@redhat.com>

commit e787ec28e433a24195f37012dad23bce468b330a
Author: Mihail Konev <k.mvc@ya.ru>
Date:   Thu Jan 26 13:52:49 2017 +1000

    autogen: add default patch prefix
    
    Signed-off-by: Mihail Konev <k.mvc@ya.ru>

commit cdb2bfc9668895431e73335fc0490c4cbfa3023a
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Thu Jan 26 12:04:14 2017 +1000

    autogen.sh: use quoted string variables
    
    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
    fall-outs, when they contain space.
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit f46a7a83e42fcd0601b21e361ea7fbf056d11fce
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Jan 26 12:03:12 2017 +1000

    autogen.sh: use exec instead of waiting for configure to finish
    
    Syncs the invocation of configure with the one from the server.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>

commit 73db249c4b1eb91e0df27a1045bea344371dd2ca
Author: Emil Velikov <emil.velikov@collabora.com>
Date:   Thu Dec 1 18:17:35 2016 +0000

    linux sysfs: retrieve vendor, device... info via separate sysfs files
    
    Currently the kernel does not expose the revision file. With that about
    to change (due in 4.10) we can read all the information required from
    separate files and avoid opening the config one.
    
    The latter has the [negative] side effect of waking up the device, which
    in some cases can be quite costly.
    
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Emil Velikov <emil.velikov@collabora.com>

commit 099489b7917da44de57f3214425ea9b4a8f36482
Author: Keith Busch <keith.busch@intel.com>
Date:   Wed Aug 10 17:05:23 2016 -0600

    Ignore 32-bit domains
    
    A pci "domain" need not be limited to the 16-bits. The Linux kernel
    currently supports 32-bit domains which cause startx to segfault. Updating
    libpciaccess to support 32-bit domains breaks the library's ABI, and
    domains requiring 32-bits are not necessary for startx anyway, so this
    patch ignores them.
    
    Reported-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
    Signed-off-by: Keith Busch <keith.busch@intel.com>
    Reviewed-by: Eric Anholt <eric@anholt.net>

commit 201d1a7623c83f611761f67d4411c3c266f8f37a
Author: arsharma <ankitprasad.r.sharma@intel.com>
Date:   Mon Feb 23 21:31:07 2015 +0000

    device-name: handle calloc failure in insert()
    
    Issue was spotted by Klocwork, and fixed by arsharma as part of
    Android-ia.
    
    Just bail out if memory allocation fails. All the callers of insert()
    already handle the case.
    
    [Emil Velikov: Split from larger patch, write commit message]
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

commit af2fdf1bdc4532410f49fc0854ae4c0f9086cce9
Author: arsharma <ankitprasad.r.sharma@intel.com>
Date:   Mon Feb 23 21:31:06 2015 +0000

    vgaarb: add a the trailing NULL character on read(vgaarb_fd)
    
    Issue was spotted by Klocwork, and fixed by arsharma as part of
    Android-ia. Not 100% sure if the data read from /dev/vga_arbiter is not
    already null terminated, but making sure won't hurt either.
    
    [Emil Velikov: Split from larger patch, write commit message]
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

commit c1de5dc0541e58372dcddc5120e1e68e03f4f619
Author: Chuck Tuffli <chuck@tuffli.net>
Date:   Thu Feb 6 18:09:35 2014 -0800

    libpciaccess: Fix incorrect format specification
    
    Building libpciaccess generates a warning on versions of Linux in which
    the definition of the struct mtrr_sentry has changed to __u64.
    
    Since sentry.base is assigned from a pciaddr_t, always cast sentry.base
    to be type pciaddr_t and modify the formatting string to use PRIx64
    instead of %08lx
    
    Verified on Ubuntu 10.04 and 14.04
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=74643
    
    Signed-off-by: Chuck Tuffli <chuck@tuffli.net>

commit 8ea3af620a2d4ad5648917b4a0ef2b23ff566774
Author: Felix Janda <felix.janda@posteo.de>
Date:   Thu Dec 4 23:52:22 2014 +0100

    linux_sysfs: include <limits.h> for PATH_MAX
    
    Signed-off-by: Felix Janda <felix.janda@posteo.de>
    Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>

commit 42240dcbbce8ec744401d4a464f71c3fbd3fca1b
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Mon Mar 9 11:57:40 2015 +0000

    autogen.sh: pass --force to autoreconf, quote string variables
    
    By passing --force autoreconf will update all the aux files, which would
    otherwise be ignored if one updates autoconf/automake.
    
    Quote the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when
    it contains space.
    
    v2: Also handle $srcdir and $0.
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

commit e99c005d623a74287bbfafffc0c7040c31cdb01f
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Sep 22 08:38:56 2015 -0400

    chmod a-x README.cygwin
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 6bd2f7f92eae713663f4e13f6e2cb23526607b8c
Author: Felix Janda <felix.janda@posteo.de>
Date:   Fri May 1 16:36:50 2015 +0200

    linux_sysfs.c: Include <limits.h> for PATH_MAX
    
    Fixes compilation with musl libc.
    
    Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
    Signed-off-by: Felix Janda <felix.janda@posteo.de>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 765e0a38cb8c40f8865af5cb356ffe6039ffb08f
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sun Mar 22 21:38:23 2015 +0100

    Fix quoting issue.
    
    m4 has '[]' as quoting characters, so if we want '[]' to
    end up in the configure script, we need to quote them again.
    
    Reported by Greg Troxel <gdt@ir.bbn.com>.
    
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b14696a55796e739624bbda4f772427032efff2a
Author: Julien Cristau <jcristau@debian.org>
Date:   Sun Apr 26 15:20:57 2015 +0200

    Include config.h before anything else in *.c
    
    Debian bug#749008 <https://bugs.debian.org/749008>
    
    Reported-by: Michael Tautschnig <mt@debian.org>
    Signed-off-by: Julien Cristau <jcristau@debian.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bbd1acdd1d25b9a68f4b7913a4094af20d7cf78f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Apr 30 21:44:41 2015 -0700

    libpciaccess 0.13.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d0c53bdc0b35a5416fc30a610b7401978871a5f1
Author: Tobias Nygren <tnn@NetBSD.org>
Date:   Mon Feb 16 10:22:35 2015 +0100

    Bug 89151: Fix build on NetBSD/alpha and NetBSD/sparc64.
    
    This patch is required for building on NetBSD/alpha (needs platform
    specific -lalpha) and NetBSD/sparc64 (no platform specific library,
    just -lpci). The patch also generalizes to support all NetBSD
    platforms with pci bus.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=89151
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>

commit 1972e9223764618aedc5adc32b64b2c043d1b826
Author: Eero Tamminen <eero.t.tamminen@intel.com>
Date:   Tue Feb 10 14:55:22 2015 +0000

    Check for __linux__ instead of linux during compilation
    
    "__linux__" is the POSIX define for checking for Linux OS, "linux" is
    deprecated and apparently not supported by Android.
    
    Besides correcting the define, patch adds error for the case OS isn't
    recognized.
    
    Signed-off-by: Eero Tamminen <eero.t.tamminen@intel.com>
    
    v2: Drop double negative from commit msg. Spotted by Mateusz Jończyk.
    [Emil Velikov: Remove irrelevant Android details from commit msg.]
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ed340abc37b07cb9fc788ae77d837088c54cd16a
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Tue Feb 10 14:55:21 2015 +0000

    Include config.h before any other headers.
    
    The former has a series of defines which in some cases are crusial to be
    set before including any system headers.
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6329ef9e5d6f36ca3f7258279f6640037b71926a
Author: Chih-Wei Huang <cwhuang@linux.org.tw>
Date:   Tue Feb 10 14:55:20 2015 +0000

    Add missing guards around config.h inclusion
    
    In some cases the header may not exist, leading to compilation issues.
    Add the ifdef HAVE_CONFIG_H, as it is those in other parts of the
    project.
    
    [Emil Velikov: Split out from a larger commit, rework commit message]
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e42ee2a075a8b7c62b190815be42ea26c9d8c03f
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Tue Feb 10 14:55:19 2015 +0000

    Include the POSIX fcntl.h instead of sys/fcntl.h
    
    The former is part of the POSIX standard, and (unlike the latter) is
    more widely available.
    
    v2: Drop gracious d in header name. Spotted by Alan.
    
    Cc: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f99c2e4199ce37f6f94428df504427f67c3ec543
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Feb 3 15:59:10 2015 -0800

    libpciaccess 0.13.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9b1bf11c81881c9cc6e6145011cf229978f109f4
Author: Mark Kettenis <kettenis@openbsd.org>
Date:   Mon Sep 29 22:34:25 2014 +0200

    Use PCIOCREADMASK on OpenBSD.
    
    If the machdep.allowaperture sysctl(8) variable is set to 0, writing to PCI
    config space is not allowed.  So instead of writing 0xffffffff to the BARs
    in order to determine their size, use the PCIOCREADMASK ioctl(2) which
    returns the mask of changeable bits that was saved by the kernel when the
    devices was initially probed.
    
    Reviewed-by: Matthieu Herrb <matthieu@herbb.eu>
    Signed-off-by: Mark Kettenis <kettenis@openbsd.org>

commit b7e42643d2ee6521cf23e6dfe49a8369ba4bf9bb
Author: Matthew Green <mrg@NetBSD.org>
Date:   Sat Jul 26 22:09:30 2014 +0200

    Implement the kernel_has_driver() method for NetBSD.
    
    This has the benefit of stopping the "vesa" driver from loading on
    hardware that has been claimed by a kernel driver and thus shouldn't
    be using "vesa".
    
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>

commit 1654a0462723b3b75d7a4a20bedfc653cc3e1f1a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jul 2 16:41:10 2014 -0700

    Solaris: Fix fd leak in pci_device_solx_devfs_map_range()
    
    Caching fd's for reuse is most effective when you actually stick the
    newly opened fd in the cache, instead of letting it leak at the end
    of the function.
    
    Regression introduced by yours truly in commit 9f2d95e61896f41adb.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Randy Fishel <randy.fishel@oracle.com>

commit ee4e253a3f1a62e2f3f89f5339590fd4e6cde7c4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri May 9 19:25:10 2014 -0700

    Enable use of __attribute__((deprecated)) with Solaris Studio 12.4 compiler
    
    Support for this attribute is added in the 12.4 beta release.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b9c068896914b4132a24839c9ef7f9fcd6282d88
Author: Marcin Ko?cielnicki <koriakin@0x04.net>
Date:   Wed Feb 5 09:01:25 2014 +0100

    Fix IO access functions on linux+sysfs.
    
    The offsets on the resourceX files are relative to BAR base - don't add
    the base address ourselves.
    
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit b29e9be9aff5c5a9ec5e2bcfc48044081b82742b
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date:   Wed Jan 29 18:44:40 2014 +0100

    Fix a compilation error on GNU Hurd platforms.
    
    This fixes a typo (unAMp instead of unMAp) introduced in the Windows/Cygwin
    support patch.
    
    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>

commit 6bfccc7ec4f0705595385f6684b6849663f781b4
Author: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Date:   Sat Jan 18 17:19:14 2014 +0100

    Windows/Cygwin: Add support through the WinIo library
    
    V2:
    - Add support for unmapping
    - Add a README.cygwin
    
    Reviewed-by: Martin Peres <martin.peres@free.fr>
    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>

commit 06f562584a885eff7366dca82caf746e62b5a21f
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Wed Aug 14 19:45:46 2013 +0200

    Improve NetBSD i386 detection.
    
    Sometimes, other values are reported for the CPU part, like
    "i486--netbsdelf").
    
    From: Mark Davies <markd@NetBSD.org>
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    Reviewed-By:  Matt Dew <marcoz@osource.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4427be3de93f359ab106a649a43e41319625e1e7
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sun Jul 21 11:44:14 2013 +0200

    Fix zlib handling on NetBSD.
    
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit aa7925c4a798b9ed2cd43bd3c99c2df2a1824311
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 20 15:53:42 2013 -0700

    libpciaccess 0.13.2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bdcb46d33c6514278d2209fd00ed58c580da5ff3
Author: John Martin <John.M.Martin@Oracle.COM>
Date:   Sat Jul 20 15:49:05 2013 -0700

    Fix Sun bug #7035791: scanpci should report 64 bit registers
    
    On a system which has allocated 64-bit device addresses scanpci -v
    will show entries such as:
    [...]
      BASE0     0xce000000 SIZE 16777216  MEM
      BASE1     0x00000fc1f8000000 SIZE 134217728  MEM64 PREFETCHABLE
      BASE3     0x00000fc1f6000000 SIZE 33554432  MEM64 PREFETCHABLE
    [...]
    instead of:
    [...]
      BASE0     0xce000000 SIZE 16777216  MEM
      BASE1     0xf8000000 SIZE 134217728  MEM PREFETCHABLE
      BASE3     0xf6000000 SIZE 33554432  MEM PREFETCHABLE
    [...]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f806b95d029d36c977befed4096734f6461efa08
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 20 15:00:40 2013 -0700

    Resync COPYING file with copyrights/licenses from code
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3bf035fcfd0ad55220f484f7fb5d5f18690bdb10
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 6 10:09:31 2013 -0700

    pci_device_solx_devfs_probe: implicit conversion changes signedness warnings
    
    solx_devfs.c:615:32: warning: implicit conversion changes signedness:
     'unsigned long' to 'int' [-Wsign-conversion]
        for (i = 0; i < len; i = i + CELL_NUMS_1275) {
                               ~ ~~^~~~~~~~~~~~~~~~
    solx_devfs.c:615:30: warning: implicit conversion changes signedness:
     'int' to 'unsigned long' [-Wsign-conversion]
        for (i = 0; i < len; i = i + CELL_NUMS_1275) {
                                 ^ ~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 883acb4bf30735c7d8f3147341345fa9e3bc76b2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 6 10:00:44 2013 -0700

    Solaris: Remove #defines for Ultra 45 southbridge device ids
    
    Workaround for these chipsets was removed in commit d76fb36d9c28be0f7c
    with the switch of probing methods from the PCI address poking that upset
    them to using the already collected data from the kernel via devinfo,
    but the #define to identify them was left behind unused - remove it too.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3773eea8d4e22aaedf675051e5e96af53b925152
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jul 6 09:56:46 2013 -0700

    pci_device_solx_devfs_read: fix sign conversion/comparison warnings
    
    Fixes:
    solx_devfs.c:824:19: warning: comparison of integers of different signs: 'int' and 'pciaddr_t' (aka 'unsigned long') [-Wsign-compare]
        for (i = 0; i < size; i += PCITOOL_ACC_ATTR_SIZE(PCITOOL_ACC_ATTR_SIZE_1))
                    ~ ^ ~~~~
    solx_devfs.c:826:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
            cfg_prg.offset = offset + i;
                                    ~ ^
    solx_devfs.c:844:19: warning: implicit conversion changes signedness: 'int' to 'pciaddr_t' (aka 'unsigned long') [-Wsign-conversion]
        *bytes_read = i;
                    ~ ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 22f4b45056587f5700b87d09e9fe91bbb0eda4c5
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sat Jun 29 20:49:54 2013 +0200

    Support more pci functions on NetBSD.
    
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 9a13ecb8f1462efaf741fed293e29ba38757ff70
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sat Jun 29 20:49:53 2013 +0200

    Fix build on NetBSD-4.
    
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1d364cb2f5b5cb1b18601735f42bada7a521be19
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sat Jun 29 20:49:52 2013 +0200

    Enable boot_vga support only if WSDISPLAYIO_GET_BUSID is defined.
    
    Fixes build on NetBSD-5.
    
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7f388e466bd7fbb7f9eba531e494e7efbd3a65dc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jun 24 21:20:27 2013 -0700

    pci_id_file_open: move variable inside the #ifndef that uses it
    
    Clears up gcc warning on Solaris:
    common_device_name.c: In function 'pci_id_file_open':
    common_device_name.c:83:17: warning: unused variable 'result' [-Wunused-variable]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a39f054649e773a4b33bf8f52152f7c5139bb90e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jun 24 21:09:52 2013 -0700

    Define PCI_MATCH_ANY as an unsigned int
    
    Clears a bunch of clang warnings of the forms:
    
    common_device_name.c:345:23: warning: comparison of integers of different signs:
     'const uint32_t' (aka 'const unsigned int') and 'int' [-Wsign-compare]
        if ( m->vendor_id == PCI_MATCH_ANY ) {
             ~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
    
    common_device_name.c:498:19: warning: implicit conversion changes signedness:
     'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
        m.device_id = PCI_MATCH_ANY;
                    ~ ^~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5aff35d1ef659babd71f44f7963e4e908dcd86c4
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Tue Jun 11 11:46:26 2013 +0200

    Update NetBSD support.
    
    Signed-off-by: Michael Lorenz <macallan@NetBSD.org>
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c10c86e5856596778cb8322aec8ce663b1f1bea5
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Tue Jun 11 11:45:50 2013 +0200

    Move 'const' to correct place, so it has meaning.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 719888a9ec5ef5a45698dea8a9642091c433ff29
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Sun Jun 2 22:38:39 2013 +0200

    Protect config.h like usual.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 434cd73d23cf5dc60d2047047378b59cadb0d5bb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jun 7 20:31:37 2013 -0700

    Bug 63583 - add legacy IO routines for FreeBSD
    
    https://bugs.freedesktop.org/show_bug.cgi?id=63583
    
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
    Signed-off-by: Jung-uk Kim <jkim@FreeBSD.org>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d76fb36d9c28be0f7c43e0ca1e961c30a7781bd4
Author: Henry Zhao <henry.zhao@oracle.com>
Date:   Thu Jan 10 17:53:09 2013 -0800

    Solaris: probe improvement
    
    Remove pcitool dependency in probing phase. Use the data
    collected from devinfo tree instead in creating pci file
    system.
    
    Signed-off-by: Henry Zhao <henzhao@glory3.(none)>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3e17f069682a226c14bb29c802e776c6e39f7e8f
Author: Henry Zhao <henry.zhao@oracle.com>
Date:   Tue Dec 18 15:10:46 2012 -0800

    Solaris: Add domain support for sparc platform
    
    As a result the code of finding nexus node for a device in sparc is
    simplified and made the same as x86.
    
    Signed-off-by: Henry Zhao <henry.zhao@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 897cad2620ffbd6ecbbaea2a67fb973ec7990198
Author: Colin Walters <walters@verbum.org>
Date:   Wed Jan 4 17:37:06 2012 -0500

    autogen.sh: Implement GNOME Build API
    
    http://people.gnome.org/~walters/docs/build-api.txt
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit d69019c5b744348d6e5032ef87f4a743f68cb112
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue Jan 15 14:28:48 2013 -0500

    configure: Remove AM_MAINTAINER_MODE
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 0ad7b5c548ecf409a1fdd835bde52a8cf5371b7a
Author: Egbert Eich <eich@freedesktop.org>
Date:   Mon Jul 4 07:38:33 2011 +0200

    PCI: set correct mask value when matching for bridges.
    
    The mask must not be zero otherwise the matching condition will never
    be true: ((val & mask) == set).
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: Guillem Jover <guillem@hadrons.org>

commit 72e0c0b4d4680b7a7b4b42be525d406635dae40f
Author: Henry Zhao <henry.zhao@oracle.com>
Date:   Fri Apr 6 17:26:59 2012 -0700

    scanpci: print meaningful info on BASEROM
    
    Signed-off-by: Henry Zhao <henry.zhao@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ba53031899611a1653656034a1a3de9b71e5bc85
Author: Henry Zhao <henry.zhao@oracle.com>
Date:   Fri Apr 6 16:52:42 2012 -0700

    libpciaccess: sparc rom read fix
    
    Get rom address and size from device's "assigned-addresses" property
    if they exist.
    
    Signed-off-by: Henry Zhao <henry.zhao@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2edddd4c4eb4258f4347c40e76bf0d5f1bcf51a7
Author: Henry Zhao <henry.zhao@oracle.com>
Date:   Fri Oct 5 12:41:36 2012 -0700

    libpciaccess: implementation of boot_vga in Solaris
    
    Signed-off-by: Henry Zhao <henry.zhao@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 630b00a0847df9acf53391e6415bdfcd13fdae68
Author: Mark Logan <mark.logan@oracle.com>
Date:   Tue Sep 18 13:28:18 2012 -0700

    libpciaccess: fix memory usage errors
    
    This patch fixes memory usage errors that only occur on large SPARC
    machines with more than 256 PCI devices. In this case, memory is being
    used after it has been freed by calls to both free() and realloc().
    This error was introduced by a previous patch:
    2011-03-30 Solaris support for multiple PCI segments (domains)
    
    Signed-off-by: Mark Logan <mark.logan@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 09f5b48f559888339450bb4a79d178c94da34638
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Thu May 31 20:00:34 2012 +0200

    Implement legacy io & map for x86 backend
    
    Add the legacy io and map methods for the x86 backend, using ioperm,
    in/out, and the existing mmap method.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

commit 9f2d95e61896f41adb8087fb805eb37899cce55f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Apr 18 22:17:54 2012 -0700

    Solaris: refactor pci_device_solx_devfs_map_range to reduce code duplication
    
    The sparc & x86 cases were doing essentially the same things with
    different paths, so make the path setup be inside the platform
    specific #ifdefs, make the open, mmap, & error handling common code.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d50292ca8cbbaa5e0c92627f3d7813194c7c83ac
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Apr 18 15:30:30 2012 -0700

    Solaris: Implement map_legacy & legacy_io functions
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jay Cotton <jay.cotton@oracle.com>

commit 2ff2996dcb4cfd83da6df4504b68b492b983204b
Author: Julien Cristau <jcristau@debian.org>
Date:   Mon Apr 9 19:05:27 2012 +0200

    Bump to 0.13.1
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit 6f9d9f1e1b093939bc459be606fba72f1d6dfc76
Author: Matthieu Herrb <matthieu.herrb@laas.fr>
Date:   Mon Apr 2 08:22:23 2012 +0200

    Fix pci_io_handle allocation routines.
    
    The previous version of new_io_handle()  would invalidate all previous
    allocations when realloc moves the base pointer of the ios array.
    Since I cannot figure out where this array is useful, just get rid of
    it, providing sound stable memory allocation.
    
    Fixes vgaHWSaveFonts() in 1.12 xserver on OpenBSD, but other
    sub-systems relaying on pci_io could be affected too.
    
    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
    Tested-by: Tormod Volden <debian.tormod@gmail.com>

commit 725f5669bc03ed9a766e2c51c465e082172e6dae
Author: Thordur Bjornsson <thib@secnorth.net>
Date:   Wed Mar 14 14:45:52 2012 +0100

    Fix openbsd_pci.c:pci_device_vgaarb_set_target();
    
    A return (0) got lost, add it back.
    
    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
    Reviewed-by:  Mark Kettenis <mark.kettenis@xs4all.nl>

commit b16336c0b389ace07f7418f5a021bfbc68fec2b6
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Mar 5 11:01:01 2012 -0500

    linux: Fix out[bwl] macros on non-I/O architectures
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit fa15fbcdbcfed09ea269ca3fb5f0e3dc2446e66f
Merge: d2dc9f9 bf70556
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Mar 5 11:00:14 2012 -0500

    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libpciaccess

commit bf705561d347bc5459bc0af033595c66541cac3e
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Mar 3 18:19:11 2012 -0800

    configure.ac: Bump to 0.13
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit d2dc9f9daa45504f035b169aba94d0b154fd29f0
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Feb 27 11:19:50 2012 -0500

    Use O_CLOEXEC for internal file descriptors
    
    Well, almost all of them.  zlib doesn't support "e" in the mode string
    in gzopen() though it will silently accept and ignore it, and Solaris appears
    not to support "e" in the mode string at all.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit f550c1347d3518874fe1c1d417a57322ee6b52db
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Feb 27 10:43:20 2012 -0500

    linux: Don't use /dev/port
    
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 2a58cd13c3d14cd2ea57826b56e9906ecfc5648a
Author: Mathias Krause <mathias.krause@secunet.com>
Date:   Fri Feb 24 09:39:31 2012 +0100

    Use correct type for pci_id file accessor functions
    
    This fixes the compiler warning of using the wrong type for gzgets() and
    gzclose() as they want a gzFile argument, not a pointer to gzFile. The
    abstraction layer pci_id_file should just abstract the full type.
    
    Signed-off-by: Mathias Krause <mathias.krause@secunet.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 167ffb1c4e431763e30c894131e704bb3599c7c1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Feb 8 22:14:08 2012 -0800

    solx_devfs.c: fix gcc warnings about casting away const when reading data
    
    solx_devfs.c: In function `pci_device_solx_devfs_write':
    solx_devfs.c:1085: warning: cast discards qualifiers from pointer target type
    solx_devfs.c:1089: warning: cast discards qualifiers from pointer target type
    solx_devfs.c:1093: warning: cast discards qualifiers from pointer target type
    solx_devfs.c:1097: warning: cast discards qualifiers from pointer target type
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 573b25ecd34dd69ee14c58f752bffdb5709654b9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Feb 8 22:08:08 2012 -0800

    Close pci.ids file when bailing out because realloc failed
    
    Error: File Leak
       Leaked File f
          at line 272 of src/common_device_name.c in function 'populate_vendor'.
            f initialized at line 204 with fopen("/usr/share/hwdata/pci.ids", "r").
    
    [ This bug was found by the Parfait 0.5.0 bug checking tool.
      For more information see http://labs.oracle.com/projects/parfait/ ]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ed6c6157bc94283ce0a8526eeff668094cf3992d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Feb 8 21:40:54 2012 -0800

    Solaris: reorder functions to remove need for lots of static prototypes
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b56f9a84f3dff995a6901ffec6bcc161ec0245ad
Author: Mark Kettenis <kettenis@openbsd.org>
Date:   Thu Dec 29 21:14:44 2011 +0100

    OpenBSD: Implement map_legacy and legacy_io
    
    Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Tested-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit a798395a1bfd9d06d40e2d8d14377a156c94429a
Author: Daniel Drake <dsd@laptop.org>
Date:   Fri Nov 25 12:28:48 2011 -0600

    delete_io_handle: fix deletion of last handle
    
    When num_ios goes from 1 to 0, a realloc(ios, 0); call is made.
    This is equivalent to free(ios) and NULL is returned.
    
    However, the previous logic in the code incorrectly discards this NULL
    return value. When we next call new_io_handle(), realloc(ios, X) is
    called with "ios" pointing to freed memory. This causes glibc to abort.
    
    Correct this logic to detect the 1-to-0 case and handle it correctly.
    Other cases are unchanged; there is still value in checking the
    return value from realloc() as it also returns NULL on error.
    
    Signed-off-by: Daniel Drake <dsd@laptop.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2601ddd02d608c16b0022fe342e0a3f4bf6cadeb
Author: Mark Kettenis <mark.kettenis@xs4all.nl>
Date:   Sun Nov 6 17:34:29 2011 +0000

    Add VGA Arbiter support for OpenBSD.
    
    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit e64ee4ee2b23dba147d144aacead3cb61c744854
Author: Mark Kettenis <mark.kettenis@xs4all.nl>
Date:   Sun Nov 6 17:32:51 2011 +0000
