summaryrefslogtreecommitdiff
path: root/lib/libpciaccess
AgeCommit message (Collapse)Author
2024-05-13Update to libpciacces 0.18.1. ok kettenis@Matthieu Herrb
removes the autotools build system and add a simple make based one. The existing xenocara obj dir needs to be wiped before a make obj / make buildx
2022-11-09Fix running totally unprivileged with startx(1).Matthieu Herrb
Issue reported by Walter Alejandro Iglesias.
2022-11-07Update to libpciaccess 0.17. while there fix small leaks in openbsd_pci.cMatthieu Herrb
with help from an ok tb@
2021-09-03Replace <sys/param.h>Matthieu Herrb
2021-08-30Update to libpciaccess 0.16.Matthieu Herrb
2018-05-21Update to libpciaccess 0.14Matthieu Herrb
2016-10-11regenMatthieu Herrb
2015-07-07Only include <sys/memrange.h> on i386/amd64 as it really isiMark Kettenis
architecture-specific. This prevents us from trying to establish write-combining mappings on other architectures, which in turn makes non-kms pci video drivers work again on those platforms. ok mlarkin@
2015-07-06Fix typo/pasto in previous commit; request write combining mapping when itMark Kettenis
is actually requested and not for every writable mapping.
2015-06-24Attempt to establish a write combining mapping instead of relying on mttrs.Mark Kettenis
Setting the mttrs failson my thinkpad x1 rev 3, making the xorg-video-vesa driver painfully slow. This makes the machine somewhat usable. ok mpi@
2015-05-10update to libpciaccess 0.13.4Matthieu Herrb
2014-09-27Use PCIOCREADMASK to size the PCI BARs. This makes more parts of libpciaccessMark Kettenis
usable when machdep.allowaperture is zero. ok matthieu@
2014-08-06calloc the pci_sys struct before probing for PCI.Jonathan Gray
As the functions check if the member pointers are NULL but not the pointer to the struct itself. Reworked version of a diff from ratchov@ who created it to prevent a xserver crash on zaurus where there is no PCI. 'looks ok' matthieu@, ok deraadt@
2014-02-20We don't need the VGA arbiter if direct hardware access has been disabled.Mark Kettenis
ok matthieu@
2014-02-15If opening /dev/pciN read-write fails, try opening it read-only. This allowsMark Kettenis
X to run with machdep.allowaperture=0 on inteldrm(4) and radeondrm(4). ok matthieu@
2014-01-03Update to libpciacces 0.13.2.Matthieu Herrb
2013-08-18Fix a number of merge issues accumulated over the yearsMatthieu Herrb
- INSTALL often got doubled by patch - empty AUTHORS files didn't get removed.
2013-08-13Improve VGA arbiter support now that the kernel gives us information aboutMark Kettenis
the resources required by a particular device. ok matthieu@, jsg@
2013-08-13Bump the major on every single base library. There are a couplePhilip Guenther
not bumped by this that will be corrected soon. heavy lifting by todd@
2012-06-02Add support for X server privilege separation to pci_legacy_open_io()Matthieu Herrb
With privilege separation the X server enables legacy i/o port access during the early privileged initialization. Other calls should be no-op. Makes X server 1.12 happy with privilege separation. ok miod@
2012-04-09Update to libpciaccess 0.13.1Matthieu Herrb
2012-04-04Fix pci_io_handle allocation routines.Matthieu Herrb
The previous version of new_io_handle() would invalidate all previous allocations when realloc moves the base pointer of the ios array. Since I cannot figure out where this array is useful, just get rid of it, providing sound stable memory allocation. Fixes vgaHWSaveFonts() in 1.12 xserver on OpenBSD, but other sub-systems relaying on pci_io could be affected too.
2012-03-14Fix openbsd_pci.c:pci_device_vgaarb_set_target();Thordur I. Bjornsson
A return (0) got lost, add it back. Obvious; ok kettenis@
2012-03-09Update to libpciaccess 0.13. Tested by shadchin@Matthieu Herrb
2011-11-06Update to libpciaccess 0.12.1. Ok kettenis@, shadchin@Matthieu Herrb
2011-01-12Indicate that devices need access to legacy VGA resources. Makes sure xserverMark Kettenis
disables DRI if the VGA arbiter is in use. ok matthieu@
2010-07-31Update to libpciaccess 0.12.Matthieu Herrb
We already had most of the code from this version, it just add 2 bug fixes. no ABI/API change.
2010-07-26avoid segfault in pci_device_vgaarb_fini() when called withoutMatthieu Herrb
initializing the library first. (This happens when invalid options are passed to X for instance). ok kettenis@
2010-07-10Update to libpciaccess 0.11, with VGA arbiter support code from kettenis@.Matthieu Herrb
2009-04-17Use the correct size when mapping the legacy vga rom.Owain Ainsworth
fixes errors (and probably bugs) on intel hardware (at the least). ok matthieu@
2009-04-14Merge libpciaccess 0.10.5. No functionnal change on OpenBSD.Matthieu Herrb
2009-04-14Remove git file that should not have been imported initially.Matthieu Herrb
2009-02-15Make libpciaccess domain-aware. Makes X capable of discovering PCI devicesMark Kettenis
in other domains (on macppc or sparc64 for example). ok matthieu@
2008-12-07Remove trailing white space.Matthieu Herrb
2008-12-07Implement pci_device_read_rom() for arbitrary PCI cards, includingMatthieu Herrb
secondary VGA. With help from kettenis@. ok kettenis@, miod@.
2008-11-25Fix a logic error in pci_device_openbsd_write() that actuallyMatthieu Herrb
prevented it to write anything.
2008-11-03When trying to map a piece of device memory with a cacheability attribueOwain Ainsworth
(e.g. the graphics aperture on most video cards), don't error if we failed to set the mtrr but the map succeeded. Instead print a warning (other osen handle this case similarly). Libraries shouldn't use fprintf(stderr, ...); but libpciaccess is really quite poorly designed. This diff means that mine and drahn's laptops work with xserver 1.5. ok kettenis@
2008-10-13- Add a method to read the legacy BIOS region on alpha/amd64/i386Matthieu Herrb
- Restrict MTRR calls to amd64/i386. ok kettenis@
2008-10-05provide a pciutils style pci.ids file for libpciaccess.Matthieu Herrb
ok todd@ deraadt@
2008-09-20allow 2 successives calls to pci_system_init() and fix pci_system_cleanup()Matthieu Herrb
to make it possible to call pci_system_init() again. ok kettenis@.
2008-06-15Bump OpenBSD's libpciacces revision to be at least the versionMatthieu Herrb
generated by the unpatched one. (libpciaccess is not currently linked to xenocara builds)
2008-06-15update to libpciaccess 0.10.3.Matthieu Herrb
2008-05-24Merge libpciaccess 0.10.2, including kettenis@ OpenBSD port.Matthieu Herrb
2007-06-16remove unneeded filesMatthieu Herrb
2007-06-16merge libpciaccess 2007/06/16Matthieu Herrb
2007-06-16Import libpciaccess from git as of today. Matthieu Herrb
Changes: solaris support added.
2007-06-06syncMatthieu Herrb
2007-06-06skeleton OpenBSD port of libpciaccessMatthieu Herrb
2007-06-06I didn't intend to add this file.Matthieu Herrb
2007-06-05build infrastructureMatthieu Herrb