kettenis
3ff4e178c2
Indicate that devices need access to legacy VGA resources. Makes sure xserver
...
disables DRI if the VGA arbiter is in use.
ok matthieu@
2011-01-12 21:49:21 +00:00
matthieu
f256c6eec5
Update to libpciaccess 0.12.
...
We already had most of the code from this version, it just add
2 bug fixes. no ABI/API change.
2010-07-31 08:05:06 +00:00
matthieu
ae10e3711f
avoid segfault in pci_device_vgaarb_fini() when called without
...
initializing the library first. (This happens when invalid options
are passed to X for instance). ok kettenis@
2010-07-26 18:48:48 +00:00
matthieu
99887c42a6
Update to libpciaccess 0.11, with VGA arbiter support code from kettenis@.
2010-07-10 18:56:27 +00:00
oga
76b1ece233
Use the correct size when mapping the legacy vga rom.
...
fixes errors (and probably bugs) on intel hardware (at the least).
ok matthieu@
2009-04-17 09:03:14 +00:00
matthieu
c1e1a9267a
Merge libpciaccess 0.10.5. No functionnal change on OpenBSD.
2009-04-14 20:14:23 +00:00
matthieu
2b54a7b79e
Remove git file that should not have been imported initially.
2009-04-14 19:47:28 +00:00
kettenis
fb905686b3
Make libpciaccess domain-aware. Makes X capable of discovering PCI devices
...
in other domains (on macppc or sparc64 for example).
ok matthieu@
2009-02-15 19:10:52 +00:00
matthieu
b8c33db224
Remove trailing white space.
2008-12-07 17:58:38 +00:00
matthieu
1199942381
Implement pci_device_read_rom() for arbitrary PCI cards, including
...
secondary VGA. With help from kettenis@. ok kettenis@, miod@.
2008-12-07 17:42:21 +00:00
matthieu
63f16983cf
Fix a logic error in pci_device_openbsd_write() that actually
...
prevented it to write anything.
2008-11-25 11:40:56 +00:00
oga
4cd1a7a593
When trying to map a piece of device memory with a cacheability attribue
...
(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-11-03 23:22:37 +00:00
matthieu
065e5e702a
- Add a method to read the legacy BIOS region on alpha/amd64/i386
...
- Restrict MTRR calls to amd64/i386.
ok kettenis@
2008-10-13 21:08:13 +00:00
matthieu
b65cb15bba
provide a pciutils style pci.ids file for libpciaccess.
...
ok todd@ deraadt@
2008-10-05 08:06:06 +00:00
matthieu
3f497bc04d
allow 2 successives calls to pci_system_init() and fix pci_system_cleanup()
...
to make it possible to call pci_system_init() again.
ok kettenis@.
2008-09-20 16:35:17 +00:00
matthieu
9fb72336cb
Bump OpenBSD's libpciacces revision to be at least the version
...
generated by the unpatched one. (libpciaccess is not currently linked
to xenocara builds)
2008-06-15 04:56:00 +00:00
matthieu
f4e34ed34a
update to libpciaccess 0.10.3.
2008-06-15 04:50:02 +00:00
matthieu
b9c810fd57
Merge libpciaccess 0.10.2, including kettenis@ OpenBSD port.
2008-05-24 14:14:00 +00:00
matthieu
495882d9db
remove unneeded files
2007-06-16 16:34:59 +00:00
matthieu
9411e2c68c
merge libpciaccess 2007/06/16
2007-06-16 16:22:09 +00:00
matthieu
ed93913cf1
Import libpciaccess from git as of today.
...
Changes: solaris support added.
2007-06-16 16:13:55 +00:00
matthieu
050c62ce96
sync
2007-06-06 21:02:47 +00:00
matthieu
64125c3e0e
skeleton OpenBSD port of libpciaccess
2007-06-06 21:01:25 +00:00
matthieu
75cf712a68
I didn't intend to add this file.
2007-06-06 20:22:07 +00:00
matthieu
2632487b54
build infrastructure
2007-06-05 20:13:58 +00:00
matthieu
90b5879678
import libpciaccess 070327
2007-06-05 20:08:56 +00:00