Commit graph

32 commits

Author SHA1 Message Date
jperkin
ac393e3e80 Add support for Darwin. Patch from nixpkgs. 2013-12-21 11:05:23 +00:00
markd
9df5639ad7 Re-add match on i[3-9]86* from previous version of patch so that matches
NetBSD/i386 (which is being reported as i486--netbsdelf)
2013-08-07 10:12:43 +00:00
wiz
56af6b39bd 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.
2013-07-21 09:42:40 +00:00
obache
32db99222c fixes missing `,' for legacy NetBSD case. 2013-06-04 10:16:00 +00:00
wiz
7873d455d8 Fixes from Chuck Silvers <chuq@chuq.com> based on openbsd_pci.c.
Bump PKGREVISION.
2013-06-03 14:19:38 +00:00
wiz
957b3b96d8 Remove patch that only changes whitespace.
ok richard@
2013-05-28 06:49:48 +00:00
wiz
100f7747c5 Fix Dragonfly with Radeon 4350. From
https://bugs.freedesktop.org/attachment.cgi?id=78130
via David Shao in PR 47828.
Bump PKGREVISION.
2013-05-18 13:46:35 +00:00
richard
e7d1cc25ae update distinfo for libpciaccess 2013-05-15 17:56:52 +00:00
richard
e7bd091756 terminate incomplete libpciaccess update 2013-05-15 03:54:42 +00:00
richard
33531ae865 Update sysutils/libpciutils with various upstream patches, many for solaris
and SPARC.  http://cgit.freedesktop.org/xorg/lib/libpciaccess/log/
2013-05-15 03:20:15 +00:00
asau
54c5cd959e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 19:50:50 +00:00
taca
71019e75dc Fix build problem on NetBSD 4.0, simply revert the part of
"#ifdef _X86_SYSARCH_L" from revision 1.8.
2012-10-12 00:37:04 +00:00
fhajny
e4dbda3b0b Needs zlib bl3 2012-07-20 11:24:02 +00:00
wiz
4e7f0ac941 Try fixing build on NetBSD 5 (PR 46705). 2012-07-15 08:12:42 +00:00
wiz
60e0753965 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();
2012-07-14 23:42:12 +00:00
shattered
7c650526c6 Add NetBSD/hp700 to the list of supported platforms. 2012-01-21 12:09:03 +00:00
taca
5e2bad7b6a Revert previous commit; I didn't noticed revision 1.8 of patches/patch-ac. 2011-05-09 15:26:16 +00:00
taca
b7d9f63012 Fix build problem on NetBSD 4_STABLE which dosen't have _X86_SYSARCH_L()
cpp macro.
2011-05-09 14:06:46 +00:00
shattered
ff80a9795a PR/44785 -- fix build on NetBSD 4 2011-05-07 10:06:34 +00:00
wiz
e2f84ad43f Reset maintainer for retired developers. 2011-02-28 14:52:37 +00:00
drochner
9b45cc1ce2 make this build on i386/current 2011-02-14 21:34:04 +00:00
pooka
3a4eb6352a 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
2011-02-10 16:20:45 +00:00
reed
613f398707 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
2010-12-09 19:58:26 +00:00
tnn
815dc0e54f 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
2010-04-09 08:09:11 +00:00
wiz
de12c60c03 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
2009-08-31 07:48:22 +00:00
wiz
dcc36689f1 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."
2009-08-29 15:41:33 +00:00
drochner
9862fd440c 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.)
2009-05-25 20:11:05 +00:00
hasso
6ebd8ee533 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.
2009-05-18 19:09:01 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
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.
2009-03-20 19:23:50 +00:00
bjs
c4e77109cf Add support for compressed pci.ids file via zlib. 2008-10-30 21:06:32 +00:00
bjs
c529df5e44 Remove superfluous hunk of patch-ac. 2008-10-30 21:00:37 +00:00
bjs
e2cb632768 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-*-*
2008-10-30 20:58:11 +00:00