Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-13 | Update 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-09 | Fix running totally unprivileged with startx(1). | Matthieu Herrb | |
Issue reported by Walter Alejandro Iglesias. | |||
2022-11-07 | Update to libpciaccess 0.17. while there fix small leaks in openbsd_pci.c | Matthieu Herrb | |
with help from an ok tb@ | |||
2021-09-03 | Replace <sys/param.h> | Matthieu Herrb | |
2021-08-30 | Update to libpciaccess 0.16. | Matthieu Herrb | |
2018-05-21 | Update to libpciaccess 0.14 | Matthieu Herrb | |
2016-10-11 | regen | Matthieu Herrb | |
2015-07-07 | Only include <sys/memrange.h> on i386/amd64 as it really isi | Mark 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-06 | Fix typo/pasto in previous commit; request write combining mapping when it | Mark Kettenis | |
is actually requested and not for every writable mapping. | |||
2015-06-24 | Attempt 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-10 | update to libpciaccess 0.13.4 | Matthieu Herrb | |
2014-09-27 | Use PCIOCREADMASK to size the PCI BARs. This makes more parts of libpciaccess | Mark Kettenis | |
usable when machdep.allowaperture is zero. ok matthieu@ | |||
2014-08-06 | calloc 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-20 | We don't need the VGA arbiter if direct hardware access has been disabled. | Mark Kettenis | |
ok matthieu@ | |||
2014-02-15 | If opening /dev/pciN read-write fails, try opening it read-only. This allows | Mark Kettenis | |
X to run with machdep.allowaperture=0 on inteldrm(4) and radeondrm(4). ok matthieu@ | |||
2014-01-03 | Update to libpciacces 0.13.2. | Matthieu Herrb | |
2013-08-18 | Fix a number of merge issues accumulated over the years | Matthieu Herrb | |
- INSTALL often got doubled by patch - empty AUTHORS files didn't get removed. | |||
2013-08-13 | Improve VGA arbiter support now that the kernel gives us information about | Mark Kettenis | |
the resources required by a particular device. ok matthieu@, jsg@ | |||
2013-08-13 | Bump the major on every single base library. There are a couple | Philip Guenther | |
not bumped by this that will be corrected soon. heavy lifting by todd@ | |||
2012-06-02 | Add 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-09 | Update to libpciaccess 0.13.1 | Matthieu Herrb | |
2012-04-04 | Fix 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-14 | Fix openbsd_pci.c:pci_device_vgaarb_set_target(); | Thordur I. Bjornsson | |
A return (0) got lost, add it back. Obvious; ok kettenis@ | |||
2012-03-09 | Update to libpciaccess 0.13. Tested by shadchin@ | Matthieu Herrb | |
2011-11-06 | Update to libpciaccess 0.12.1. Ok kettenis@, shadchin@ | Matthieu Herrb | |
2011-01-12 | Indicate that devices need access to legacy VGA resources. Makes sure xserver | Mark Kettenis | |
disables DRI if the VGA arbiter is in use. ok matthieu@ | |||
2010-07-31 | Update 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-26 | avoid segfault in pci_device_vgaarb_fini() when called without | Matthieu Herrb | |
initializing the library first. (This happens when invalid options are passed to X for instance). ok kettenis@ | |||
2010-07-10 | Update to libpciaccess 0.11, with VGA arbiter support code from kettenis@. | Matthieu Herrb | |
2009-04-17 | Use 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-14 | Merge libpciaccess 0.10.5. No functionnal change on OpenBSD. | Matthieu Herrb | |
2009-04-14 | Remove git file that should not have been imported initially. | Matthieu Herrb | |
2009-02-15 | Make libpciaccess domain-aware. Makes X capable of discovering PCI devices | Mark Kettenis | |
in other domains (on macppc or sparc64 for example). ok matthieu@ | |||
2008-12-07 | Remove trailing white space. | Matthieu Herrb | |
2008-12-07 | Implement pci_device_read_rom() for arbitrary PCI cards, including | Matthieu Herrb | |
secondary VGA. With help from kettenis@. ok kettenis@, miod@. | |||
2008-11-25 | Fix a logic error in pci_device_openbsd_write() that actually | Matthieu Herrb | |
prevented it to write anything. | |||
2008-11-03 | When trying to map a piece of device memory with a cacheability attribue | Owain 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/i386 | Matthieu Herrb | |
- Restrict MTRR calls to amd64/i386. ok kettenis@ | |||
2008-10-05 | provide a pciutils style pci.ids file for libpciaccess. | Matthieu Herrb | |
ok todd@ deraadt@ | |||
2008-09-20 | allow 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-15 | Bump OpenBSD's libpciacces revision to be at least the version | Matthieu Herrb | |
generated by the unpatched one. (libpciaccess is not currently linked to xenocara builds) | |||
2008-06-15 | update to libpciaccess 0.10.3. | Matthieu Herrb | |
2008-05-24 | Merge libpciaccess 0.10.2, including kettenis@ OpenBSD port. | Matthieu Herrb | |
2007-06-16 | remove unneeded files | Matthieu Herrb | |
2007-06-16 | merge libpciaccess 2007/06/16 | Matthieu Herrb | |
2007-06-16 | Import libpciaccess from git as of today. | Matthieu Herrb | |
Changes: solaris support added. | |||
2007-06-06 | sync | Matthieu Herrb | |
2007-06-06 | skeleton OpenBSD port of libpciaccess | Matthieu Herrb | |
2007-06-06 | I didn't intend to add this file. | Matthieu Herrb | |
2007-06-05 | build infrastructure | Matthieu Herrb | |