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
This commit is contained in:
@@ -154,16 +154,12 @@ typedef void irqreturn_t;
|
|||||||
*(volatile u_int64_t *)(((vm_offset_t)(map)->handle) + \
|
*(volatile u_int64_t *)(((vm_offset_t)(map)->handle) + \
|
||||||
(vm_offset_t)(offset)) = htole64(val)
|
(vm_offset_t)(offset)) = htole64(val)
|
||||||
|
|
||||||
#ifdef amd64
|
|
||||||
#define DRM_PORT "graphics/drm-kmod"
|
#define DRM_PORT "graphics/drm-kmod"
|
||||||
#else
|
|
||||||
#define DRM_PORT "graphics/drm-legacy-kmod"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define DRM_OBSOLETE(dev) \
|
#define DRM_OBSOLETE(dev) \
|
||||||
do { \
|
do { \
|
||||||
device_printf(dev, "=======================================================\n"); \
|
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"); \
|
device_printf(dev, "=======================================================\n"); \
|
||||||
gone_in_dev(dev, 13, "drm2 drivers"); \
|
gone_in_dev(dev, 13, "drm2 drivers"); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|||||||
Reference in New Issue
Block a user