Date: Thu, 30 Mar 2023 19:04:19 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 270509] devel/libpciaccess: apparent problem with recent change to pci_device_freebsd_has_kernel_driver Message-ID: <bug-270509-7141-NHbLqCNtFg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-270509-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-270509-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270509 --- Comment #17 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Db6d89731d542582d2cc751e7a56b78d= f76a38ce7 commit b6d89731d542582d2cc751e7a56b78df76a38ce7 Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2023-03-30 08:05:52 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2023-03-30 19:03:20 +0000 x11-drivers/xf86-video-vesa: Add patch for ignoring if kernel as a driv= er The vesa driver checks if the kernel as a driver attached to the pci device. This used to work before df10dcefa427 ("devel/libpciaccess: Update to 0.17") because we had a patch in libpciaccess that always said that the kernel didn't had any driver attached. This is obviously not a correct way. The problem is that vgapci is always attached for us so for pci video devices we always have a driver attached. Ignoring the check in xf86-video-vesa seems the best way for us. PR: 270509 Sponsored by: Beckhoff Automation GmbH & Co. KG x11-drivers/xf86-video-vesa/Makefile | 2 +- x11-drivers/xf86-video-vesa/files/patch-src_vesa.c (new) | 15 ++++++++++++= +++ 2 files changed, 16 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270509-7141-NHbLqCNtFg>