Browse Source

Add _DEV entry for spif and correct spif to only create 1 bpp and 8 tty

OPENBSD_3_1
jason 23 years ago
parent
commit
ae9f849958
3 changed files with 9 additions and 5 deletions
  1. +2
    -1
      src/etc/MAKEDEV.mi
  2. +3
    -2
      src/etc/etc.sparc/MAKEDEV.md
  3. +4
    -2
      src/etc/etc.sparc64/MAKEDEV.md

+ 2
- 1
src/etc/MAKEDEV.mi View File

@ -1,6 +1,6 @@
include(MAKEDEV.sub)dnl include(MAKEDEV.sub)dnl
dnl dnl
vers(a,{-$OpenBSD: MAKEDEV.mi,v 1.16 2002/01/08 06:00:15 todd Exp $-})dnl
vers(a,{-$OpenBSD: MAKEDEV.mi,v 1.17 2002/01/12 21:14:57 jason Exp $-})dnl
dnl dnl
divert(1)dnl divert(1)dnl
{-#-} {-#-}
@ -595,6 +595,7 @@ _mkdev(rnd,*random,{-n=0
__devitem(joy,joy*,joystick driver)dnl __devitem(joy,joy*,joystick driver)dnl
_mcdev(joy,joy*,joy,{-major_joy_c-},666)dnl _mcdev(joy,joy*,joy,{-major_joy_c-},666)dnl
__devitem(mag,magma*,magma card (makes 16 tty and 2 bpp))dnl __devitem(mag,magma*,magma card (makes 16 tty and 2 bpp))dnl
__devitem(spif,spif*,spif card (makes 8 tty and 1 bpp))dnl
__devitem(xfs,xfs*,XFS filesystem devices)dnl __devitem(xfs,xfs*,XFS filesystem devices)dnl
_mcdev(xfs,xfs*,xfs,{-major_xfs_c-},600)dnl _mcdev(xfs,xfs*,xfs,{-major_xfs_c-},600)dnl
__devitem(hil,hil,HIL input devices)dnl __devitem(hil,hil,HIL input devices)dnl


+ 3
- 2
src/etc/etc.sparc/MAKEDEV.md View File

@ -1,5 +1,5 @@
vers(__file__, vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.2 2002/01/12 21:02:03 jason Exp $-},
{-$OpenBSD: MAKEDEV.md,v 1.3 2002/01/12 21:14:57 jason Exp $-},
etc.MACHINE)dnl etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
@ -68,6 +68,7 @@ _DEV(lkm,112)
_DEV(tun,111) _DEV(tun,111)
_DEV(rnd,119) _DEV(rnd,119)
_DEV(mag) _DEV(mag)
_DEV(spif)
_DEV(xfs,51) _DEV(xfs,51)
_DEV(raid,123,25) _DEV(raid,123,25)
_DEV(fdesc,24) _DEV(fdesc,24)
@ -122,7 +123,7 @@ spif*)
esac esac
offset=Mult($U,64) offset=Mult($U,64)
n=0 n=0
while [ $n -lt 16 ]
while [ $n -lt 8 ]
do do
name=${nam}`hex $n` name=${nam}`hex $n`
M tty$name c 102 Add($offset,$n) M tty$name c 102 Add($offset,$n)


+ 4
- 2
src/etc/etc.sparc64/MAKEDEV.md View File

@ -1,5 +1,5 @@
vers(__file__, vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.5 2002/01/12 21:08:59 jason Exp $-},
{-$OpenBSD: MAKEDEV.md,v 1.6 2002/01/12 21:14:57 jason Exp $-},
etc.MACHINE)dnl etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
@ -87,6 +87,8 @@ _DEV(bpf,105)
_DEV(tun,111) _DEV(tun,111)
_DEV(lkm,112) _DEV(lkm,112)
_DEV(rnd,119) _DEV(rnd,119)
_DEV(mag)
_DEV(spif)
_DEV(cry,75) _DEV(cry,75)
dnl dnl
divert(7)dnl divert(7)dnl
@ -144,7 +146,7 @@ dnl *) echo "bad unit for $i: $U"; exit 127;;
dnl esac dnl esac
dnl offset=Mult($U,64) dnl offset=Mult($U,64)
dnl n=0 dnl n=0
dnl while [ $n -lt 16 ]
dnl while [ $n -lt 8 ]
dnl do dnl do
dnl name=${nam}`hex $n` dnl name=${nam}`hex $n`
dnl M tty$name c 102 Add($offset,$n) dnl M tty$name c 102 Add($offset,$n)


Loading…
Cancel
Save