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

    OpenBSD: Indicate that devices need access to legacy VGA resources.
    
    Makes sure xserver disables DRI if the VGA arbiter is in use.
    
    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit cfae4096835fe569edb03cd12d4580fc912a0e61
Author: Henry Zhao <henry.zhao@oracle.com>
Date:   Mon Nov 14 18:53:21 2011 -0800

    Solaris: improve support for sparc platform
    
    (1) added prom property retrieval on sparc
    (2) added multiple domain support on sparc
    (3) use kernel device as mapping device
    (4) performance improvements by removing redundant ioctl
    
    Signed-off-by: Henry Zhao <henry.zhao@oracle.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 78eed07d599ff9e30c075aa7c8d1795e125ffc4b
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed Nov 9 09:27:49 2011 -0800

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

commit cbb3c63affc1792ade0433691aa67f0edad52b0b
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed Nov 9 09:46:30 2011 -0800

    Fix some -Wformat errors in scanpci
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit a0a53a67c91c698007dcac3e7aba27c999c4f6ed
Author: Nithin Nayak Sujir <nsujir@broadcom.com>
Date:   Mon Oct 24 12:15:15 2011 -0700

    libpciaccess: close mtrr fd on pci_cleanup
    
    Since the fd is not closed, calling pci_system_init and
    pci_system_cleanup more than 1024 times results in "too many files open"
    error.
    
    Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 803bf3aa28de0f1260e479e2036159d4fead0a87
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Oct 4 21:46:05 2011 -0700

    Solaris: Give better error on realloc failure
    
    commit a18460b385ae03 converted from a fixed maximum number of devices
    to dynamically growing the list via realloc, but didn't update the
    error message shown on failure.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

commit af4478c52c960bee08209293aa14b784ac30dc05
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Tue Oct 11 10:22:49 2011 -0700

    linux sysfs: Fix read-write access in map_legacy
    
    O_RDONLY | O_WRONLY != O_RDWR
    
    ><
    
    Reported-by: Javier Pello <javier.pello@urjc.es>
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit b9c5ce8083be53ea017bd15a63b173b4476fff23
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Oct 9 03:53:05 2011 -0700

    scanpci: Build fix for systems without <err.h>
    
    https://bugs.freedesktop.org/show_bug.cgi?id=31133
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 30e9ec91107791835d722f99498d659dec048922
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Fri Oct 7 11:57:26 2011 -0700

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

commit 12dbf6d2d346cfe7ba8b2a1697c56af3f9876be7
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Fri Oct 7 11:56:06 2011 -0700

    Update library version to reflect new API
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 58e87933b3286f33cdeedd3a6b21f4ea795bea47
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue May 10 17:56:35 2011 -0400

    linux: Implement map_legacy
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 8cc9a8fe57adfb52abaa90a8a2ac2316de8eb898
Author: Adam Jackson <ajax@redhat.com>
Date:   Tue May 10 17:56:34 2011 -0400

    Add map_legacy interface
    
    This allows platforms to hand back mmaps of the low 1M (ISA) address
    space on a per-domain basis.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit e1a0240a3d6840b497845680c2bf6753415ba20f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 16 22:11:38 2011 -0700

    Strip trailing whitespace
    
    Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
    git diff -w & git diff -b show no diffs from this change
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7bfc4f806d51b85e7ae069dd6deaf0b48326ed22
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Aug 3 18:35:11 2011 -0400

    linux: Fix a crash in populate_devices
    
    If scandir returns -1, the 'devices' array won't be initialized, and
    attempting to free() it will crash.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit f9159b97834ba4b4e42a07953a33866e7ac90dbd
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Jun 4 12:30:06 2011 +0100

    linux: Only set errno after an error
    
    errno is only valid after an error, and was being filled with a garbage
    value upon eof.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit a18460b385ae034830e4efbaaed7e0665c53ad9f
