Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Initial commit of arm26 port



details:   https://anonhg.NetBSD.org/src/rev/c1a26ffac40c
branches:  trunk
changeset: 485962:c1a26ffac40c
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Tue May 09 21:55:44 2000 +0000

description:
Initial commit of arm26 port

diffstat:

 etc/etc.arm26/MAKEDEV                            |   263 +
 etc/etc.arm26/disktab                            |    97 +
 etc/etc.arm26/fstab.nfs                          |     4 +
 etc/etc.arm26/ttys                               |    42 +
 lib/csu/arm26/Makefile                           |     3 +
 lib/csu/arm26/c++rt0.c                           |   163 +
 lib/csu/arm26/crt0.c                             |   107 +
 lib/libc/arch/arm26/Makefile.inc                 |     9 +
 lib/libc/arch/arm26/SYS.h                        |    92 +
 lib/libc/arch/arm26/fplib/Makefile.inc           |    23 +
 lib/libc/arch/arm26/fplib/arm-gcc.h              |    79 +
 lib/libc/arch/arm26/fplib/environment.h          |    63 +
 lib/libc/arch/arm26/fplib/fplib_glue.S           |   211 +
 lib/libc/arch/arm26/fplib/fplib_libc.c           |    86 +
 lib/libc/arch/arm26/fplib/softfloat-macros.h     |   754 +++++
 lib/libc/arch/arm26/fplib/softfloat-specialize.h |   173 +
 lib/libc/arch/arm26/fplib/softfloat.c            |  2509 ++++++++++++++++++
 lib/libc/arch/arm26/fplib/softfloat.h            |   166 +
 lib/libc/arch/arm26/gen/Makefile.inc             |    13 +
 lib/libc/arch/arm26/gen/__setjmp14.S             |   130 +
 lib/libc/arch/arm26/gen/__sigsetjmp14.S          |    61 +
 lib/libc/arch/arm26/gen/_setjmp.S                |   114 +
 lib/libc/arch/arm26/gen/alloca.S                 |    48 +
 lib/libc/arch/arm26/gen/byte_swap_2.S            |    53 +
 lib/libc/arch/arm26/gen/byte_swap_4.S            |    54 +
 lib/libc/arch/arm26/gen/divsi3.S                 |   398 ++
 lib/libc/arch/arm26/gen/fabs.c                   |    48 +
 lib/libc/arch/arm26/gen/flt_rounds.c             |    76 +
 lib/libc/arch/arm26/gen/fpgetmask.S              |    54 +
 lib/libc/arch/arm26/gen/fpgetround.c             |    64 +
 lib/libc/arch/arm26/gen/fpgetsticky.S            |    53 +
 lib/libc/arch/arm26/gen/fpsetmask.S              |    57 +
 lib/libc/arch/arm26/gen/fpsetround.c             |    71 +
 lib/libc/arch/arm26/gen/fpsetsticky.S            |    57 +
 lib/libc/arch/arm26/gen/frexp.c                  |    86 +
 lib/libc/arch/arm26/gen/infinity.c               |    38 +
 lib/libc/arch/arm26/gen/isinf.c                  |    68 +
 lib/libc/arch/arm26/gen/isnan.c                  |    68 +
 lib/libc/arch/arm26/gen/ldexp.c                  |   154 +
 lib/libc/arch/arm26/gen/modf.c                   |   104 +
 lib/libc/arch/arm26/gen/nanf.c                   |    13 +
 lib/libc/arch/arm26/gen/setjmp.S                 |   137 +
 lib/libc/arch/arm26/gen/sigsetjmp.S              |    61 +
 lib/libc/arch/arm26/net/Makefile.inc             |     4 +
 lib/libc/arch/arm26/stdlib/Makefile.inc          |     3 +
 lib/libc/arch/arm26/string/Makefile.inc          |     8 +
 lib/libc/arch/arm26/string/_memcpy.S             |   463 +++
 lib/libc/arch/arm26/string/bcopy.S               |    48 +
 lib/libc/arch/arm26/string/bzero.S               |    44 +
 lib/libc/arch/arm26/string/memcpy.S              |    48 +
 lib/libc/arch/arm26/string/memmove.S             |    48 +
 lib/libc/arch/arm26/string/memset.S              |   134 +
 lib/libc/arch/arm26/sys/Ovfork.S                 |    59 +
 lib/libc/arch/arm26/sys/__semctl.S               |    42 +
 lib/libc/arch/arm26/sys/__sigreturn14.S          |    49 +
 lib/libc/arch/arm26/sys/__vfork14.S              |    56 +
 lib/libc/arch/arm26/sys/brk.S                    |   102 +
 lib/libc/arch/arm26/sys/cerror.S                 |    83 +
 lib/libc/arch/arm26/sys/exect.S                  |    47 +
 lib/libc/arch/arm26/sys/fork.S                   |    47 +
 lib/libc/arch/arm26/sys/msgctl.S                 |    45 +
 lib/libc/arch/arm26/sys/pipe.S                   |    51 +
 lib/libc/arch/arm26/sys/ptrace.S                 |    81 +
 lib/libc/arch/arm26/sys/sbrk.S                   |    90 +
 lib/libc/arch/arm26/sys/setlogin.S               |    69 +
 lib/libc/arch/arm26/sys/shmctl.S                 |    45 +
 lib/libc/arch/arm26/sys/sigaction.S              |    45 +
 lib/libc/arch/arm26/sys/sigpending.S             |    53 +
 lib/libc/arch/arm26/sys/sigprocmask.S            |    57 +
 lib/libc/arch/arm26/sys/sigreturn.S              |    47 +
 lib/libc/arch/arm26/sys/sigsuspend.S             |    52 +
 lib/libc/arch/arm26/sys/syscall.S                |    47 +
 lib/libc/gen/nlist_private.h                     |     4 +-
 lib/libc/rpc/xdr_float.c                         |     7 +-
 lib/libc/stdlib/strtod.c                         |     9 +-
 lib/libkvm/Makefile                              |     4 +-
 lib/libm/src/math_private.h                      |     8 +-
 libexec/ld.elf_so/paths.c                        |     4 +-
 share/man/man4/Makefile                          |     4 +-
 share/man/man4/man4.arm26/Makefile               |     9 +
 share/man/man4/man4.arm26/arckbd.4               |    80 +
 share/man/man4/man4.arm26/cpu.4                  |    36 +
 share/man/man4/man4.arm26/dtide.4                |    67 +
 share/man/man4/man4.arm26/ei.4                   |    57 +
 share/man/man4/man4.arm26/podulebus.4            |    74 +
 sys/arch/arm26/Makefile                          |    33 +
 sys/arch/arm26/arm26/Locore.c                    |   151 +
 sys/arch/arm26/arm26/aout_machdep.c              |   104 +
 sys/arch/arm26/arm26/autoconf.c                  |    68 +
 sys/arch/arm26/arm26/bus.c                       |   220 +
 sys/arch/arm26/arm26/conf.c                      |   193 +
 sys/arch/arm26/arm26/cons_machdep.c              |    71 +
 sys/arch/arm26/arm26/copyinout.S                 |   177 +
 sys/arch/arm26/arm26/copyinoutstr.c              |   108 +
 sys/arch/arm26/arm26/cpu.c                       |   206 +
 sys/arch/arm26/arm26/cpuvar.h                    |    42 +
 sys/arch/arm26/arm26/db_disasm.c                 |    75 +
 sys/arch/arm26/arm26/db_interface.c              |   345 ++
 sys/arch/arm26/arm26/db_machdep.c                |   227 +
 sys/arch/arm26/arm26/db_trace.c                  |   150 +
 sys/arch/arm26/arm26/disksubr.c                  |   447 +++
 sys/arch/arm26/arm26/disksubr_acorn.c            |   359 ++
 sys/arch/arm26/arm26/disksubr_mbr.c              |   278 ++
 sys/arch/arm26/arm26/except.c                    |   717 +++++
 sys/arch/arm26/arm26/genassym.cf                 |    46 +
 sys/arch/arm26/arm26/intrnames.S                 |    86 +
 sys/arch/arm26/arm26/irq.c                       |   297 ++
 sys/arch/arm26/arm26/locore.S                    |   398 ++
 sys/arch/arm26/arm26/machdep.c                   |   205 +
 sys/arch/arm26/arm26/md_root.c                   |    88 +
 sys/arch/arm26/arm26/mem.c                       |   214 +
 sys/arch/arm26/arm26/pmap.c                      |   930 ++++++
 sys/arch/arm26/arm26/rscons.c                    |    99 +
 sys/arch/arm26/arm26/softintr.c                  |   175 +
 sys/arch/arm26/arm26/start.c                     |   225 +
 sys/arch/arm26/arm26/stubs.c                     |   205 +
 sys/arch/arm26/arm26/vm_machdep.c                |   330 ++
 sys/arch/arm26/arm26/zeropage.S                  |   100 +
 sys/arch/arm26/boot/BBBB,fd1                     |   448 +++
 sys/arch/arm26/conf/GENERIC                      |   178 +
 sys/arch/arm26/conf/Makefile.arm26               |   190 +
 sys/arch/arm26/conf/files.arm26                  |   236 +
 sys/arch/arm26/conf/std.arm26                    |     6 +
 sys/arch/arm26/include/Makefile                  |    15 +
 sys/arch/arm26/include/ansi.h                    |    81 +
 sys/arch/arm26/include/aout_machdep.h            |    37 +
 sys/arch/arm26/include/armreg.h                  |    79 +
 sys/arch/arm26/include/asm.h                     |   117 +
 sys/arch/arm26/include/boot.h                    |    86 +
 sys/arch/arm26/include/bswap.h                   |     9 +
 sys/arch/arm26/include/bus.h                     |   128 +
 sys/arch/arm26/include/cdefs.h                   |     3 +
 sys/arch/arm26/include/cpu.h                     |    41 +
 sys/arch/arm26/include/db_machdep.h              |    90 +
 sys/arch/arm26/include/disklabel.h               |    84 +
 sys/arch/arm26/include/disklabel_acorn.h         |   121 +
 sys/arch/arm26/include/elf_machdep.h             |    44 +
 sys/arch/arm26/include/endian.h                  |     3 +
 sys/arch/arm26/include/endian_machdep.h          |     3 +
 sys/arch/arm26/include/float.h                   |    89 +
 sys/arch/arm26/include/fp.h                      |    86 +
 sys/arch/arm26/include/frame.h                   |   165 +
 sys/arch/arm26/include/ieee.h                    |   150 +
 sys/arch/arm26/include/ieeefp.h                  |    40 +
 sys/arch/arm26/include/intr.h                    |    53 +
 sys/arch/arm26/include/ipkdb.h                   |    43 +
 sys/arch/arm26/include/irq.h                     |    46 +
 sys/arch/arm26/include/limits.h                  |    97 +
 sys/arch/arm26/include/lock.h                    |    51 +
 sys/arch/arm26/include/machdep.h                 |    64 +
 sys/arch/arm26/include/math.h                    |    11 +
 sys/arch/arm26/include/memcreg.h                 |   226 +
 sys/arch/arm26/include/param.h                   |   144 +
 sys/arch/arm26/include/pcb.h                     |    52 +
 sys/arch/arm26/include/pmap.h                    |    60 +
 sys/arch/arm26/include/proc.h                    |    38 +
 sys/arch/arm26/include/profile.h                 |    76 +
 sys/arch/arm26/include/pte.h                     |    33 +
 sys/arch/arm26/include/ptrace.h                  |    41 +
 sys/arch/arm26/include/reg.h                     |    53 +
 sys/arch/arm26/include/setjmp.h                  |    79 +
 sys/arch/arm26/include/signal.h                  |   136 +
 sys/arch/arm26/include/softintr.h                |    40 +
 sys/arch/arm26/include/spl.h                     |    93 +
 sys/arch/arm26/include/stdarg.h                  |    60 +
 sys/arch/arm26/include/trap.h                    |    58 +
 sys/arch/arm26/include/types.h                   |    88 +
 sys/arch/arm26/include/undefined.h               |    63 +
 sys/arch/arm26/include/varargs.h                 |    64 +
 sys/arch/arm26/include/vmparam.h                 |   122 +
 sys/arch/arm26/iobus/iobus.c                     |   116 +
 sys/arch/arm26/iobus/iobusvar.h                  |    45 +
 sys/arch/arm26/iobus/ioc.c                       |   529 +++
 sys/arch/arm26/iobus/iocreg.h                    |   153 +
 sys/arch/arm26/iobus/iocvar.h                    |    72 +
 sys/arch/arm26/ioc/arckbd.c                      |   740 +++++
 sys/arch/arm26/ioc/arckbdmap.c                   |   238 +
 sys/arch/arm26/ioc/arckbdreg.h                   |    94 +
 sys/arch/arm26/ioc/arckbdvar.h                   |    45 +
 sys/arch/arm26/ioc/iic.c                         |   351 ++
 sys/arch/arm26/ioc/iic.h                         |    64 +
 sys/arch/arm26/ioc/ioeb.c                        |    73 +
 sys/arch/arm26/ioc/ioebreg.h                     |    40 +
 sys/arch/arm26/ioc/latchreg.h                    |    60 +
 sys/arch/arm26/ioc/pcf8583reg.h                  |    81 +
 sys/arch/arm26/ioc/rtc.c                         |   470 +++
 sys/arch/arm26/mainbus/mainbus.c                 |   104 +
 sys/arch/arm26/podulebus/asc.c                   |   469 +++
 sys/arch/arm26/podulebus/ascreg.h                |   279 ++
 sys/arch/arm26/podulebus/ascvar.h                |    51 +
 sys/arch/arm26/podulebus/dtide.c                 |   122 +
 sys/arch/arm26/podulebus/dtidereg.h              |    21 +
 sys/arch/arm26/podulebus/if_ea.c                 |  1537 +++++++++++
 sys/arch/arm26/podulebus/if_eareg.h              |   168 +
 sys/arch/arm26/podulebus/if_ei.c                 |   371 ++
 sys/arch/arm26/podulebus/if_eireg.h              |    62 +
 sys/arch/arm26/podulebus/podulebus.c             |   251 +
 sys/arch/arm26/podulebus/podulebus.h             |    98 +
 sys/arch/arm26/podulebus/podulebusreg.h          |    62 +
 sys/arch/arm26/podulebus/sbic.c                  |  3011 ++++++++++++++++++++++
 sys/arch/arm26/podulebus/sbicreg.h               |   426 +++
 sys/arch/arm26/podulebus/sbicvar.h               |   236 +
 sys/arch/arm26/podulebus/unixbp.c                |    85 +
 sys/arch/arm26/podulebus/unixbpreg.h             |    15 +
 sys/arch/arm26/vidc/arcvideo.c                   |   501 +++
 sys/arch/arm26/vidc/arcvideovar.h                |    47 +
 sys/arch/arm26/vidc/vidcreg.h                    |   131 +
 sys/arch/arm26/vidc/vidmodes.c                   |    48 +
 sys/arch/arm32/podulebus/podule_data.h           |     8 +-
 sys/arch/arm32/podulebus/podules                 |     5 +-
 sys/arch/arm32/podulebus/podules.h               |     5 +-
 sys/lib/libkern/arch/arm26/Makefile.inc          |     9 +
 sys/lib/libkern/arch/arm26/_memcpy.S             |   463 +++
 sys/lib/libkern/arch/arm26/bcopy.S               |    48 +
 sys/lib/libkern/arch/arm26/byte_swap_2.S         |    53 +
 sys/lib/libkern/arch/arm26/byte_swap_4.S         |    54 +
 sys/lib/libkern/arch/arm26/bzero.S               |    44 +
 sys/lib/libkern/arch/arm26/divsi3.S              |   398 ++
 sys/lib/libkern/arch/arm26/memcpy.S              |    48 +
 sys/lib/libkern/arch/arm26/memmove.S             |    48 +
 sys/lib/libkern/arch/arm26/memset.S              |   134 +
 usr.bin/crunch/crunchide/extern.h                |     4 +-
 usr.bin/xlint/lint1/param.h                      |     4 +-
 usr.sbin/kvm_mkdb/extern.h                       |     4 +-
 224 files changed, 33614 insertions(+), 24 deletions(-)

