Subject: MAKEDEV patches
To: None <amiga-dev@sun-lamp.cs.berkeley.edu>
From: Ty Sarna <tsarna@endicor.com>
List: amiga-dev
Date: 04/17/1994 07:48:38
Following is are patches for MAKEDEV in -current...
changes:
- correct a harmless type (sdf6 ->sd6)
- add an RCS id
- make all four floppuy devices. Having two floppies is IMHO certainly
common enough to warrant creating the device nodes as standard.
Of course, a second internal floppy is either #1 or #2, depending
on amiga model, internal/external, etc, so we need to make 0, 1, and
2. Since we're doing that, we might as well go all the way and add 3.
- Make a symlink mouse -> mouse0 for cross-arch compatibility. Most other
machines have only 1 mouse port and call it's entry /dev/mouse.
*** /usr/src/etc/etc.amiga/MAKEDEV Fri Apr 8 05:02:17 1994
--- /dev/MAKEDEV Sat Apr 16 17:07:07 1994
***************
*** 31,37 ****
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
! # amiga/MAKEDEV (1/15/94), from:
#
# hp300/MAKEDEV (1/15/94), from:
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91
--- 31,39 ----
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
! # $Id$
! #
! # from:
#
# hp300/MAKEDEV (1/15/94), from:
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91
***************
*** 80,88 ****
case $i in
all)
sh MAKEDEV std st0 ite0 ite1 mouse0 mouse1 tty0 grf0 grf1 kbd
! sh MAKEDEV sd0 sd1 sd2 sd3 sd4 sd5 sdf6 vnd0 vnd1 vnd2 vnd3 vnd4
sh MAKEDEV view00 view01 view02 view03 view04 view05 pty0
! sh MAKEDEV vnd5 vnd6 fd0 bpf0 bpf1 bpf2 bpf3 par0 lkm local
;;
std)
--- 82,91 ----
case $i in
all)
sh MAKEDEV std st0 ite0 ite1 mouse0 mouse1 tty0 grf0 grf1 kbd
! sh MAKEDEV sd0 sd1 sd2 sd3 sd4 sd5 sd6 vnd0 vnd1 vnd2 vnd3 vnd4
sh MAKEDEV view00 view01 view02 view03 view04 view05 pty0
! sh MAKEDEV vnd5 vnd6 fd0 fd1 fd2 fd3 bpf0 bpf1 bpf2 bpf3 par0
! sh MAKEDEV lkm local
;;
std)
***************
*** 264,269 ****
--- 267,276 ----
case $unit in
0|1)
mknod mouse${unit} c 15 ${unit}; chmod 666 mouse${unit}
+ if [ $unit = 0 ]
+ then
+ rm -f mouse; ln -s mouse${unit} mouse
+ fi
;;
*)
echo bad unit for mouse in: $i
------------------------------------------------------------------------------