Author: John Martin <John.M.Martin@Oracle.COM>
Date:   Mon Mar 28 17:51:19 2011 -0700

    Solaris support for multiple PCI segments (domains)
    
    1. Removed hardcoded maximum size of 256 PCI devices, which is
    too small for large systems.  The number of devices is dynamically
    resized as needed.
    
    2. pci_device_solx_devfs_probe() no longer walks the device tree
    from the very top ("/") but instead starts at the nexus which
    owns the bus.  Performance optimization for systems with multiple
    bus nodes (including systems with just one segment/domain).
    
    3. Added support for multiple domains/segments.  Code tested
    on kernels with and without multiple segment support so it should
    be safe to integrate independent of the kernel version.
    
    Signed-off-by: John Martin <John.M.Martin@Oracle.COM>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Adam Jackson <ajax@redhat.com>

commit f3e283a25f5fca4f750bb9538d69c4f36641cca5
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Feb 3 17:38:32 2011 -0500

    config: comment, minor upgrade, quote and layout configure.ac
    
    Group statements per section as per Autoconf standard layout
    Quote statements where appropriate.
    Autoconf recommends not using dnl instead of # for comments
    
    Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
    Add AC_CONFIG_SRCDIR([Makefile.am])
    Update X.Org util-macros to version 1.8
    
    This helps automated maintenance and release activities.
    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit d05ed57216726811388f17d7e87d7b6c7b8580ee
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Feb 2 20:50:17 2011 -0800

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

commit 7b4bd8222579b60bec6ab9dbf834d61b1fc7cc74
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 28 16:07:07 2011 -0500

    config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
    
    This silences an Automake warning.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 5fdae72cc62f4341ae5fa0b7696809d4ccd1bd32
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jan 13 22:05:02 2011 -0800

    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
    
    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
    AC_PROG_C_C99. This sets gcc with -std=gnu99.
    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 48d08f09e36d4aa8e02812874794937d7c778b43
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jan 13 21:58:02 2011 -0800

    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
    
    Regroup AC statements under the Autoconf initialization section.
    Regroup AM statements under the Automake initialization section.
    Add missing AC_CONFIG_SRCDIR
    Replace obsolete argument to AC_OUTPUT with AC_CONFIG_FILES
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 066032e08407311cfc24dbc1db3245cf8133ad94
Author: Bryce Harrington <bryce@canonical.com>
Date:   Tue Dec 14 12:03:48 2010 -0500

    Fix detection of multi-function cards
    
    Bit 7 of the pci device header type is an indicator of multi-function
    devices, so needs to be masked when examining the bridge type.
    Thanks go to Chih-Pin Wu for finding the bug and its fix.
    
    https://bugs.launchpad.net/ubuntu/+source/libpciaccess/+bug/681207
    
    Reviewed-by: Adam Jackson <ajax@redhat.com>
    Signed-off-by: Bryce Harrington <bryce@canonical.com>

commit 6220537628fb5e55c94d7dbe1ec190bf38d3b01b
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Mon Dec 6 12:18:19 2010 -0800

    Revert "Don't try to use bogus bridge data"
    
    This reverts commit 2bda5b733bb12854760750c08138db95e77aea0c.
    
    It actually conflicts with 9ba94caf57e3a8c3e9c6f3f5f068f4a7a7b3ff9d
    which came earlier, but I didn't catch it probably because I did a blind
    rebase before pushing.
    
    When reading bridge bus info, we may need to read out the current bridge
    info if the PCI bridge private is uninitialized, so remove the check at
    the top that would always short circuit the case where the priv was
    still 0.
    
    References:
    https://bugs.launchpad.net/ubuntu/+source/libpciaccess/+bug/681207.
    
    Reported-by: Bryce Harrington <bryce@canonical.com>
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

