Date: Sun, 15 Oct 2017 19:21:15 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r324636 - head/sys/compat/linsysfs Message-ID: <201710151921.v9FJLFJL073652@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710151921.v9FJLFJL073652>