Faire un don

  • R/O
  • HTTP
  • SSH

external-libpciaccess: Listed des commits


Révision l'heure Auteur
ecfca48 lollipop-x86 marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 2015-10-03 00:55:28 Chih-Wei Huang

Android porting

Copy include/io.h from /usr/include/sys/io.h.

Copy hwdata/pci.ids from git://
commit 5732b82c9d6fdbede9095cf11fe72852c37b8e9d.

8ea3af6 2015-09-23 00:39:36 Felix Janda

linux_sysfs: include <limits.h> for PATH_MAX

Signed-off-by: Felix Janda <>
Tested-by: Bernd Kuhls <>

42240dc 2015-09-22 21:46:52 Emil Velikov 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 <>

e99c005 2015-09-22 21:38:56 Adam Jackson

chmod a-x README.cygwin

Signed-off-by: Adam Jackson <>

0bfe3b3 kitkat-x86 2015-07-16 22:37:13 Chih-Wei Huang

android porting

Copy include/io.h from /usr/include/sys/io.h.

Copy hwdata/pci.ids from git://
commit 772bcb2d7ca60788ed3b1693d62529881f3d205c.

6bd2f7f 2015-05-05 13:11:53 Felix Janda

linux_sysfs.c: Include <limits.h> for PATH_MAX

Fixes compilation with musl libc.

Tested-by: Bernd Kuhls <>
Signed-off-by: Felix Janda <>
Reviewed-by: Alan Coopersmith <>
Signed-off-by: Alan Coopersmith <>

765e0a3 2015-05-02 07:06:45 Thomas Klausner

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 <>.

Signed-off-by: Thomas Klausner <>
Reviewed-by: Alan Coopersmith <>

b14696a 2015-05-01 20:57:34 Julien Cristau

Include config.h before anything else in *.c

Debian bug#749008 <>

Reported-by: Michael Tautschnig <>
Signed-off-by: Julien Cristau <>
Reviewed-by: Alan Coopersmith <>

bbd1acd 2015-05-01 13:44:41 Alan Coopersmith

libpciaccess 0.13.4

Signed-off-by: Alan Coopersmith <>

d0c53bd 2015-02-17 07:56:23 Tobias Nygren

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.

Reviewed-by: Alan Coopersmith <>
Signed-off-by: Thomas Klausner <>

1972e92 2015-02-13 07:10:10 Eero Tamminen

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

Signed-off-by: Eero Tamminen <>

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 <>
Reviewed-by: Jasper St. Pierre <>
Signed-off-by: Alan Coopersmith <>

ed340ab 2015-02-13 07:10:10 Emil Velikov

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 <>
Reviewed-by: Alan Coopersmith <>
Signed-off-by: Alan Coopersmith <>

6329ef9 2015-02-13 07:10:10 Chih-Wei Huang

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

[Emil Velikov: Split out from a larger commit, rework commit message]
Signed-off-by: Emil Velikov <>
Reviewed-by: Alan Coopersmith <>
Signed-off-by: Alan Coopersmith <>

e42ee2a 2015-02-13 07:10:10 Emil Velikov

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 <>
Signed-off-by: Emil Velikov <>
Reviewed-by: Alan Coopersmith <>
Signed-off-by: Alan Coopersmith <>

f99c2e4 2015-02-04 08:59:10 Alan Coopersmith

libpciaccess 0.13.3

Signed-off-by: Alan Coopersmith <>

9b1bf11 2014-09-30 05:43:30 Mark Kettenis


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 <>
Signed-off-by: Mark Kettenis <>

b7e4264 2014-08-31 05:45:18 Matthew Green

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 <>
Signed-off-by: Thomas Klausner <>

1654a04 2014-07-04 05:42:06 Alan Coopersmith

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 <>
Reviewed-by: Randy Fishel <>

ee4e253 2014-06-01 07:17:41 Alan Coopersmith

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 <>

b9c0688 2014-02-12 03:07:19 Marcin Ko?cielnicki

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 <>

b29e9be 2014-01-31 23:44:59 Samuel Pitoiset

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 <>

6bfccc7 2014-01-28 08:39:48 Samuel Pitoiset

Windows/Cygwin: Add support through the WinIo library

- Add support for unmapping
- Add a README.cygwin

Reviewed-by: Martin Peres <>
Reviewed-by: Jon TURNEY <>

06f5625 2013-11-23 15:49:48 Thomas Klausner

Improve NetBSD i386 detection.

Sometimes, other values are reported for the CPU part, like

From: Mark Davies <>
Signed-off-by: Thomas Klausner <>
Reviewed-By: Matt Dew <>
Signed-off-by: Alan Coopersmith <>

4427be3 2013-07-22 02:20:56 Thomas Klausner

Fix zlib handling on NetBSD.

Signed-off-by: Thomas Klausner <>
Reviewed-by: Alan Coopersmith <>
Signed-off-by: Alan Coopersmith <>

aa7925c 2013-07-21 07:53:42 Alan Coopersmith

libpciaccess 0.13.2

Signed-off-by: Alan Coopersmith <>

bdcb46d 2013-07-21 07:53:08 John Martin

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 <>

f806b95 2013-07-21 07:00:40 Alan Coopersmith

Resync COPYING file with copyrights/licenses from code

Signed-off-by: Alan Coopersmith <>

3bf035f 2013-07-07 02:11:02 Alan Coopersmith

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 <>

883acb4 2013-07-07 02:03:32 Alan Coopersmith

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 <>

3773eea 2013-07-07 01:56:46 Alan Coopersmith

pci_device_solx_devfs_read: fix sign conversion/comparison warnings

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 <>

Afficher sur ancien navigateur de dépôt.