Current-Users archive

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

Re: Major number for dri missing?



>>> matthew green <mrg%eterna.com.au@localhost> wrote

> the patch below is what i have so far, but doesn't work, if anyone
> really wants to figure it out for me...
> 
> 
> .mrg.
> 
> 
> Index: MAKEDEV.tmpl
> ===================================================================
> RCS file: /cvsroot/src/etc/MAKEDEV.tmpl,v
> retrieving revision 1.127
> diff -p -r1.127 MAKEDEV.tmpl
> *** MAKEDEV.tmpl      5 Jul 2009 21:35:16 -0000       1.127
> --- MAKEDEV.tmpl      26 Jul 2009 20:59:55 -0000
  :
  :
> --- 1903,1909 ----
>       mkdev atabus$unit c %atabus_chr% $unit 644
>       ;;
>   
> ! drm*)
>       makedir dri 755
>       mkdev dri/card$unit c %dri_chr% $unit 660
>       ;;

This lines should be as below:

drm*)
        makedir dri 755
        unit=${i#drm}
        mkdev dri/card$unit c %drm_chr% $unit 660
        ;;

-- Takeshi Nakayama


Home | Main Index | Thread Index | Old Index