create a lua device node for lua(4) and luactl(8)
This commit is contained in:
parent
9956a67591
commit
7f3fe544bc
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh -
|
||||
# $NetBSD: MAKEDEV.tmpl,v 1.171 2013/08/03 16:07:35 soren Exp $
|
||||
# $NetBSD: MAKEDEV.tmpl,v 1.172 2013/10/28 18:33:20 mbalmer Exp $
|
||||
#
|
||||
# Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -42,6 +42,7 @@
|
|||
# ramdisk devices to be put into INSTALL kernel ramdisks.
|
||||
# std standard devices
|
||||
# local configuration specific devices
|
||||
# lua Lua device
|
||||
# wscons make wscons devices
|
||||
# usbs make USB devices
|
||||
# isdns make ISDN devices
|
||||
|
@ -837,6 +838,7 @@ all)
|
|||
makedev drm0
|
||||
makedev altmem
|
||||
makedev zfs
|
||||
makedev lua
|
||||
makedev local # do this last
|
||||
;;
|
||||
|
||||
|
@ -860,6 +862,11 @@ gpio)
|
|||
lndev gpio0 gpio
|
||||
;;
|
||||
|
||||
lua)
|
||||
makedev lua0
|
||||
lndev lua0 lua
|
||||
;;
|
||||
|
||||
pad)
|
||||
makedev pad0 pad1 pad2 pad3
|
||||
lndev pad0 pad
|
||||
|
@ -1462,6 +1469,11 @@ gpio[0-9]*)
|
|||
mkdev gpio$unit c %gpio_chr% $unit 664 $g_gpio
|
||||
;;
|
||||
|
||||
lua[0-9]*)
|
||||
unit=${i#lua}
|
||||
mkdev lua$unit c %lua_chr% $unit 664
|
||||
;;
|
||||
|
||||
rmidi[0-9]*)
|
||||
unit=${i#rmidi}
|
||||
mkdev rmidi$unit c %midi_chr% $unit 666
|
||||
|
|
Loading…
Reference in New Issue