Up to [cvs.NetBSD.org] / pkgsrc / sysutils / libpciaccess
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libpciaccess: update to 0.19. This release adds a new pci_device_is_boot_display() API, with support currently implemented only for Linux systems using sysfs. It also adds a -Dinstall-scanpci option to the meson configuration for those who want to install this version of scanpci. In addition, it corrects build issues on FreeBSD 15 and DragonFly, and fixes a long-standing bug if there were multiple users of libpciaccess in the same process and one called pci_system_cleanup before the others were done using pciaccess.
libpciaccess: mark as not for Darwin ../src/common_init.c:73:3: error: "Unsupported OS"
libpciaccess: update to 0.18.1.
This release fixes the meson.build to honor meson's
-Ddefault_library={shared,static,both} flag to control which types of
library are built, instead of always forcing the build of only a shared
library.
Alan Coopersmith (2):
meson: allow building static library, not just shared
libpciaccess 0.18.1
libpciaccess: update to 0.18.
Since no complaints were received about the added meson build system
in the 0.17 release (October 2022), the autoconf build system has been
removed in this release.
Alan Coopersmith (4):
Remove "All rights reserved" from Oracle copyright notices
Try fopen(".../pci.ids", "re") on Solarish systems as well
Remove autotools build
libpciaccess 0.18
Dylan Baker (3):
gitlab-ci: use `meson setup`
gitlab-ci: don't bother to configure meson for the version check
gitlab-ci: remove unnecessary call to `meson configure`
Emmanuel Vadot (2):
FreeBSD: Fallback to /usr/share/misc/pci_vendors
FreeBSD: Remove sparc64 code
Flavio Cruz (1):
Fix compilation warnings when building against hurd-amd64.
Khem Raj (1):
linux_sysfs: Use pwrite/pread instead of 64bit versions
libpciaccess: update to 0.17.
pkgsrc change: Allow building on macOS again since it's explicitly
listed in the changes below.
Alan Coopersmith (7):
Build xz tarballs instead of bzip2
Fix spelling/wording issues
meson: install man page in mandir/man1/, not mandir/1/
gitlab CI: add a basic build test for both autotools and meson
gitlab CI: stop requiring Signed-off-by in commits
configure.ac: Use pkg-config to find zlib dependency info
libpciaccess 0.17
Chester Gillon (1):
Obtain correct value of is_64 and is_prefetchable PCI device fields
Damien Zammit (7):
hurd_pci: Use __pci_conf_ variants of pci_conf_
x86: Use gnumach device instead of /dev/mem on GNU systems && factorise ifdefs
x86: Remove mapping of regions during probe - otherwise remapping later fails
x86: Remove probe during create, other backends don't do this
hurd: device_open(pci), /servers/bus/pci fallback
x86: Sort devices by B/D/F due to recursive scan
hurd: Don't necessarily look up _SERVERS_BUS_PCI
Dylan Baker (2):
Add a meson build system
autoconf: Add meson files to dist tarball
Fabrice Fontaine (1):
pciaccess.pc.in: add Libs.Private
Joan Lledó (3):
Hurd: avoid using the deprecated RPC pci_get_ndevs()
hurd: Implement device memory mapping
Hurd: Fix initialization order
Moritz Fischer (1):
Add pci_device_disable() function
Petr Ovtchenkov (1):
missed library installation in meson
Samuel Thibault (5):
hurd: Add missing round up size in map_dev_mem
hurd: Fix letting map_dev_mem map anywhere
hurd: Fix map_dev_mem from non-zero address
hurd: Restore initialization order
hurd: Fix pci_device_hurd_map_legacy
Satadru Pramanik (1):
Add support for building on macOS w/o X11, using endian code from "portable_endian.h"...
zhanghongtao (4):
Add parentheses to the macro definition
pci_sys set NULL after free
Add header protection macro in linux_devmem.h
Delete redundant symbols ';'
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
libpciaccess: update to 0.16. 0.16: This release brings a compilation fix on 32-bit arm with newer glibc, and fixes the raw x86 backend's memory mapping to handle writes correctly. 0.15: - for FreeBSD and Hurd support - Fixed multifunction bridge enumeration - Fixed a crash when no PCI bus exists
libpciaccess: don't require root on netbsd to list devices. (is it ever needed) work with more than pci0. from base. bump PKGREVISION
libpciaccess: update to 0.14. This release adds support for 32-bit PCI domain IDs, which are apparently common in virtualized environments. This support has been tested on Linux, and probably also "just works" on FreeBSD and Solaris, to the extent that the underlying OS supports it. If you were allocating a struct pci_device yourself, or embedding it in another structure, this release would be an ABI break. That said, anyone doing this would already be violating the implicit API contract (not to mention good taste) and we were unable to find any consumers of this library misbehaving in this way. As a result the library's soname does not change in this release.
Revert upstream Oracle patch which breaks illumos and probably older SunOS releases. Bump PKGREVISION.
This release includes musl build fixes, improvements to the Solaris backend
and allows parsing separate sysfs files rather than reading the config file
on newer kernels.
Adam Jackson (1):
chmod a-x README.cygwin
Chuck Tuffli (1):
libpciaccess: Fix incorrect format specification
Emil Velikov (7):
autogen.sh: pass --force to autoreconf, quote string variables
linux sysfs: retrieve vendor, device... info via separate sysfs files
autogen.sh: use quoted string variables
Revert "linux_sysfs: include <limits.h> for PATH_MAX"
configure.ac: remove AC_CONFIG_SRCDIR macro
configure.ac: set AC_CONFIG_AUX_DIR
libpciaccess 0.13.5
Felix Janda (2):
linux_sysfs.c: Include <limits.h> for PATH_MAX
linux_sysfs: include <limits.h> for PATH_MAX
Henry Zhao (2):
probe should not hold pci nexus drivers open
use cached devinfo snapshots, remove unnecessary di_init()
Julien Cristau (1):
Include config.h before anything else in *.c
Keith Busch (1):
Ignore 32-bit domains
Mihail Konev (1):
autogen: add default patch prefix
Peter Hutterer (1):
autogen.sh: use exec instead of waiting for configure to finish
Thomas Klausner (1):
Fix quoting issue.
arsharma (2):
vgaarb: add a the trailing NULL character on read(vgaarb_fd)
device-name: handle calloc failure in insert()
don't try to list all working platforms just because darwin probably isn't one rotate logic to list broken platforms.
drop Darwin from list of supported platforms -- doesn't build
Use pci.ids file from pciids package. From David Shao in PR 50106. Bump PKGREVISION.
Drop redundant -lpci in pkgsrc Makefile. Long ago, this package needed -lpci added on NetBSD. Now, the configure script does this automatically. This commit should not change anything, so no PKGREVISION++. (I've been running with this diff for a long time, on an i386 machine.) Discussed with riastradh@ back in March.
Update to 0.13.4:
Alan Coopersmith (1):
libpciaccess 0.13.4
Chih-Wei Huang (1):
Add missing guards around config.h inclusion
Eero Tamminen (1):
Check for __linux__ instead of linux during compilation
Emil Velikov (2):
Include the POSIX fcntl.h instead of sys/fcntl.h
Include config.h before any other headers.
Tobias Nygren (1):
Bug 89151: Fix build on NetBSD/alpha and NetBSD/sparc64.
libpciaccess should work on all NetBSD ports, provided -lpci.
Update to 0.13.3:
libpciaccess is used by the Xorg server to interface with the appropriate
routines for finding and using PCI bus devices on various operating systems.
This release provides a number of platform-specific improvements for various
platforms, including Linux, Solaris, OpenBSD, NetBSD, and Hurd, plus the
addition of some support for Cygwin.
Alan Coopersmith (3):
Enable use of __attribute__((deprecated)) with Solaris Studio 12.4 compiler
Solaris: Fix fd leak in pci_device_solx_devfs_map_range()
libpciaccess 0.13.3
Marcin Ko?cielnicki (1):
Fix IO access functions on linux+sysfs.
Mark Kettenis (1):
Use PCIOCREADMASK on OpenBSD.
Matthew Green (1):
Implement the kernel_has_driver() method for NetBSD.
Samuel Pitoiset (2):
Windows/Cygwin: Add support through the WinIo library
Fix a compilation error on GNU Hurd platforms.
Thomas Klausner (2):
Fix zlib handling on NetBSD.
Improve NetBSD i386 detection.
Solaris: Fix fd leak in pci_device_solx_devfs_map_range() as in upstream patch: http://cgit.freedesktop.org/xorg/lib/libpciaccess/commit/?id=1654a0462723b3b75d7a4a20bedfc653cc3e1f1a Revision bump to pick it up...
Add support for Darwin. Patch from nixpkgs.
Update to 0.13.2. Set LICENSE.
This release provides a lot of platform-specific improvements for various
platforms, including Solaris (SPARC & x64), FreeBSD, NetBSD, and Hurd.
It also provides some platform-independent fixes & code cleanup.
Adam Jackson (1):
configure: Remove AM_MAINTAINER_MODE
Alan Coopersmith (10):
Solaris: Implement map_legacy & legacy_io functions
Solaris: refactor pci_device_solx_devfs_map_range to reduce code duplication
Bug 63583 - add legacy IO routines for FreeBSD
Define PCI_MATCH_ANY as an unsigned int
pci_id_file_open: move variable inside the #ifndef that uses it
pci_device_solx_devfs_read: fix sign conversion/comparison warnings
Solaris: Remove #defines for Ultra 45 southbridge device ids
pci_device_solx_devfs_probe: implicit conversion changes signedness warnings
Resync COPYING file with copyrights/licenses from code
libpciaccess 0.13.2
Colin Walters (1):
autogen.sh: Implement GNOME Build API
Egbert Eich (1):
PCI: set correct mask value when matching for bridges.
Henry Zhao (5):
libpciaccess: implementation of boot_vga in Solaris
libpciaccess: sparc rom read fix
scanpci: print meaningful info on BASEROM
Solaris: Add domain support for sparc platform
Solaris: probe improvement
John Martin (1):
Fix Sun bug #7035791: scanpci should report 64 bit registers
Mark Logan (1):
libpciaccess: fix memory usage errors
Samuel Thibault (1):
Implement legacy io & map for x86 backend
Thomas Klausner (6):
Protect config.h like usual.
Move 'const' to correct place, so it has meaning.
Update NetBSD support.
Enable boot_vga support only if WSDISPLAYIO_GET_BUSID is defined.
Fix build on NetBSD-4.
Support more pci functions on NetBSD.
Fixes from Chuck Silvers <chuq@chuq.com> based on openbsd_pci.c. Bump PKGREVISION.
Fix Dragonfly with Radeon 4350. From https://bugs.freedesktop.org/attachment.cgi?id=78130 via David Shao in PR 47828. Bump PKGREVISION.
Update sysutils/libpciutils with various upstream patches, many for solaris and SPARC. http://cgit.freedesktop.org/xorg/lib/libpciaccess/log/
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Update to 0.13.1. Update patch-ac (netbsd_pci.c) using current version
of the file from xsrc.
meta-pkgs/modular-xorg still builds.
Changes:
0.12.0:
pciaccess 0.12.0 release, contains a fix for a major MTRR issue from Thomas,
along with a use after free, generic x86 backend, a few vgaarb fixes, and
some packaging magic.
Alan Coopersmith (3):
Update Sun license notices to current X.Org standard form
Delay allocation of agp_info so we don't leak it on prior errors
Let libtool handle library flags for scanpci on Solaris
Dave Airlie (2):
pciaccess: fix use after free.
libpciaccess 0.12.0 - bump version for release
Gaetan Nadon (2):
config: remove the pkgconfig pc.in file from EXTRA_DIST
config: update AC_PREREQ statement to 2.60
Julien Cristau (1):
COPYING: add Red Hat's copyright notice
Samuel Thibault (1):
libpciaccess x86 backend
Thomas Hellstrom (1):
Fix long standing MTRR bug.
Tiago Vignatti (2):
vgaarb: decode should send new information to the kernel
vgaarb: read back vga count when setting new decoding
0.12.1:
This bug fix release corrects a couple bugs in the device probing code,
as well as providing various build configuration improvements.
Alan Coopersmith (4):
Sun's copyrights belong to Oracle now
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
libpciaccess 0.12.1
Bryce Harrington (1):
Fix detection of multi-function cards
Gaetan Nadon (8):
config: upgrade AC_DEFINE_DIR to AX_DEFINE_DIR
config: provide a makefile for scanpci dev tool
scanpci.c: remove offending whitespace as reported by git diff
config: provide a makefile for scanpci man pages
config: replace INCLUDES, which is deprecated, with AM_CPPFLAGS
include: add a Makefile to install and distribute header file
config: use LDADD to obtain appropriate dependencies
config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
Jesse Barnes (1):
Revert "Don't try to use bogus bridge data"
0.13.0:
Adam Jackson (1):
linux: Don't use /dev/port
Alan Coopersmith (3):
Solaris: reorder functions to remove need for lots of static prototypes
Close pci.ids file when bailing out because realloc failed
solx_devfs.c: fix gcc warnings about casting away const when reading data
Daniel Drake (1):
delete_io_handle: fix deletion of last handle
Henry Zhao (1):
Solaris: improve support for sparc platform
Jeremy Huddleston (1):
configure.ac: Bump to 0.13
Mark Kettenis (3):
OpenBSD: Indicate that devices need access to legacy VGA resources.
Add VGA Arbiter support for OpenBSD.
OpenBSD: Implement map_legacy and legacy_io
Mathias Krause (1):
Use correct type for pci_id file accessor functions
0.13.1:
Adam Jackson (2):
Use O_CLOEXEC for internal file descriptors
linux: Fix out[bwl] macros on non-I/O architectures
Julien Cristau (1):
Bump to 0.13.1
Matthieu Herrb (1):
Fix pci_io_handle allocation routines.
Thordur Bjornsson (1):
Fix openbsd_pci.c:pci_device_vgaarb_set_target();
Add NetBSD/hp700 to the list of supported platforms.
Reset maintainer for retired developers.
Make HAVE_MTRR actually work. This increases my X performance so much it's borderline not funny anymore. (tested on a similar patch to libpciaccess 0.10.8, since my X still refuses to start with libpciaccess 0.11) from jmcneill
Require newer build dependency for: checking if xorg-macros used to generate configure is at least 1.3... configure: error: configure built with too old of a version of xorg-macros.m4 - requires version 1.2.0 or newer
Update to libpciaccess-0.11. Synced the netbsd support patch from xsrc HEAD, with a minor tweak: Now we first try to map memory in the newfangled /dev/pciN way. If that fails, then we fall back to /dev/mem. We need to do this to deal with netbsd-5 and earlier. Add NetBSD/sparc64 to the list of supported platforms. Upstream changes: 0.11.0: Add pci_device_get_parent_bridge() I/O port access routines Fix pci_device_open_io() to actually return something useful Fix I/O handle array allocator to work for devices past the first libpciaccess 0.11.0 .gitignore: use common defaults with custom section # 24239 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 Deploy the new XORG_DEFAULT_OPTIONS #24242 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 0.10.9: vgaarb: check pci_sys exists before initing vga arb shutup stupid gcc warning, strtok_r ignores the first parameter Free return value from scandir instead of leaking it. vgaarb: check for fd before close it vgaarb: fix newbie typo
Update to 0.10.8:
Slight brown paper bag release, 0.10.7 fails to build
when the vga arb stubs were required. also whot pointed
out I had no info in 0.10.7 release mail.
libpciacesss 0.10.8 provides support for VGA arbiter on Linux,
along with support to check if a device is the boot VGA and
if a device has a kernel driver associated with it.
Dave Airlie (1):
pciaccess: bump to 0.10.8
Thomas Klausner (1):
pciaccess: fix vga arb stubs
Update to 0.10.7:
Aaron Plattner (1):
Don't try to write boot_vga since that fails with EACCES
Dave Airlie (15):
pciaccess: provide a method to detect if a device is boot VGA
vgaarb: fixup api and decode rsrc.
add support for finding if something has a kernel driver
vgaarb: fixup api for new count reporting + decodes interface was wrong.
vgaarb: clean up debug output
vgaarb: add support for targetting default device
vgaarb: change API to target taking a device + lock/unlock not taking one
vgaarb: more api changes + cleanup
vgaarb: add vga count + resource accessor
pciaccess: make linux rom reading fallback optional
pciaccess: make linux rom reading fallback optional
pciaccess: make linux rom reading fallback optional
Revert "vgaarb: delete stub functions"
vgaarb: update stub interface
libpciaccess: bump to 0.10.7 for vga arb interface addition
Jesse Barnes (1):
Don't try to use bogus bridge data
Julien Cristau (2):
configure.ac: fix help text for the linux-rom-fallback option
Silence compiler warning about pci_id_file_open definition
Tiago Vignatti (11):
Import libvgaaccess (VGA Arbiter) implementation from C3SL repository:
vgaarb: make it compile.
vgaarb: a bunch of clean ups to fit in libpciaccess style.
Delete vga_arb_rec.
Fix typo in vgaarb stubs.
Reorganize the code.
Comment typo.
vgaarb: delete stub functions
vgaarb: fix indentation and remove trailing white spaces
vgaarb: fix pci_device_vgaarb_get_info() return value.
Revert "vgaarb: fix pci_device_vgaarb_get_info() return value."
Add a minimal implementation of the read_rom method for NetBSD, just good enough to get newer xorg servers running. (I need to double-check the PCI spec, but it is well possible that we can't do much better anyway: ISTR the PCI spec allows devices to share decoding ressources between ROM and runtime logics, which means there is no safe way to read the original ROM at runtime. Correct me if I'm wrong.)
Update to 0.10.6. Fix build on DragonFly.
Changes since 0.10.5:
Alan Coopersmith (12):
Fill in byte swapping routines for big-endian Solaris machines
Don't open/gzopen pci.ids if we're not going to read it
Add AC_SYS_LARGEFILE to configure.ac
Solaris: Use bus-range properties to limit busses scanned on each node
Add README with pointers to mailing list, bugzilla & git repos
Fix const mismatch compiler warnings in Solaris backend
Sun bug 6811468: pci_device_solx_devfs_probe accesses freed memory
Move included m4 to a subdir so we can more easily update from upstream
Fix $CWARNFLAGS addition
Fix unused variable warnings in Solaris code
Resync COPYING file with code copyright notices
Version bump: 0.10.6
Darren Smith (1):
Be more paranoid about reading bridge info (#20786)
Mark Kettenis (1):
Make libpciaccess on OpenBSD domain-aware.
Matthieu Herrb (3):
Fix a logic error in pci_device_openbsd_write().
Sync with OpenBSD code.
Fix a logic error in pci_device_netbsd_write()
Owain Ainsworth (1):
openbsd_pci.c: use the correct size when mapping the legacy vga rom.
Paulo Cesar Pereira de Andrade (1):
Janitor: Correct make distcheck and compiler warnings.
Robert Noland (1):
FreeBSD: Incorporate several fixes that have accumulated.
edward shu (1):
Sun bug 6785726: libpciaccess needs to use the correct BAR index on solaris
Changes since 0.10.4:
Julien Cristau (2):
Make --without-zlib work
Bump to 0.10.5
Robert Noland (1):
Fix FreeBSD systems which support pci domains.
Add support for compressed pci.ids file via zlib.
Import libpciaccess-0.10.4 (X.org PCI wrapper library) + patches. Tested on NetBSD-current (i386 and amd64); support for other architectures is in the works. Currently this should work with: ONLY_FOR_PLATFORM= FreeBSD-*-i386 NetBSD-*-i386 OpenBSD-*-i386 ONLY_FOR_PLATFORM+= FreeBSD-*-x86_64 NetBSD-*-x86_64 OpenBSD-*-x86_64 ONLY_FOR_PLATFORM+= DragonFly-i386-* DragonFly-x86_64-* ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-*
Initial revision