Source-Changes-HG archive

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

[src/trunk]: src add SES device



details:   https://anonhg.NetBSD.org/src/rev/464a274a6017
branches:  trunk
changeset: 480806:464a274a6017
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Thu Jan 20 17:13:27 2000 +0000

description:
add SES device

diffstat:

 etc/etc.alpha/MAKEDEV       |  6 ++++--
 sys/arch/alpha/alpha/conf.c |  7 +++++--
 sys/arch/alpha/conf/ALPHA   |  3 ++-
 3 files changed, 11 insertions(+), 5 deletions(-)

diffs (83 lines):

diff -r 1a7f2b33f882 -r 464a274a6017 etc/etc.alpha/MAKEDEV
--- a/etc/etc.alpha/MAKEDEV     Thu Jan 20 17:12:34 2000 +0000
+++ b/etc/etc.alpha/MAKEDEV     Thu Jan 20 17:13:27 2000 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV,v 1.54 1999/12/18 03:09:44 tsutsui Exp $
+#      $NetBSD: MAKEDEV,v 1.55 2000/01/20 17:13:27 mjacob Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -95,6 +95,7 @@
 #      random  Random number generator
 #      satlink* PlanetConnect satellite receiver driver
 #      scsibus* SCSI busses, see scsictl(8), scsi(8)
+#      ses*    SES/SAF-TE SCSI Devices
 #      speaker PC speaker (IBM BASIC playstring emulation)
 #      ss*     SCSI scanner
 #      tun*    network tunnel driver
@@ -365,10 +366,11 @@
                er${name}${unit} enr${name}${unit}
        ;;
 
-ch*|uk*)
+ses*|ch*|uk*)
        case $i in
        ch*) name=ch;   unit=${i#ch};   chr=14;;
        uk*) name=uk;   unit=${i#uk};   chr=33;;
+       ses*) name=ses; unit=${i#ses};  chr=58;;
        esac
        rm -f $name$unit
        mknod $name$unit        c $chr $unit
diff -r 1a7f2b33f882 -r 464a274a6017 sys/arch/alpha/alpha/conf.c
--- a/sys/arch/alpha/alpha/conf.c       Thu Jan 20 17:12:34 2000 +0000
+++ b/sys/arch/alpha/alpha/conf.c       Thu Jan 20 17:13:27 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.41 1999/08/16 22:27:12 augustss Exp $ */
+/* $NetBSD: conf.c,v 1.42 2000/01/20 17:15:20 mjacob Exp $ */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.41 1999/08/16 22:27:12 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.42 2000/01/20 17:15:20 mjacob Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -142,6 +142,8 @@
 cdev_decl(lpt);
 cdev_decl(md);
 cdev_decl(raid);
+#include "ses.h"
+cdev_decl(ses);
 #include "ss.h"
 cdev_decl(ss);
 #include "uk.h"
@@ -319,6 +321,7 @@
 #endif
        cdev_mouse_init(NWSMUX, wsmux), /* 56: ws multiplexor */
        cdev_tty_init(NUMODEM, umodem), /* 57: USB modem */
+       cdev_ses_init(NSES,ses),        /* 58: SCSI SES/SAF-TE */
        
 };
 int    nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);
diff -r 1a7f2b33f882 -r 464a274a6017 sys/arch/alpha/conf/ALPHA
--- a/sys/arch/alpha/conf/ALPHA Thu Jan 20 17:12:34 2000 +0000
+++ b/sys/arch/alpha/conf/ALPHA Thu Jan 20 17:13:27 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALPHA,v 1.111 2000/01/19 13:53:47 cjs Exp $
+# $NetBSD: ALPHA,v 1.112 2000/01/20 17:14:42 mjacob Exp $
 #
 # Alpha kernel with all the options you'd want, and more.
 
@@ -343,6 +343,7 @@
 ch*    at      scsibus? target ? lun ?         # SCSI autochangers
 sd*    at      scsibus? target ? lun ?         # SCSI disk drives
 se*    at      scsibus? target ? lun ?         # Cabletron SCSI<->Ethernet
+ses*   at      scsibus? target ? lun ?         # SCSI SES/SAF-TE
 ss*    at      scsibus? target ? lun ?         # SCSI scanners
 st*    at      scsibus? target ? lun ?         # SCSI tape drives
 uk*    at      scsibus? target ? lun ?         # SCSI unknown



Home | Main Index | Thread Index | Old Index