From: Mark Kettenis Date: Sun, 6 Nov 2011 17:32:51 +0000 (+0000) Subject: OpenBSD: Indicate that devices need access to legacy VGA resources. X-Git-Tag: libpciaccess-0.13~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e64ee4ee2b23dba147d144aacead3cb61c744854;p=platform%2Fupstream%2Flibpciaccess.git OpenBSD: Indicate that devices need access to legacy VGA resources. Makes sure xserver disables DRI if the VGA arbiter is in use. Signed-off-by: Matthieu Herrb --- diff --git a/src/openbsd_pci.c b/src/openbsd_pci.c index e954144..b5559ad 100644 --- a/src/openbsd_pci.c +++ b/src/openbsd_pci.c @@ -505,6 +505,10 @@ pci_system_openbsd_create(void) device->base.subvendor_id = PCI_VENDOR(reg); device->base.subdevice_id = PCI_PRODUCT(reg); + device->base.vgaarb_rsrc = + VGA_ARB_RSRC_LEGACY_IO | + VGA_ARB_RSRC_LEGACY_MEM; + device++; } }