[BACK]Return to MAKEDEV.tmpl CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/MAKEDEV.tmpl between version 1.158.2.4 and 1.159

version 1.158.2.4, 2014/08/19 23:45:49 version 1.159, 2012/09/19 21:24:28
Line 42 
Line 42 
 #       ramdisk devices to be put into INSTALL kernel ramdisks.  #       ramdisk devices to be put into INSTALL kernel ramdisks.
 #       std     standard devices  #       std     standard devices
 #       local   configuration specific devices  #       local   configuration specific devices
 #       lua     Lua device  
 #       wscons  make wscons devices  #       wscons  make wscons devices
 #       usbs    make USB devices  #       usbs    make USB devices
 #       isdns   make ISDN devices  #       isdns   make ISDN devices
Line 124 
Line 123 
 #       ttyB0   UART on first 68901 (formerly mdm01) (atari)  #       ttyB0   UART on first 68901 (formerly mdm01) (atari)
 #       ixpcom  IXP12x0 COM ports  #       ixpcom  IXP12x0 COM ports
 #       epcom   EP93xx COM ports  #       epcom   EP93xx COM ports
 #       plcom   ARM PL01[01] serial ports  
 #       wmcom   EPOC Windermere COM ports  
 #       ttyM?   HP200/300 4 port serial mux interface (hp300)  #       ttyM?   HP200/300 4 port serial mux interface (hp300)
 #       ttya    "ttya" system console (luna68k)  #       ttya    "ttya" system console (luna68k)
 #       ttyb    second system serial port (luna68k)  #       ttyb    second system serial port (luna68k)
Line 298 
Line 295 
 #  #
 # Trusted Computing devices  # Trusted Computing devices
 #       tpm     Trusted Platform Module  #       tpm     Trusted Platform Module
 #  
 # Debugging and tracing  
 #       dtrace  Dynamic tracing framework  
   
   
 #  #
Line 497  setup()
Line 491  setup()
   
         u_root="%uid_root%"          u_root="%uid_root%"
         u_uucp="%uid_uucp%"          u_uucp="%uid_uucp%"
         g_gpio="%gid__gpio%"  
         g_kmem="%gid_kmem%"          g_kmem="%gid_kmem%"
         g_ntpd="%gid_ntpd%"          g_ntpd="%gid_ntpd%"
         g_operator="%gid_operator%"          g_operator="%gid_operator%"
Line 838  all)
Line 831  all)
         makedev drm0          makedev drm0
         makedev altmem          makedev altmem
         makedev zfs          makedev zfs
         makedev lua  
         makedev local # do this last          makedev local # do this last
         ;;          ;;
   
Line 862  gpio)
Line 854  gpio)
         lndev gpio0 gpio          lndev gpio0 gpio
         ;;          ;;
   
 lua)  
         makedev lua0  
         lndev lua0 lua  
         ;;  
   
 pad)  pad)
         makedev pad0 pad1 pad2 pad3          makedev pad0 pad1 pad2 pad3
         lndev pad0 pad          lndev pad0 pad
Line 901  usbs)
Line 888  usbs)
         makedev usb usb0 usb1 usb2 usb3 usb4 usb5 usb6 usb7          makedev usb usb0 usb1 usb2 usb3 usb4 usb5 usb6 usb7
         makedev uhid0 uhid1 uhid2 uhid3          makedev uhid0 uhid1 uhid2 uhid3
         makedev ulpt0 ulpt1          makedev ulpt0 ulpt1
         makedev ttyU0 ttyU1 ttyU2 ttyU3 ttyU4 ttyU5 ttyU6 ttyU7          makedev ttyU0 ttyU1
         makedev ttyY0 ttyY1          makedev ttyY0 ttyY1
         makedev ttyHS0          makedev ttyHS0
         makedev urio0          makedev urio0
Line 1148  flash[0-9]*)
Line 1135  flash[0-9]*)
         mkdev rflash$unit c %flash_chr% $unit          mkdev rflash$unit c %flash_chr% $unit
         ;;          ;;
   
 spiflash[0-9]*)  
         unit=${i#spiflash}  
         spiflash=spiflash$unit  
         mkdev spiflash$unit b %spiflash_blk% $unit  
         ;;  
   
 altmem[0-9]*)  altmem[0-9]*)
         name=altmem; unit=${i#altmem}; blk=%altmem_blk%; chr=%altmem_chr%          name=altmem; unit=${i#altmem}; blk=%altmem_blk%; chr=%altmem_chr%
         %MKDISK% $name $unit $blk $chr          %MKDISK% $name $unit $blk $chr
Line 1466  hdaudio[0-9]*)
Line 1447  hdaudio[0-9]*)
   
 gpio[0-9]*)  gpio[0-9]*)
         unit=${i#gpio}          unit=${i#gpio}
         mkdev gpio$unit c %gpio_chr% $unit 664 $g_gpio          mkdev gpio$unit c %gpio_chr% $unit 644
         ;;  
   
 lua[0-9]*)  
         unit=${i#lua}  
         mkdev lua$unit c %lua_chr% $unit 664  
         ;;          ;;
   
 rmidi[0-9]*)  rmidi[0-9]*)
