summaryrefslogtreecommitdiff
path: root/etc/etc.i386/MAKEDEV
diff options
context:
space:
mode:
Diffstat (limited to 'etc/etc.i386/MAKEDEV')
-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