Android-x86
Fork
捐款

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-libpciaccess: List of commits

external/libpciaccess


RSS
修訂. 時間 作者
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://git.fedorahosted.org/hwdata.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 <felix.janda@posteo.de>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>

42240dc 2015-09-22 21:46:52 Emil Velikov

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>

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

chmod a-x README.cygwin

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

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

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 <gdt@ir.bbn.com>.

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

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

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>

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

libpciaccess 0.13.4

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

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.

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>

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

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 <emil.l.velikov@gmail.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

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

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

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

libpciaccess 0.13.3

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

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

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>

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 <matthieu@herrb.eu>
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>

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 <alan.coopersmith@oracle.com>
Reviewed-by: Randy Fishel <randy.fishel@oracle.com>

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 <alan.coopersmith@oracle.com>

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 <ajax@redhat.com>

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 <jon.turney@dronecode.org.uk>

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

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>

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

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>

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

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>

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

libpciaccess 0.13.2

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

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 <alan.coopersmith@oracle.com>

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

Resync COPYING file with copyrights/licenses from code

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

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 <alan.coopersmith@oracle.com>

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 <alan.coopersmith@oracle.com>

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

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>

22f4b45 2013-07-07 01:46:03 Thomas Klausner

Support more pci functions on NetBSD.

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

Show on old repository browser