summaryrefslogtreecommitdiff
path: root/bsd-core/drm_bufs.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-11-08 06:11:55 +0000
committerEric Anholt <anholt@freebsd.org>2005-11-08 06:11:55 +0000
commit4b2235d2e089a512b26ecd66ae42ea279fbb1df2 (patch)
treeb9d119752cce93f9cb240e881c4430c50e057eb9 /bsd-core/drm_bufs.c
parent71f9b7357cb3d4ea7bb5b396840de3985bc13ad4 (diff)
Correct a LOR related to the PCI resource allocations by simply moving the
uninit to unload time rather than lastclose.
Diffstat (limited to 'bsd-core/drm_bufs.c')
-rw-r--r--bsd-core/drm_bufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/drm_bufs.c b/bsd-core/drm_bufs.c
index f088703c..93bcc812 100644
--- a/bsd-core/drm_bufs.c
+++ b/bsd-core/drm_bufs.c
@@ -53,7 +53,7 @@ int drm_order(unsigned long size)
/* Allocation of PCI memory resources (framebuffer, registers, etc.) for
* drm_get_resource_*. Note that they are not RF_ACTIVE, so there's no virtual
- * address for accessing them. Cleaned up at lastclose.
+ * address for accessing them. Cleaned up at unload.
*/
static int drm_alloc_resource(drm_device_t *dev, int resource)
{