Source-Changes-HG archive

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

[src/trunk]: src/sys/arch add SES device (unused #4)



details:   https://anonhg.NetBSD.org/src/rev/20e16c59cdaf
branches:  trunk
changeset: 504350:20e16c59cdaf
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Wed Feb 28 00:06:28 2001 +0000

description:
add SES device (unused #4)

diffstat:

 sys/arch/sparc/sparc/conf.c     |  6 ++++--
 sys/arch/sparc64/sparc64/conf.c |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (54 lines):

diff -r e51e7091bc06 -r 20e16c59cdaf sys/arch/sparc/sparc/conf.c
--- a/sys/arch/sparc/sparc/conf.c       Tue Feb 27 23:57:30 2001 +0000
+++ b/sys/arch/sparc/sparc/conf.c       Wed Feb 28 00:06:28 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.66 2001/01/14 11:17:30 martin Exp $ */
+/*     $NetBSD: conf.c,v 1.67 2001/02/28 00:06:48 mjacob Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -97,6 +97,8 @@
 #include "ipfilter.h"
 #include "rnd.h"
 #include "scsibus.h"
+#include "ses.h"
+cdev_decl(ses);
 
 #include "vcoda.h"
 cdev_decl(vc_nb_);
@@ -184,7 +186,7 @@
        cdev_tty_init(1,kd),            /* 1: PROM-based console (internal) */
        cdev_ctty_init(1,ctty),         /* 2: controlling terminal */
        cdev_mm_init(1,mm),             /* 3: /dev/{null,mem,kmem,...} */
-       cdev_notdef(),                  /* 4 */
+       cdev_ses_init(NSES,ses),        /* 4: SCSI SES/SAF-TE */
        cdev_notdef(),                  /* 5: tapemaster tape */
        cdev_notdef(),                  /* 6: systech/versatec */
        cdev_swap_init(1,sw),           /* 7: /dev/drum (swap pseudo-device) */
diff -r e51e7091bc06 -r 20e16c59cdaf sys/arch/sparc64/sparc64/conf.c
--- a/sys/arch/sparc64/sparc64/conf.c   Tue Feb 27 23:57:30 2001 +0000
+++ b/sys/arch/sparc64/sparc64/conf.c   Wed Feb 28 00:06:28 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.14 2001/02/02 07:39:28 mrg Exp $ */
+/*     $NetBSD: conf.c,v 1.15 2001/02/28 00:06:28 mjacob Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -97,6 +97,8 @@
 #include "ipfilter.h"
 #include "rnd.h"
 #include "scsibus.h"
+#include "ses.h"
+cdev_decl(ses);
 
 /* open, close, ioctl */
 #define cdev_i4bctl_init(c,n) { \
@@ -181,7 +183,7 @@
        cdev_tty_init(NKBD+NSUNKBD,kd), /* 1: Sun keyboard/display */
        cdev_ctty_init(1,ctty),         /* 2: controlling terminal */
        cdev_mm_init(1,mm),             /* 3: /dev/{null,mem,kmem,...} */
-       cdev_notdef(),                  /* 4 */
+       cdev_ses_init(NSES,ses),        /* 4: SCSI SES/SAF-TE */
        cdev_notdef(),                  /* 5: tapemaster tape */
        cdev_notdef(),                  /* 6: systech/versatec */
        cdev_swap_init(1,sw),           /* 7: /dev/drum (swap pseudo-device) */



Home | Main Index | Thread Index | Old Index