Line 1923  epcom[0-9]*)
Line 1899  epcom[0-9]*)
         mkdev epcom$unit c %epcom_chr% $unit "" "" $u_uucp          mkdev epcom$unit c %epcom_chr% $unit "" "" $u_uucp
         ;;          ;;
   
 plcom[0-9]*)  
         unit=${i#plcom}  
         mkdev plcom$unit c %plcom_chr% $unit "" "" $u_uucp  
         ;;  
   
 wmcom[0-9]*)  
         unit=${i#wmcom}  
         mkdev wmcom$unit c %wmcom_chr% $unit "" "" $u_uucp  
         ;;  
   
 ucbsnd)  ucbsnd)
         mkdev ucbsnd c %ucbsnd_chr% 0 666          mkdev ucbsnd c %ucbsnd_chr% 0 666
         ;;          ;;
Line 2101  tpm)
Line 2067  tpm)
         mkdev tpm c %tpm_chr% 0 600          mkdev tpm c %tpm_chr% 0 600
         ;;          ;;
   
 dtrace)  
         makedir dtrace 755  
         mkdev dtrace/dtrace c %dtrace_chr% 0 600  
         ;;  
   
 fw[0-9]*)  fw[0-9]*)
         unit=${i#fw}          unit=${i#fw}
         for j in 0 1 2 3          for j in 0 1 2 3
Line 2132  iscsi[0-9]*)
Line 2093  iscsi[0-9]*)
         mkdev iscsi${unit} c %iscsi_chr% 0 600          mkdev iscsi${unit} c %iscsi_chr% 0 600
         ;;          ;;
   
 vchiq)  
         mkdev vchiq c %vchiq_chr% 0 600  
         ;;  
   
 midevend)  midevend)
 %MI_DEVICES_END%  %MI_DEVICES_END%
 local)  local)
Line 2187  makedisk_p8()
Line 2144  makedisk_p8()
         mkdev r${name}${unit}h  c $chr $(($unit * 8 + 7))       640 $g_operator          mkdev r${name}${unit}h  c $chr $(($unit * 8 + 7))       640 $g_operator
 }  }
   
 makedisk_p12high()  
 {  
         ho=524280       # offset for partition 9 to 11 (same as ...p16high)  
         name="$1"; unit="$2"; blk="$3"; chr="$4"  
   
         mkdev ${name}${unit}a   b $blk $(($unit * 8 + 0))       640 $g_operator  
         mkdev ${name}${unit}b   b $blk $(($unit * 8 + 1))       640 $g_operator  
         mkdev ${name}${unit}c   b $blk $(($unit * 8 + 2))       640 $g_operator  
         mkdev ${name}${unit}d   b $blk $(($unit * 8 + 3))       640 $g_operator  
         mkdev ${name}${unit}e   b $blk $(($unit * 8 + 4))       640 $g_operator  
         mkdev ${name}${unit}f   b $blk $(($unit * 8 + 5))       640 $g_operator  
         mkdev ${name}${unit}g   b $blk $(($unit * 8 + 6))       640 $g_operator  
         mkdev ${name}${unit}h   b $blk $(($unit * 8 + 7))       640 $g_operator  
         mkdev ${name}${unit}i   b $blk $(($unit * 8 + $ho + 8)) 640 $g_operator  
         mkdev ${name}${unit}j   b $blk $(($unit * 8 + $ho + 9)) 640 $g_operator  
         mkdev ${name}${unit}k   b $blk $(($unit * 8 + $ho + 10)) 640 $g_operator  
         mkdev ${name}${unit}l   b $blk $(($unit * 8 + $ho + 11)) 640 $g_operator  
         mkdev r${name}${unit}a  c $chr $(($unit * 8 + 0))       640 $g_operator  
         mkdev r${name}${unit}b  c $chr $(($unit * 8 + 1))       640 $g_operator  
         mkdev r${name}${unit}c  c $chr $(($unit * 8 + 2))       640 $g_operator  
         mkdev r${name}${unit}d  c $chr $(($unit * 8 + 3))       640 $g_operator  
         mkdev r${name}${unit}e  c $chr $(($unit * 8 + 4))       640 $g_operator  
         mkdev r${name}${unit}f  c $chr $(($unit * 8 + 5))       640 $g_operator  
         mkdev r${name}${unit}g  c $chr $(($unit * 8 + 6))       640 $g_operator  
         mkdev r${name}${unit}h  c $chr $(($unit * 8 + 7))       640 $g_operator  
         mkdev r${name}${unit}i  c $chr $(($unit * 8 + $ho + 8)) 640 $g_operator  
         mkdev r${name}${unit}j  c $chr $(($unit * 8 + $ho + 9)) 640 $g_operator  
         mkdev r${name}${unit}k  c $chr $(($unit * 8 + $ho + 10)) 640 $g_operator  
         mkdev r${name}${unit}l  c $chr $(($unit * 8 + $ho + 11)) 640 $g_operator  
 }  
   
 makedisk_p16()  makedisk_p16()
 {  {
         name="$1"; unit="$2"; blk="$3"; chr="$4"          name="$1"; unit="$2"; blk="$3"; chr="$4"
Line 2360  create_mfs_dev()
Line 2286  create_mfs_dev()
   
         if $do_redirect; then          if $do_redirect; then
                 # Redirect stdout and stderr to console                  # Redirect stdout and stderr to console
                 ${MKNOD} -m 600 -g 0 -u 0 temp_console c %CONSOLE_CMAJOR% 0                  mknod -m 600 -g 0 -u 0 temp_console c 0 0
                 exec >temp_console 2>&1                  exec >temp_console 2>&1
                 rm temp_console                  rm temp_console
         fi          fi

Legend:
Removed from v.1.158.2.4  
changed lines
  Added in v.1.159

CVSweb <webmaster@jp.NetBSD.org>