diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-01-12 21:14:58 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-01-12 21:14:58 +0000 |
commit | 1a35affa67be7c4c3aab37d7ec202ab1a5bb45fa (patch) | |
tree | 03d3a8a9c117d913207f9cfc8c7b99644bc1d1a0 | |
parent | 6d28e11ab6efe9a83f8bac44bb8cd1468d8b2587 (diff) |
Add _DEV entry for spif and correct spif to only create 1 bpp and 8 tty
-rw-r--r-- | etc/MAKEDEV.mi | 3 | ||||
-rw-r--r-- | etc/etc.sparc/MAKEDEV.md | 5 | ||||
-rw-r--r-- | etc/etc.sparc64/MAKEDEV.md | 6 |
3 files changed, 9 insertions, 5 deletions
diff --git a/etc/MAKEDEV.mi b/etc/MAKEDEV.mi index 84bee463052..230eaabe52e 100644 --- a/etc/MAKEDEV.mi +++ b/etc/MAKEDEV.mi @@ -1,6 +1,6 @@ include(MAKEDEV.sub)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 divert(1)dnl {-#-} @@ -595,6 +595,7 @@ _mkdev(rnd,*random,{-n=0 __devitem(joy,joy*,joystick driver)dnl _mcdev(joy,joy*,joy,{-major_joy_c-},666)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 _mcdev(xfs,xfs*,xfs,{-major_xfs_c-},600)dnl __devitem(hil,hil,HIL input devices)dnl diff --git a/etc/etc.sparc/MAKEDEV.md b/etc/etc.sparc/MAKEDEV.md index 71132b5c8a6..0b749c25744 100644 --- a/etc/etc.sparc/MAKEDEV.md +++ b/etc/etc.sparc/MAKEDEV.md @@ -1,5 +1,5 @@ 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 dnl dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> @@ -68,6 +68,7 @@ _DEV(lkm,112) _DEV(tun,111) _DEV(rnd,119) _DEV(mag) +_DEV(spif) _DEV(xfs,51) _DEV(raid,123,25) _DEV(fdesc,24) @@ -122,7 +123,7 @@ spif*) esac offset=Mult($U,64) n=0 - while [ $n -lt 16 ] + while [ $n -lt 8 ] do name=${nam}`hex $n` M tty$name c 102 Add($offset,$n) diff --git a/etc/etc.sparc64/MAKEDEV.md b/etc/etc.sparc64/MAKEDEV.md index e380107396f..6d808bc2b9a 100644 --- a/etc/etc.sparc64/MAKEDEV.md +++ b/etc/etc.sparc64/MAKEDEV.md @@ -1,5 +1,5 @@ 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 dnl dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> @@ -87,6 +87,8 @@ _DEV(bpf,105) _DEV(tun,111) _DEV(lkm,112) _DEV(rnd,119) +_DEV(mag) +_DEV(spif) _DEV(cry,75) dnl divert(7)dnl @@ -144,7 +146,7 @@ dnl *) echo "bad unit for $i: $U"; exit 127;; dnl esac dnl offset=Mult($U,64) dnl n=0 -dnl while [ $n -lt 16 ] +dnl while [ $n -lt 8 ] dnl do dnl name=${nam}`hex $n` dnl M tty$name c 102 Add($offset,$n) |