commit 30bfd795557cada4a3c2ce36329ceb22160acff8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Nov 21 11:14:05 2010 -0800

    Sun's copyrights belong to Oracle now
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e29e477ff84ab16938e58ae2719358c14c86a500
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Oct 15 17:34:16 2010 -0400

    config: use LDADD to obtain appropriate dependencies
    
    In generated scanpci/Makefile, this line is added:
    scanpci_DEPENDENCIES = $(top_builddir)/src/libpciaccess.la
    
    If the content of the library changes, the tool will rebuild.
    When scanpci was in the same directory as the library, the .la file was used.
    This will also ensure the "installed" pciaccess library is not used.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit fd476deabb97d08086ad465c4d0e913c9437a6bb
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Sep 26 14:57:19 2010 -0400

    include: add a Makefile to install and distribute header file
    
    Makefiles are simpler when they only handle what is in their
    directory.
    
    Reviewed-by: Rémi Cardona <remi@gentoo.org>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 2b5c81c2d8c643e58ac69d1d7f7a626fc392b1ea
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Sep 26 14:42:50 2010 -0400

    config: replace INCLUDES, which is deprecated, with AM_CPPFLAGS
    
    Fixes an Automake warning.
    
    Reviewed-by: Rémi Cardona <remi@gentoo.org>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b4ee1ccfcd9e9d41033db7b6b5e0a771ae5939d2
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Aug 22 08:10:23 2010 -0400

    config: provide a makefile for scanpci man pages
    
    Reviewed-by: Rémi Cardona <remi@gentoo.org>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 8daa135ae9eae0a0ed48cc68d6abce16141cd426
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Sep 26 08:39:57 2010 -0400

    scanpci.c: remove offending whitespace as reported by git diff
    
    Reviewed-by: Rémi Cardona <remi@gentoo.org>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit dcb79a20cba1eaaa83158b80bb538d50b003bd79
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Aug 22 08:10:23 2010 -0400

    config: provide a makefile for scanpci dev tool
    
    No function changes.
    
    Note that automake generates a wrapper script if libpciaccess
    is not installed at configuration time, which is the most common case.
    
    If it is installed at configuration time, you get an executable.
    
    The makefile build order ensures the lib is build before scanpci.
    
    Reviewed-by: Rémi Cardona <remi@gentoo.org>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 555772964820d88f9481eb48d0431dddd8ba7aa5
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sat Aug 21 19:54:04 2010 -0400

    config: upgrade AC_DEFINE_DIR to AX_DEFINE_DIR
    
    Use the latest version now hosted by GNU.
    The renaming protects Autoconf namespace.
    There is no functional change in the macro.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit fa3f1c1ea8ce4b45976e11520856cfa164f8b92d
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Jul 21 09:39:26 2010 +1000

    libpciaccess 0.12.0 - bump version for release

commit 2f98724d1e603268360d704b3c8823b93d5fecb4
Author: Thomas Hellstrom <thellstrom@vmware.com>
Date:   Tue Jul 20 22:14:22 2010 +0200

    Fix long standing MTRR bug.
    
    Add an include that makes the file common_vgaarb.c see the same
    struct pci_system as the file linux_sysfs.c.
    
    Without this fix, on a MTRR system, the vgaarb_fd member
    would overwrite the mtrr_fd member and cause the MTRR_IOC_ADD_ENTRY call
    to be issued to the incorrect device causing the infamous
    "Inappropriate ioctl for device (25)" error.
    
    This error would cause MTRR setup to fail on all systems relying on it
    and is severe enough to warrant a new release.
    
    Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit e5159771bd0a013201dcef760e9320071c6df59e
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon Jul 12 13:09:33 2010 +1000

    pciaccess: fix use after free.
    
    Using the pointer passed to realloc earlier isn't a recipe for success.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

commit 3f59728ddc6f7d2cb17d434e81ac76c9288d0aef
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jun 19 10:36:24 2010 -0700

    Let libtool handle library flags for scanpci on Solaris
    
    Stop hardcoding -ldevinfo since configure/libtool already know to add it
    for static linking, and ELF dependencies handle it for dynamic linking
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e0ae5251cd030b201c14f5888a539aa40f17abfb
Author: Tiago Vignatti <tiago.vignatti@nokia.com>
Date:   Sat May 22 18:23:33 2010 +0300

    vgaarb: read back vga count when setting new decoding
    
    Decode kernel operation can also change vga refcount, so we need to read back
    the information when calling it.
    
    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>

