Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc fix dri/drm confusiog



details:   https://anonhg.NetBSD.org/src/rev/ecfae9fcfad5
branches:  trunk
changeset: 747611:ecfae9fcfad5
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Sep 24 14:53:36 2009 +0000

description:
fix dri/drm confusiog

diffstat:

 etc/MAKEDEV.tmpl |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r f40f3adb9bc1 -r ecfae9fcfad5 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl  Thu Sep 24 14:09:18 2009 +0000
+++ b/etc/MAKEDEV.tmpl  Thu Sep 24 14:53:36 2009 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV.tmpl,v 1.128 2009/09/06 17:25:55 sborrill Exp $
+#      $NetBSD: MAKEDEV.tmpl,v 1.129 2009/09/24 14:53:36 christos Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -742,7 +742,7 @@
        makedev putter
        makedev drvctl
        makedev video
-       makedev dri0
+       makedev drm0
        makedev altmem
        makedev zfs
        makedev local # do this last
@@ -1909,9 +1909,10 @@
        mkdev atabus$unit c %atabus_chr% $unit 644
        ;;
 
-dri*)
+drm*)
+       unit=${i#drm}
        makedir dri 755
-       mkdev dri/card$unit c %dri_chr% $unit 660
+       mkdev dri/card$unit c %drm_chr% $unit 660
        ;;
 
 drvctl)



Home | Main Index | Thread Index | Old Index