FreeBSD: nv_driver: Disable check for pci driver in FreeBSD.

Seems like this check is also unnecessary in FreeBSD as in NetBSD.
Because the vgapci driver is always attached.

Signed-off-by: b-aaz <b-aazbsd.proton.me>
This commit is contained in:
b-aaz
2025-06-28 21:15:09 +00:00
committed by Enrico Weigelt
parent 84d63e8bce
commit ca3f59fa84

View File

@@ -37,8 +37,10 @@
* nv will refuse to work whenever there's a driver other than vga attached to
* the device we're trying to probe, yet nv works fine on top of gffb or
* genfb on NetBSD
*
* FreeBSD always has vgapci driver attached.
*/
#ifndef __NetBSD__
#if !defined (__NetBSD__) && !defined (__FreeBSD__)
#define NV_TEST_FOR_KERNEL_DRIVER 1
#endif