summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2009-03-16 00:03:40 -0500
committerRobert Noland <rnoland@2hip.net>2009-03-16 00:03:40 -0500
commitb0acc886069c0054da98059319a84eaf60114d32 (patch)
tree054a99f4db3af61644c8c602e183fc7ec225278e
parentf78040266bbddf6cf020fb957e3f92000c2bc69b (diff)
FreeBSD: Increase MAX_PCI_RESOURCE
We can have more than 3 BARs to access.
-rw-r--r--bsd-core/drmP.h2
1 files changed, 1 insertions, 1 deletions
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