aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-08-24 22:53:23 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-08-24 22:53:23 +0000
commit8d9b400f9d02116e528968fa4e7d3c479e326e2a (patch)
tree46922166639a9a6b2142b106980d204f7a78070b /sys
parentf1e1c4ad735442a774247f392085c21081f9c732 (diff)
downloadsrc-8d9b400f9d02116e528968fa4e7d3c479e326e2a.tar.gz
src-8d9b400f9d02116e528968fa4e7d3c479e326e2a.zip
drm2: Update deprecation message
Update the deprecation message in the drm2 (aka legacy drm) drivers to point towards the graphics/drm-kmod ports for all architectures, not just amd64. drm-kmod has support for more architectures these days, and the graphics/drm-legacy-kmod port is being deprecated. Approved by: imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D26174
Notes
Notes: svn path=/head/; revision=364737
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/drm2/drm_os_freebsd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/drm2/drm_os_freebsd.h b/sys/dev/drm2/drm_os_freebsd.h
index 5fcb32b315ca..1c6eceba5be2 100644
--- a/sys/dev/drm2/drm_os_freebsd.h
+++ b/sys/dev/drm2/drm_os_freebsd.h
@@ -154,16 +154,12 @@ typedef void irqreturn_t;
*(volatile u_int64_t *)(((vm_offset_t)(map)->handle) + \
(vm_offset_t)(offset)) = htole64(val)
-#ifdef amd64
#define DRM_PORT "graphics/drm-kmod"
-#else
-#define DRM_PORT "graphics/drm-legacy-kmod"
-#endif
#define DRM_OBSOLETE(dev) \
do { \
device_printf(dev, "=======================================================\n"); \
- device_printf(dev, "This code is obsolete abandonware. Install the " DRM_PORT " pkg\n"); \
+ device_printf(dev, "This code is deprecated. Install the " DRM_PORT " pkg\n"); \
device_printf(dev, "=======================================================\n"); \
gone_in_dev(dev, 13, "drm2 drivers"); \
} while (0)