Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.pmax Add code for creating pxN. px{0-2} are created ...



details:   https://anonhg.NetBSD.org/src/rev/905e798cd580
branches:  trunk
changeset: 472259:905e798cd580
user:      ad <ad%NetBSD.org@localhost>
date:      Mon Apr 26 04:46:46 1999 +0000

description:
Add code for creating pxN. px{0-2} are created as part of std.

diffstat:

 etc/etc.pmax/MAKEDEV |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r 59a6a9e2f19e -r 905e798cd580 etc/etc.pmax/MAKEDEV
--- a/etc/etc.pmax/MAKEDEV      Mon Apr 26 04:42:10 1999 +0000
+++ b/etc/etc.pmax/MAKEDEV      Mon Apr 26 04:46:46 1999 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.28 1999/03/26 04:37:30 mrg Exp $
+#      $NetBSD: MAKEDEV,v 1.29 1999/04/26 04:46:46 ad Exp $
 #
 #      from: @(#)MAKEDEV       8.1 (Berkeley) 6/9/93
 #
@@ -33,13 +33,13 @@
 # Platform-specific devices:
 #      NOTE: /dev/mouse should be a link to one of these for X windows.
 #      fb*     generic framebuffer pseudo-device
+#      px*     PixelStamp Xserver access 
 #
 # The following names are reserved for future use:
 #      pm*     raw interface to PMAX graphics devices
 #      cfb*    raw interface to turbochannel PMAG-BA color frame buffer
 #      xcfb*   raw interface to maxine graphics devices
 #      mfb*    raw interface to mono graphics devices
-#      px*     raw interface to i860-accelerated framebuffers
 #      scsibus*, sd*, st*, cd*, ss*, uk*  -- MI scsi devices
 #      fdc*    Baseboard 2.88 floppy disk on Personal DECstations
 #      audio*  phone-quality audio on Personal  DECstations
@@ -59,6 +59,7 @@
        sh $0 tun0 tun1 tun2 tun3
        sh $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
        sh $0 fb0 fb1 fb2
+       sh $0 px0 px1 px2
        sh $0 mouse
        sh $0 ipl random lkm
        sh $0 local
@@ -229,6 +230,13 @@
        chmod 666 fb$unit
        ;;
 
+px*)
+       unit=${i#px}
+       rm -f px$unit
+       mknod px$unit c 98 $unit
+       chmod 666 px$unit
+       ;;
+
 mouse)
        rm -f mouse
        ln -s fb0 mouse



Home | Main Index | Thread Index | Old Index