From b0acc886069c0054da98059319a84eaf60114d32 Mon Sep 17 00:00:00 2001 From: Robert Noland Date: Mon, 16 Mar 2009 00:03:40 -0500 Subject: FreeBSD: Increase MAX_PCI_RESOURCE We can have more than 3 BARs to access. --- bsd-core/drmP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsd-core') diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h index 32573b83..affc0a8d 100644 --- a/bsd-core/drmP.h +++ b/bsd-core/drmP.h @@ -610,7 +610,7 @@ struct drm_driver_info { }; /* Length for the array of resource pointers for drm_get_resource_*. */ -#define DRM_MAX_PCI_RESOURCE 3 +#define DRM_MAX_PCI_RESOURCE 6 /** * DRM device functions structure -- cgit v1.2.3