svn commit: r324636 - head/sys/compat/linsysfs
Tijl Coosemans
tijl at FreeBSD.org
Sun Oct 15 19:21:16 UTC 2017
Author: tijl
Date: Sun Oct 15 19:21:15 2017
New Revision: 324636
URL: https://svnweb.freebsd.org/changeset/base/324636
Log:
Set DEVNAME to dri/card%d. This works with both in-tree drm and drm-next
and is also the value used on Linux.
Tested by: Greg V <greg at unrelenting.technology>
Modified:
head/sys/compat/linsysfs/linsysfs.c
Modified: head/sys/compat/linsysfs/linsysfs.c
==============================================================================
--- head/sys/compat/linsysfs/linsysfs.c Sun Oct 15 18:53:21 2017 (r324635)
+++ head/sys/compat/linsysfs/linsysfs.c Sun Oct 15 19:21:15 2017 (r324636)
@@ -205,8 +205,8 @@ linsysfs_fill_uevent_drm(PFS_FILL_ARGS)
dev = (device_t)pn->pn_data;
unit = device_get_unit(dev);
sbuf_printf(sb,
- "MAJOR=226\nMINOR=%d\nDEVNAME=drm/%d\nDEVTYPE=dri_minor\n", unit,
- unit);
+ "MAJOR=226\nMINOR=%d\nDEVNAME=dri/card%d\nDEVTYPE=dri_minor\n",
+ unit, unit);
return (0);
}
More information about the svn-src-head
mailing list