summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-16 08:25:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-16 08:25:12 +0000
commit063928ca0f66cdb779c3d891eed893aac5cf55d9 (patch)
tree456f5c7d30358f97b88e4e9b8f8643f1e2d3d493 /etc
parent8ef9eb7421dd5c8255b104ce20cd30a0b2fc45df (diff)
add the freebsd joystick driver; converted by matthieu@abel.laas.fr;
netbsd pr#1916
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.i386/MAKEDEV11
1 files changed, 10 insertions, 1 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index f9fbb53257f..a73d9b8f500 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -71,6 +71,7 @@
# lkm loadable kernel modules interface
# audio audio device
# tun* network tunnel driver
+# joy* joystick driver
# pcmcia* PCMCIA card drivers
#
@@ -85,7 +86,7 @@ all)
sh MAKEDEV st0 st1 ch0 cd0 cd1 mcd0 vnd0 vnd1 lpa0 lpa1
sh MAKEDEV ccd0 ccd1 ccd2 ccd3
sh MAKEDEV lpt0 lpt1 lpt2 ttyv0 bpf0 bpf1 bpf2 bpf3 ipl tun0 tun1 tun2
- sh MAKEDEV speaker lkm mms0 lms0 pms0 audio local
+ sh MAKEDEV speaker lkm mms0 lms0 pms0 audio local joy0 joy1
# MISSING:
# sh MAKEDEV mouse-?
;;
@@ -332,6 +333,14 @@ audio*)
chown root.wheel audio sound mixer
chmod 666 audio sound mixer
;;
+
+joy*)
+ unit=`expr $i : 'joy\(.*\)'`
+ rm -f joy$unit
+ mknod joy$unit c 25 $unit
+ chown root.wheel joy$unit
+ chmod 666 joy$unit
+ ;;
pcmcia*)
rm -rf pcmcia