The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.
There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
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.
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()
Problems found with existing digests:
Package memconf distfile memconf-2.16/memconf.gz
b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
95748686a5ad8144232f4d4abc9bf052721a196f [calculated]
Problems found locating distfiles:
Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
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.
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.
We are carrying a patch for configure to include -li386 on i386/i486,
but the upstream script is missing the [] intended to match multiple
subfamilies, and hence does not match. This commit just adds in the
missing [], enabling compilation to succeed on i386, and not changing
anything on !i386.
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.
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.
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();
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
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
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
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
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."
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.)
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.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
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-*-*