diffs (truncated from 34724 to 300 lines):

diff -r 99dac83fb1cb -r c1a26ffac40c etc/etc.arm26/MAKEDEV
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/etc.arm26/MAKEDEV     Tue May 09 21:55:44 2000 +0000
@@ -0,0 +1,263 @@
+#!/bin/sh -
+#      $NetBSD: MAKEDEV,v 1.1 2000/05/09 21:55:44 bjh21 Exp $
+#
+# Copyright (c) 1990 The Regents of the University of California.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+#    must display the following acknowledgement:
+#      This product includes software developed by the University of
+#      California, Berkeley and its contributors.
+# 4. Neither the name of the University nor the names of its contributors
+#    may be used to endorse or promote products derived from this software
+#    without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+###########################################################################
+#
+#   PLEASE RUN "cd ../share/man/man8 ; perl5 MAKEDEV2manpage.pl"
+#   AFTER CHANGING THIS FILE, AND COMMIT THE UPDATED MANPAGE!
+#
+###########################################################################
+#
+# Device "make" file.  Valid arguments:
+#      all     Makes all known devices, including local devices.
+#              If units are expected for a device MAKEDEV supplies the
+#              standard numbers.
+#      minimal A minimal set of devices for install disks, etc.
+#      std     The standard devices (console, drum, klog, kmem, mem,
+#              null, stderr, stdin, stdout, tty, zero).
+#      local   Configuration specific devices which are created by running
+#              the MAKEDEV.local shell script with the argument "all".
+#
+# Tapes:
+#      st*     SCSI tape
+#
+# Disks:
+#      ccd*    concatenated disk driver
+#      md*     memory pseudo-disk devices
+#      vnd*    file pseudo-disks
+#
+# Terminals:
+#      ttyE?   Workstation console ("wscons") glass-tty emulators
+#
+# Pseudo terminals:
+#      pty*    set of 16 master and slave pseudo terminals
+#
+# Special purpose devices:
+#      fd      file descriptors (/dev/fd/*)
+
+dialin=0
+dialout=524288
+callunit=262144
+
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+umask 77
+for i
+do
+case $i in
+
+all)
+       sh $0 std fd pty0 pty1
+       sh $0 vnd0 vnd1 vnd2 vnd3
+       sh $0 ccd0 ccd1 ccd2 ccd3 md0 md1
+       sh $0 wskbd0 wsmouse0
+       sh $0 wscons
+       ;;
+
+minimal)
+       sh $0 std
+       sh $0 pty0 ccd0 ccd1 md0
+       sh $0 ttyE0 ttyE1 wsmouse0 wskbd0 ttyEcfg
+       ;;
+
+wscons)
+       sh $0 ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7
+       sh $0 wsmouse0 wsmouse1 wsmouse2 wsmouse3
+       sh $0 wskbd0 wskbd1 wskbd2 wskbd3
+       sh $0 ttyEcfg
+       sh $0 wsmux
+       ;;
+
+wskbd*)
+       major=11
+       unit=${i#wskbd}
+       wskbd=wskbd$unit
+       rm -f $wskbd
+       mknod $wskbd c $major $unit
+       chown root.wheel $wskbd
+       chmod 600 $wskbd
+       ;;
+
+wsmouse*)
+       major=12
+       unit=${i#wsmouse}
+       wsmouse=wsmouse$unit
+       rm -f $wsmouse
+       mknod $wsmouse c 12 $unit
+       chown root.wheel $wsmouse
+       chmod 600 $wsmouse
+       ;;
+
+wsmux|wsmouse|wskbd)
+       rm -f wsmouse wskbd
+       mknod wsmouse c 13 0
+       mknod wskbd c 13 1
+       chown root.wheel wsmouse wskbd
+       chmod 600 wsmouse wskbd
+       ;;
+
+std)
+       rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
+       mknod console           c 0 0
+       mknod tty               c 1 0   ; chmod 666 tty
+       mknod kmem              c 2 1   ; chmod 640 kmem ; chgrp kmem kmem
+       mknod mem               c 2 0   ; chmod 640 mem ; chgrp kmem mem
+       mknod null              c 2 2   ; chmod 666 null
+       mknod zero              c 2 3   ; chmod 666 zero
+       mknod drum              c 3 0   ; chmod 640 drum ; chgrp kmem drum
+       mknod klog              c 6 0   ; chmod 600 klog
+       mknod stdin             c 7 0   ; chmod 666 stdin
+       mknod stdout            c 7 1   ; chmod 666 stdout
+       mknod stderr            c 7 2   ; chmod 666 stderr
+       ;;
+
+fd)
+       major=7
+       rm -f fd/*
+       mkdir fd > /dev/null 2>&1
+       n=0
+       while [ $n -lt 64 ]; do
+               mknod fd/$n c $major $n
+               n=$(($n + 1))
+       done
+       chown -R root.wheel fd
+       chmod 755 fd
+       chmod 666 fd/*
+       ;;
+
+md*)
+       unit=${i#md}; blk=1; chr=8;
+       rm -f md${unit}? rmd${unit}?
+       mknod md${unit}a  b $blk $(($unit * 8 + 0))
+       mknod md${unit}c  b $blk $(($unit * 8 + 2))
+#      mknod rmd${unit}a c $chr $(($unit * 8 + 0))
+#      mknod rmd${unit}c c $chr $(($unit * 8 + 2))
+       chgrp operator md${unit}? #rmd${unit}?
+       chmod 640 md${unit}? #rmd${unit}?
+       ;;
+
+ccd*|vnd*)
+       case $i in
+       ccd*)   name=ccd;       unit=${i#ccd};  blk=3; chr=9;;
+       vnd*)   name=vnd;       unit=${i#vnd};  blk=2; chr=8;;
+       esac
+       rm -f $name$unit? r$name$unit?
+       mknod ${name}${unit}a   b $blk $(($unit * 8 + 0))
+       mknod ${name}${unit}b   b $blk $(($unit * 8 + 1))
+       mknod ${name}${unit}c   b $blk $(($unit * 8 + 2))
+       mknod ${name}${unit}d   b $blk $(($unit * 8 + 3))
+       mknod ${name}${unit}e   b $blk $(($unit * 8 + 4))
+       mknod ${name}${unit}f   b $blk $(($unit * 8 + 5))
+       mknod ${name}${unit}g   b $blk $(($unit * 8 + 6))
+       mknod ${name}${unit}h   b $blk $(($unit * 8 + 7))
+       mknod r${name}${unit}a  c $chr $(($unit * 8 + 0))
+       mknod r${name}${unit}b  c $chr $(($unit * 8 + 1))
+       mknod r${name}${unit}c  c $chr $(($unit * 8 + 2))
+       mknod r${name}${unit}d  c $chr $(($unit * 8 + 3))
+       mknod r${name}${unit}e  c $chr $(($unit * 8 + 4))
+       mknod r${name}${unit}f  c $chr $(($unit * 8 + 5))
+       mknod r${name}${unit}g  c $chr $(($unit * 8 + 6))
+       mknod r${name}${unit}h  c $chr $(($unit * 8 + 7))
+       chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
+       chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
+       ;;
+
+ttyEcfg)
+       rm -f $i
+       mknod $i c 14 255
+       chown root:wheel $i
+       ;;
+
+ttyE*)
+       case $i in
+       ttyE*)  name=ttyE; unit=${i#ttyE};      major=14; minor=$unit;;
+       esac
+        rm -f $name$unit
+        mknod $name$unit c $major $minor
+        chown uucp.wheel $name$unit
+        ;;
+
+pty*)
+       class=${i#pty}
+       case $class in
+       0)      name=p;;
+       1)      name=q;;
+       2)      name=r;;
+       3)      name=s;;
+       4)      name=t;;
+       5)      name=u;;
+       6)      name=v;;
+       7)      name=w;;
+       8)      name=x;;
+       9)      name=y;;
+       10)     name=z;;
+       11)     name=P;;
+       12)     name=Q;;
+       13)     name=R;;
+       14)     name=S;;
+       15)     name=T;;
+       *)      echo "$0: $i: pty unit must be between 0 and 15"
+               continue ;;
+       esac
+       rm -f tty$name[0-9a-f] pty$name[0-9a-f]
+       for j in 0 1 2 3 4 5 6 7 8 9 a b c d e f
+       do
+               case $j in
+               [0-9])  jn=$j ;;
+               a)      jn=10 ;;
+               b)      jn=11 ;;
+               c)      jn=12 ;;
+               d)      jn=13 ;;
+               e)      jn=14 ;;
+               f)      jn=15 ;;
+               esac
+               unit=$(($class * 16 + $jn))
+               mknod tty$name$j c 4 $unit
+               mknod pty$name$j c 5 $unit
+       done
+        chgrp wheel tty$name? pty$name?
+        chmod 666 tty$name? pty$name?
+       ;;
+
+local)
+       umask 0
+       sh $0.local all
+       umask 77
+       ;;
+
+*)
+       echo $i: unknown device
+       ;;
+
+esac
+done
diff -r 99dac83fb1cb -r c1a26ffac40c etc/etc.arm26/disktab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/etc.arm26/disktab     Tue May 09 21:55:44 2000 +0000
@@ -0,0 +1,97 @@
+# $NetBSD: disktab,v 1.1 2000/05/09 21:55:44 bjh21 Exp $
+#
+# Disk geometry and partition layout tables. 
+# Key:
+#      dt      controller type
+#      ty      type of disk (fixed, removeable, simulated)
+#      d[0-4]  drive-type-dependent parameters
+#      ns      #sectors/track
+#      nt      #tracks/cylinder
+#      nc      #cylinders/disk
+#      sc      #sectors/cylinder, ns*nt default
+#      su      #sectors/unit, sc*nc default
+#      se      sector size, DEV_BSIZE default
+#      rm      rpm, 3600 default
+#      sf      supports bad144-style bad sector forwarding
+#      sk      sector skew per track, default 0
+#      cs      sector skew per cylinder, default 0
+#      hs      headswitch time, default 0
+#      ts      one-cylinder seek time, default 0
+#      il      sector interleave (n:1), 1 default
+#      bs      boot block size, default BBSIZE
+#      sb      superblock size, default SBSIZE
+#      o[a-h]  partition offsets in sectors
+#      p[a-h]  partition sizes in sectors
+#      b[a-h]  partition block sizes in bytes
+#      f[a-h]  partition fragment sizes in bytes
+#      t[a-h]  partition types (filesystem, swap, etc)
+#
+# All partition sizes reserve space for bad sector tables.



Home | Main Index | Thread Index | Old Index