Update __FreeBSD_version check for pci_find_extcap() now that it is

present in 6.x.
This commit is contained in:
John Baldwin 2006-12-28 21:55:47 +00:00
parent be23ba9aab
commit 2dccd58192

View File

@ -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