diff options
author | jhb <jhb@FreeBSD.org> | 2006-12-28 21:55:47 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-12-28 21:55:47 +0000 |
commit | adc4ce3133f5dc5c589996052664c0abb7e7c695 (patch) | |
tree | 302109b8b7beba61a065cab039fdce4cd313d894 /sys/dev/drm/drm_agpsupport.c | |
parent | d4e941ae596e212c14945fda583fb9fde7d9753a (diff) | |
download | FreeBSD-src-adc4ce3133f5dc5c589996052664c0abb7e7c695.zip FreeBSD-src-adc4ce3133f5dc5c589996052664c0abb7e7c695.tar.gz |
Update __FreeBSD_version check for pci_find_extcap() now that it is
present in 6.x.
Diffstat (limited to 'sys/dev/drm/drm_agpsupport.c')
-rw-r--r-- | sys/dev/drm/drm_agpsupport.c | 2 |
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 |