Browse Source

add the freebsd joystick driver; converted by matthieu@abel.laas.fr;

netbsd pr#1916
OPENBSD_2_0
deraadt 29 years ago
parent
commit
b2ebc1d48f
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      src/etc/etc.i386/MAKEDEV

+ 10
- 1
src/etc/etc.i386/MAKEDEV View File

@ -71,6 +71,7 @@
# lkm loadable kernel modules interface # lkm loadable kernel modules interface
# audio audio device # audio audio device
# tun* network tunnel driver # tun* network tunnel driver
# joy* joystick driver
# pcmcia* PCMCIA card drivers # pcmcia* PCMCIA card drivers
# #
@ -85,7 +86,7 @@ all)
sh MAKEDEV st0 st1 ch0 cd0 cd1 mcd0 vnd0 vnd1 lpa0 lpa1 sh MAKEDEV st0 st1 ch0 cd0 cd1 mcd0 vnd0 vnd1 lpa0 lpa1
sh MAKEDEV ccd0 ccd1 ccd2 ccd3 sh MAKEDEV ccd0 ccd1 ccd2 ccd3
sh MAKEDEV lpt0 lpt1 lpt2 ttyv0 bpf0 bpf1 bpf2 bpf3 ipl tun0 tun1 tun2 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: # MISSING:
# sh MAKEDEV mouse-? # sh MAKEDEV mouse-?
;; ;;
@ -332,6 +333,14 @@ audio*)
chown root.wheel audio sound mixer chown root.wheel audio sound mixer
chmod 666 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*) pcmcia*)
rm -rf pcmcia rm -rf pcmcia


Loading…
Cancel
Save