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@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);
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to