commit 0f153de858032c95ea5844aa6e0f1c8dad7531da
Author: Tiago Vignatti <tiago.vignatti@nokia.com>
Date:   Wed May 12 13:12:47 2010 +0300

    vgaarb: decode should send new information to the kernel
    
    This was introduced in e360c11c.
    
    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>

commit fa7cca617583eb93a862c5ebbb5a56843210e5a8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Jun 4 16:58:56 2010 -0700

    Delay allocation of agp_info so we don't leak it on prior errors
    
       Memory leak of pointer 'agp_info'
            at line 119 of src/common_capability.c in function 'pci_fill_capabilities_generic'.
              'agp_info' allocated at line 107 with calloc(1, 12).
              'agp_info' leaks when err != 0 at line 118.
            at line 124 of src/common_capability.c in function 'pci_fill_capabilities_generic'.
              'agp_info' allocated at line 107 with calloc(1, 12).
              'agp_info' leaks when err != 0 at line 123.
    
    [ This bug was found by the Parfait bug checking tool.
      For more information see http://research.sun.com/projects/parfait ]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b8295f4776912d4c3cef836eb0f158e07b432a25
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Mar 29 16:50:34 2010 -0400

    config: update AC_PREREQ statement to 2.60
    
    Unrelated to the previous patches, the new value simply reflects
    the reality that the minimum level for autoconf to configure
    all x.org modules is 2.60 dated June 2006.
    
    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit a624de7af1d4c0956ecd485e3ae193f93bd78c57
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Mar 29 14:53:49 2010 -0400

    config: remove the pkgconfig pc.in file from EXTRA_DIST
    
    Automake always includes it in the tarball.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit af2be74979aeab9a2fc4c933462e97ce70f816b6
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Jan 19 18:37:43 2010 +0100

    libpciaccess x86 backend
    
    This adds support on x86 for OSes that do not have a PCI interface,
    tinkering with I/O ports, and makes use of it on GNU/Hurd.
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit ebb3c6b69f4e8a844ff95d4e880dde9ede3de347
Author: Julien Cristau <jcristau@debian.org>
Date:   Sun Jan 17 14:33:13 2010 +0000

    COPYING: add Red Hat's copyright notice

commit b775e6fa006d78cac21bbfe52f1f721947ddc6ca
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date:   Thu Jan 14 20:48:20 2010 -0800

    Update Sun license notices to current X.Org standard form
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>

commit fac83b8116e19d4efbf8438d1cc485656cca5c60
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Dec 14 17:27:12 2009 -0500

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

commit 947ab16f2938e8883503ef679a40684dfe2a90e5
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Dec 14 16:26:31 2009 -0500

    Fix I/O handle array allocator to work for devices past the first
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit d4e008eeb9af7773edadd259cf55da43411f1a7f
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Dec 14 16:19:35 2009 -0500

    Fix pci_device_open_io() to actually return something useful
    
    Remember, code review just means we're all inept.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 5e8d4c19b4f618e22b6e8e1ad3294d8708067474
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Nov 18 13:53:49 2009 -0500

    I/O port access routines
    
    Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com>
    Acked-by: Matt Turner <mattst88@gmail.com>
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit b2fbe63bdf3522c5d3df5eda2ca3c3b8770c02c9
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Nov 18 14:12:57 2009 -0500

    Add pci_device_get_parent_bridge()
    
    Copied from linuxPci.c in the X server.
    
    Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com>
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit b2b3c3bfdac23c1c8e33f47b28f22c1d4a78cc71
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Nov 27 20:56:05 2009 -0500

    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
    
    Now that the INSTALL file is generated.
    Allows running make maintainer-clean.

commit 57f4d11fef7021e77549a70cbf40ca43e60ea55f
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Oct 28 14:09:10 2009 -0400

    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
    
    Add missing INSTALL file. Use standard GNU file on building tarball
    README may have been updated
    Remove AUTHORS file as it is empty and no content available yet.
    Remove NEWS file as it is empty and no content available yet.

commit caa398b5305cb4c5299e283b9833ed2251698893
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Oct 27 15:07:25 2009 -0400

    Deploy the new XORG_DEFAULT_OPTIONS #24242
    
    This macro aggregate a number of existing macros that sets commmon
    X.Org components configuration options. It shields the configuration file from
    future changes.

commit b8284cb2097601d5934773ab75db388b9fa5a9db
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Oct 26 22:08:43 2009 -0400

    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
    
    ChangeLog filename is known to Automake and requires no further
    coding in the makefile.

commit 28830993636cc5820842345b511d301af33d9c49
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Oct 22 12:34:20 2009 -0400

    .gitignore: use common defaults with custom section # 24239
    
    Using common defaults will reduce errors and maintenance.
    Only the very small or inexistent custom section need periodic maintenance
    when the structure of the component changes. Do not edit defaults.

commit 97d677746cd70ec9eb1f33483cc829a0063953bc
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Sep 25 10:25:56 2009 +1000

    shutup stupid gcc warning, strtok_r ignores the first parameter

commit 2a10d510d24c7c0aebb03914dd887f9e92cfa754
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Sep 25 10:19:07 2009 +1000

    libpciaccess 0.10.9

commit 1714046ef08ef685bcf1d6c154e64809b12e8d7f
Author: Tiago Vignatti <tiago.vignatti@nokia.com>
Date:   Fri Sep 18 15:21:19 2009 +0300

    vgaarb: fix newbie typo
    
    Eh, we don't need to check for the fd anyway. Kudos jcristau for reporting.
    
    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>

commit 13c7e6c8f100882718f995f5bf1d478a012cdbdd
Author: Tiago Vignatti <tiago.vignatti@nokia.com>
Date:   Wed Sep 16 12:56:53 2009 +0300

    vgaarb: check for fd before close it
    
    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>

commit cdbdfaf61c05d0d18eae6815b10666f93162148f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 17 17:38:56 2009 -0700

    Free return value from scandir instead of leaking it.
    
    Scandir is defined to return pointers to malloc'd storage, so make
    sure that memory is nicely freed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 42b879a203c1c16daa9d0c610c6a217ead7a5829
Author: Dave Airlie <airlied@linux.ie>
Date:   Wed Sep 2 19:03:11 2009 +1000

    vgaarb: check pci_sys exists before initing vga arb

commit 312cde3c2f3530b031134cfb53a8a54731f02b1b
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon Aug 31 09:14:16 2009 +1000

    pciaccess: bump to 0.10.8

commit 566a67767e9fea463c24421d99dc12db590a7b5f
Author: Thomas Klausner <wiz@netbsd.org>
Date:   Mon Aug 31 09:13:27 2009 +1000

    pciaccess: fix vga arb stubs

commit d062dd78baeb28ef2cc59f4fb4a7d82ecd5adf60
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Aug 28 11:29:00 2009 +1000

    libpciaccess: bump to 0.10.7 for vga arb interface addition

commit 81b4705525bdf82d75f5b3c740c53fa4a866d9c3
Merge: f514852 2f997f9
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Aug 28 11:25:15 2009 +1000

    Merge branch 'vga'

commit 2f997f90c8d0b54baab85285703550e8df28325e
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Aug 28 11:24:53 2009 +1000

    vgaarb: update stub interface

commit b229acdfd10fd61f46d8e711910b5c1bdb727857
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Aug 28 11:21:11 2009 +1000

    Revert "vgaarb: delete stub functions"
    
    This reverts commit b7fd4d06890d801aae93fe1a1af7ab110fd388fd.

commit e70767cb2e574f8544a04903eea3afee33345eea
Author: Tiago Vignatti <tiago.vignatti@nokia.com>
Date:   Wed Aug 26 11:14:03 2009 +0300

    Revert "vgaarb: fix pci_device_vgaarb_get_info() return value."
    
    This reverts commit ef8aca5da46155e9ea0d1227215921ad9ce59150.

commit f5148525d546015c12b703a768b5e6c3726446a3
Merge: 7636348 ef8aca5
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri Aug 21 13:27:11 2009 +1000

    Merge remote branch 'origin/vga-arbiter'

commit ef8aca5da46155e9ea0d1227215921ad9ce59150
Author: Tiago Vignatti <tiago.vignatti@nokia.com>
Date:   Sun Aug 16 19:11:15 2009 +0300

    vgaarb: fix pci_device_vgaarb_get_info() return value.
    
    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>

commit 25be96885671d22ee3f932769d72cf3a31f355ee
Author: Tiago Vignatti <tiago.vignatti@nokia.com>
Date:   Sun Aug 16 19:09:35 2009 +0300

    vgaarb: fix indentation and remove trailing white spaces
    
    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>

commit b7fd4d06890d801aae93fe1a1af7ab110fd388fd
Author: Tiago Vignatti <tiago.vignatti@nokia.com>
Date:   Sun Aug 16 18:59:21 2009 +0300

    vgaarb: delete stub functions
    
    Such stub functions is already with API outdated. Moreover, if some operating
    system doesn't have arbiter's implementation then the app can set some
    autoconf tricks like "ifdef HAVE_PCI_DEVICE_VGAARB_INIT".
    
    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>

commit 76363486864b325b8f156ece35736ddb64c4e697
Author: Julien Cristau <jcristau@debian.org>
Date:   Sun Aug 9 11:28:38 2009 +0200

    Silence compiler warning about pci_id_file_open definition
    
    src/common_device_name.c:59: warning: function declaration isn't a prototype
    src/common_device_name.c: In function 'pci_id_file_open':
    src/common_device_name.c:59: warning: old-style function definition

commit 4eac0173588ab9ef67fcadb47b531abb114aa0a7
Author: Julien Cristau <jcristau@debian.org>
Date:   Sat Aug 8 18:12:08 2009 +0200

    configure.ac: fix help text for the linux-rom-fallback option
    
    LINUX_ROM defaults to no, fix the help text to reflect that
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit e9f2db8b867cba8d91a040a0db9be56099fba680
Merge: 706201e dedd31b
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Aug 6 09:43:08 2009 +1000

    Merge branch 'master' into vga-arbiter

commit dedd31b3bcdeea12955bf565b8e3f2a9d3c66057
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Aug 6 09:39:01 2009 +1000

    pciaccess: make linux rom reading fallback optional
    
    On kernels which have ROM files, the boot VGA rom file
    will contain the 0xc0000 file anyways. If another card
    is missing a rom file there is no need for this.
    
    This is fallback is disabled by default, on the premise
    that distro shipping this new a pciaccess will be running
    on kernels with working rom support which is been upstream
    for a long time

commit 706201e900b5664ea35ec498784590275b98c23a
Merge: 57cf6f1 8aa06cf
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Aug 6 09:42:06 2009 +1000

    Merge branch 'master' into vga-arbiter

commit 8aa06cf7ef5e88c53bf6778336ba1a6036b16cc0
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Aug 6 09:39:01 2009 +1000

    pciaccess: make linux rom reading fallback optional
    
    On kernels which have ROM files, the boot VGA rom file
    will contain the 0xc0000 file anyways. If another card
    is missing a rom file there is no need for this.
    
    This is fallback is disabled by default, on the premise
    that distro shipping this new a pciaccess will be running
    on kernels with working rom support which is been upstream
    for a long time

commit 57cf6f1f428ab73fb2a88c39c694e7d14c2c96c6
Author: Dave Airlie <airlied@redhat.com>
Date:   Thu Aug 6 09:39:01 2009 +1000

    pciaccess: make linux rom reading fallback optional
    
    On kernels which have ROM files, the boot VGA rom file
    will contain the 0xc0000 file anyways. If another card
    is missing a rom file there is no need for this.
    
    This is fallback is disabled by default, on the premise
    that distro shipping this new a pciaccess will be running
    on kernels with working rom support which is been upstream
    for a long time

commit 7b7999a302c70f1ad9a5c8fc7517e24ab95c3a95
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon Aug 3 12:43:26 2009 +1000

    vgaarb: add vga count + resource accessor

commit 3a6c1be79c05517cfddbce88157bb352237058ab
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon Aug 3 09:39:22 2009 +1000

    vgaarb: more api changes + cleanup
