[BACK]Return to MAKEDEV.sub CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/MAKEDEV.sub between version 1.3 and 1.4

version 1.3, 2002/01/07 06:25:32 version 1.4, 2002/01/07 06:54:10
Line 186 
Line 186 
 dnl  dnl
 ifelse($3,,,{-define(major_$1_b,$3)-})dnl  ifelse($3,,,{-define(major_$1_b,$3)-})dnl
 dnl  dnl
   dnl _DEV 'ifelse' .. $4 - step_$1
   dnl
   ifelse($4,,,{-define(step_$1,{-$4-})-})dnl
   dnl
 dnl Some magic here, defining a devitem also defines another  dnl Some magic here, defining a devitem also defines another
 dnl string so that later we can check if a particular devitem was  dnl string so that later we can check if a particular devitem was
 dnl defined, and thus determine if the devices themselves are to  dnl defined, and thus determine if the devices themselves are to
Line 244 
Line 248 
 dnl  dnl
 define({-CasE-},  define({-CasE-},
 {-ifdev({-$1-},  {-ifdev({-$1-},
 {-      $1*) n=$1 b=major_$1_b c=major_$1_c;;  {-      $1*) dodisk $1 $U major_$1_b major_$1_c $U 0{--}ifstep($1);;
 -})-})dnl  -})-})dnl
 dnl  dnl
 dnl  dnl
Line 302 
Line 306 
 dnl ifstep(devstr)  dnl ifstep(devstr)
 dnl   .. if stepping is defined for the particular device, emit ' step', else  dnl   .. if stepping is defined for the particular device, emit ' step', else
 dnl      nothing  dnl      nothing
 define({-ifstep-},{-ifdef({-step_$1-},{- -}step_$1)-})dnl  define({-ifstep-},{-ifdef({-step_$1-},{- -}step_$1{--})-})dnl

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4