summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_agpsupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/drm/drm_agpsupport.c')
-rw-r--r--sys/dev/drm/drm_agpsupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_agpsupport.c b/sys/dev/drm/drm_agpsupport.c
index f809acb..3d657da 100644
--- a/sys/dev/drm/drm_agpsupport.c
+++ b/sys/dev/drm/drm_agpsupport.c
@@ -46,7 +46,7 @@ static int
drm_device_find_capability(drm_device_t *dev, int cap)
{
#ifdef __FreeBSD__
-#if __FreeBSD_version >= 700010
+#if __FreeBSD_version >= 602102
return (pci_find_extcap(dev->device, cap, NULL) == 0);
#else
OpenPOWER on IntegriCloud