summaryrefslogtreecommitdiff
path: root/lib/libpciaccess
AgeCommit message (Collapse)Author
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
2007-06-05import libpciaccess 070327Matthieu Herrb