mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
OpenBSD support for libpciaccess.
xserver and libpciaccess both need to open /dev/xf86, which can only be opened once. I implemented pci_system_init_dev_mem() like Ian suggested. This requires some minor changes to the BSD-specific os-support code. Since pci_system_init_dev_mem() is a no-op on FreeBSD this should be no problem.
This commit is contained in:
parent
2036851125
commit
06c0372c3a
3 changed files with 6 additions and 1 deletions
|
|
@ -81,4 +81,6 @@ bsdPciInit(void)
|
|||
{
|
||||
pciNumBuses = 1;
|
||||
pciBusInfo[0] = &bsd_pci;
|
||||
|
||||
xf86InitVidMem();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue